us-census-bureau-data-api-mcp
Verified Safeby uscensusbureau
Overview
This MCP server provides a standardized client-server interface to query and interact with various U.S. Census Bureau data APIs, allowing AI assistants to access demographic and geographic information.
Installation
docker compose --profile prod up --build -d && npm run seed:prodEnvironment Variables
- CENSUS_API_KEY
- DATABASE_URL
Security Notes
The server uses environment variables for `CENSUS_API_KEY` and `DATABASE_URL`, which is good practice. However, `DATABASE_URL` has a hardcoded default (`postgresql://mcp_user:mcp_pass@localhost:5432/mcp_db`) that is a critical security risk if not overridden in a production environment. Additionally, the `SeedRunner`'s `fetchFromApi` method logs the full API URL, which includes the `CENSUS_API_KEY` as a query parameter, making it visible in logs if not properly redacted.
Similar Servers
gis-mcp
Enables Large Language Models (LLMs) to perform comprehensive geospatial analysis, transformations, and data operations using popular GIS libraries.
boilerplate-mcp-server
This boilerplate provides a production-ready foundation for developing custom Model Context Protocol (MCP) servers in TypeScript to connect AI assistants with external APIs and data sources, exemplified by an IP geolocation lookup tool.
metabase-mcp-server
Provides AI assistants with programmatic access to Metabase's analytics platform, enabling data querying, dashboard management, and content organization.
openapi-mcp-server
Dynamically converts OpenAPI specifications into Model Context Protocol (MCP) tools, enabling AI assistants to interact with defined APIs by mapping AI calls to HTTP requests.