mcp-census

by aaronbrezel

232 downloads
Not rated
GitHub

About

Proof of concept for an MCP Server delivering Census Bureau data for AI Agent interoperability

Details

Author
aaronbrezel
Downloads
232
Categories
Other

- Delivers 2020 decennial Census Bureau data
- Integrates with Gemini API for AI agent capabilities
- Uses the Model Context Protocol (MCP)
- Includes a sample agent for proof-of-concept use
- Operates with the uv Python package manager

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name mcp-census
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

The server requires two API keys: CENSUS_API_KEY (request at https://api.census.gov/data/key_signup.html) and GEMINI_API_KEY (request at https://ai.google.dev/gemini-api/docs/api-key). To run the MCP server, execute uv run python mcp_server/app.py. An accompanying agent can be run with uv run python app.py.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp-census": {
            "mcp-census": {
                "command": "uv",
                "args": [
                    "run",
                    "python",
                    "mcp_server/app.py"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-census": {
        "command": "uv",
        "args": [
            "run",
            "python",
            "mcp_server/app.py"
        ]
    }
}

mcp-census

Proof of concept for an MCP Server delivering Census Bureau 2020 decennial data for AI Agent interoperability

API Key

CENSUS_API_KEY=<your key here>
GEMINI_API_KEY=<your key here>

To request a census API key, visit https://api.census.gov/data/key_signup.html
To request a gemini API key, visit https://ai.google.dev/gemini-api/docs/api-key

Run the MCP server

uv run python mcp_server/app.py

Run the agent

uv run python app.py

Agent architecture

MCP Census

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.