Basic information
About MCP Census Server
# MCP Census Server
MCP Census Server is a MCP server in the Other category listed in the AddMCP.net directory, published by cclarke411. Supported transport: stdio. Runtime: node. Source code is hosted on github.com. Related topics: data-access, json-rpc, mcp-census-server.
MCP Census Server config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
MCP Census Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Census Server?
MCP Census Server is a Model Context Protocol (MCP) server that provides access to US Census Bureau data. It implements JSON-RPC 2.0 over HTTP, uses API key authentication, and offers a single tool (census/get) for retrieving census data. The server is designed for developers who want to integrate Census Bureau data into MCP-compatible applications or AI agents.
How to use MCP Census Server?
Clone the repository, install dependencies (pip install -r requirements.txt), set your Census API key and server API key in a .env file, then start the server with uvicorn app:app --host 0.0.0.0 --port 8000. Send JSON-RPC POST requests to http://localhost:8000/ with the X-API-Key header. The server supports the MCP methods initialize, notifications/initialized, tools/list, and tools/call.
Key features of MCP Census Server
- JSON-RPC 2.0 (single and batch requests)
- Pydantic models for request/response validation
- Caching of Census API responses (TTL 5 minutes)
- API key authentication via
X-API-Keyheader - Health check endpoint (
/health) - Interactive API docs (Swagger UI at
/docs)
Use cases of MCP Census Server
- Programmatic retrieval of US Census Bureau data
- Integrate census data into MCP-compatible AI agents or chatbots
- Build client applications (e.g., the included Next.js MCP client) that query Census datasets
- Serve as a backend for data analysis workflows requiring recent Census statistics
Frequently asked questions
1 What Census data endpoints are available?
The server exposes the census/get tool. It retrieves data from the US Census Bureau API, but the README does not list specific Census endpoints or datasets.
2 What authentication is required?
Requests must include the X-API-Key header with your server API key (set in SERVER_API_KEY environment variable). Additionally, a valid Census API key must be set in the CENSUS_API_KEY environment variable.
3 What are the runtime requirements?
Python 3, the dependencies in requirements.txt, and a .env file with the required API keys. The server runs via uvicorn.
4 Does the server cache responses?
Yes, Census API responses are cached with a time-to-live (TTL) of 5 minutes.
5 Is there a client application included?
Yes, the repository contains a Next.js-based MCP client in the client/ directory that can interact with this server.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In