MCP Census Server

MCP Census Server

mcp-census-server-cclarke411•bykaman1

A Model Context Protocol server that provides access to US Census Bureau data via JSON-RPC over HTTP.

License: Not specified•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Implements core MCP methods including initialize, notifications/initialized, tools/list, and tools/call.
  • •Supports JSON-RPC 2.0 single and batch requests with Pydantic-based validation and caching of Census API responses.
  • •Secures access with API key authentication via the X-API-Key header and offers a health check endpoint.

BEST FOR

  • •Applications that need to query US Census Bureau data through an MCP tool interface.
  • •MCP clients that can connect to a server over HTTP with JSON-RPC 2.0.

ABOUT MCP-CENSUS-SERVER-CCLARKE411

MCP Census Server is cataloged as an MCP server attributed to kaman1. A Model Context Protocol server that provides access to US Census Bureau data via JSON-RPC over HTTP. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP Census Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which tool does the server expose?

It exposes a single tool called census/get.

How are requests authenticated?

Requests are authenticated with an API key supplied in the X-API-Key header.

Are Census API responses cached?

Yes, Census API responses are cached with a TTL of 5 minutes.

Upstream README

View this exact version on GitHub

README.md · 4b1f22f59d5c · Fetched 2026-11-13 11:06:55 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

MCP Census Server

A robust Model Context Protocol (MCP) server for accessing US Census Bureau data via JSON-RPC over HTTP.

Features

  • JSON-RPC 2.0 (single and batch requests)
  • Pydantic models for request/response validation
  • Caching of Census API responses (TTL 5 minutes)
  • Structured logging (via Python logging)
  • API key authentication via X-API-Key header
  • Health check endpoint (/health)
  • Interactive API docs (Swagger UI available at /docs)
  • MCP methods:
    • initialize: negotiate protocol version and capabilities
    • notifications/initialized: client ready notification
    • tools/list: list available tools (census/get)
    • tools/call: invoke census/get to retrieve Census Bureau data

Quickstart

  1. Clone the repository and enter the directory:
    git clone https://github.com/kaman1/mcp_census_server.git
    cd mcp_census_server
    
  2. Copy the environment template and set your keys:
    cp .env.example .env
    # Edit .env:
    # CENSUS_API_KEY=<your_census_api_key>
    # SERVER_API_KEY=<your_mcp_server_secret_key>
    
  3. Install dependencies:
    pip install -r requirements.txt
    
  4. Start the server:
    uvicorn app:app --host 0.0.0.0 --port 8000 --reload
    
  5. Send JSON-RPC requests to http://localhost:8000/ with header X-API-Key: <SERVER_API_KEY>.

Example tools/list call:

curl -X POST http://localhost:8000/ \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $SERVER_API_KEY" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Development

  • Tests: pytest
  • Formatting: black .
  • Imports: isort .
  • Linting: flake8 .
  • CI pipeline configured in .github/workflows/ci.yml

Documentation

  • Architecture: docs/architecture.md
  • Usage Examples: docs/usage.md
  • Authentication: docs/authentication.md
  • Styled Documentation (MDX + Mintlify):
    npm install
    npm run serve:docs
    

Hosted Documentation

You can publish these docs via GitHub Pages:

  1. In your GitHub repository, go to Settings > Pages.
  2. Under Source, choose the main branch and /docs folder.
  3. Click Save.

The docs will be available at:

https://<username>.github.io/mcp_census_server/

You can add this URL in the repository About section as the project website.

Client Application

The client/ directory contains a Next.js-based MCP client that can interact with this server.

  1. Change into the client folder:
    cd client
    
  2. Copy the example environment file and fill in your keys and server URL:
    cp .env.example .env.local
    # Set OPENAI_API_KEY, MCP_SERVER_URL (e.g. https://your-server), SERVER_API_KEY
    
  3. Install dependencies and start the development server:
    npm install
    npm run dev
    
  4. Open http://localhost:3000 to use the client UI.

Quick Start Script

You can configure environments and launch both server and client in one step:

chmod +x start.sh
./start.sh

This will prompt for all required keys and run the MCP server and client concurrently.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP Census Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-census-server-cclarke411)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage