Back to Browse

Us Gov Open Data MCP Server

by Lzinga
Developer ToolsModerate6.9MCP RegistryLocal
Free

Server data from the Official MCP Registry

Open data from 40+ U.S. government APIs: economy, spending, Congress, health, energy, disasters

About

Open data from 40+ U.S. government APIs: economy, spending, Congress, health, energy, disasters

Security Report

6.9
Moderate6.9Moderate Risk

This is a read-only US Government open data MCP server whose tools query official government APIs (Congress.gov, GovInfo, FRED, etc.) with API keys supplied via environment variables, and its permissions align with its purpose. The only partial view is the truncated congress/tools.ts file, and no concerning exfiltration, shell execution, or hardcoded secrets were visible in the provided code. Minor observations relate to the docs toolchain's known transitive vulnerabilities and the optional HTTP transport with bearer-token auth, which should be reviewed but do not significantly affect the score. Supply chain analysis found 2 known vulnerabilities in dependencies (0 critical, 1 high severity). Package verification found 1 issue.

4 files analyzed · 7 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

What You'll Need

Set these up before or after installing:

api.data.gov key, shared by Congress, FEC, GovInfo, FBI, NREL, Regulations.gov, College Scorecard, USDA FoodData, openFDA and USGS WaterRequired

Environment variable: DATA_GOV_API_KEY

FRED (Federal Reserve Economic Data) API keyRequired

Environment variable: FRED_API_KEY

Census Bureau API keyRequired

Environment variable: CENSUS_API_KEY

Bureau of Labor Statistics API key (optional; raises rate limits)Required

Environment variable: BLS_API_KEY

Bureau of Economic Analysis API keyRequired

Environment variable: BEA_API_KEY

Energy Information Administration API keyRequired

Environment variable: EIA_API_KEY

NOAA Climate Data Online token (station climate data works without it)Required

Environment variable: NOAA_API_KEY

USDA NASS Quick Stats API keyRequired

Environment variable: USDA_NASS_API_KEY

HUD User API tokenRequired

Environment variable: HUD_USER_TOKEN

Department of Labor API keyRequired

Environment variable: DOL_API_KEY

USPTO Open Data Portal API keyRequired

Environment variable: USPTO_API_KEY

Senate Lobbying Disclosure (lda.gov) API key (optional; raises rate limits)Required

Environment variable: LDA_API_KEY

EPA Air Quality System API key (used with AQS_EMAIL)Required

Environment variable: AQS_API_KEY

Email address registered for the EPA AQS API keyOptional

Environment variable: AQS_EMAIL

Your email for the SEC User-Agent; SEC asks automated tools for a contact and may block requests without oneOptional

Environment variable: SEC_CONTACT_EMAIL

User-Agent for the National Weather Service API, with your contact details (a default is sent otherwise)Optional

Environment variable: NWS_USER_AGENT

Comma-separated modules to load (default: all), e.g. 'fred,bls,treasury'Optional

Environment variable: MODULES

Comma-separated domains to load, e.g. 'economy,health' (added to MODULES)Optional

Environment variable: DOMAINS

Set to 1 to skip modules whose required API key is not setOptional

Environment variable: HIDE_UNCONFIGURED

'full' (every tool) or 'discovery' (find_tools and call_tool only)Optional

Environment variable: TOOL_MODE

Largest tool result in bytes before rows are trimmed (default 150000)Optional

Environment variable: MAX_RESPONSE_BYTES

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-lzinga-us-gov-open-data-mcp": {
      "env": {
        "DOMAINS": "your-domains-here",
        "MODULES": "your-modules-here",
        "AQS_EMAIL": "your-aqs-email-here",
        "TOOL_MODE": "your-tool-mode-here",
        "AQS_API_KEY": "your-aqs-api-key-here",
        "BEA_API_KEY": "your-bea-api-key-here",
        "BLS_API_KEY": "your-bls-api-key-here",
        "DOL_API_KEY": "your-dol-api-key-here",
        "EIA_API_KEY": "your-eia-api-key-here",
        "LDA_API_KEY": "your-lda-api-key-here",
        "FRED_API_KEY": "your-fred-api-key-here",
        "NOAA_API_KEY": "your-noaa-api-key-here",
        "USPTO_API_KEY": "your-uspto-api-key-here",
        "CENSUS_API_KEY": "your-census-api-key-here",
        "HUD_USER_TOKEN": "your-hud-user-token-here",
        "NWS_USER_AGENT": "your-nws-user-agent-here",
        "DATA_GOV_API_KEY": "your-data-gov-api-key-here",
        "HIDE_UNCONFIGURED": "your-hide-unconfigured-here",
        "SEC_CONTACT_EMAIL": "your-sec-contact-email-here",
        "USDA_NASS_API_KEY": "your-usda-nass-api-key-here",
        "MAX_RESPONSE_BYTES": "your-max-response-bytes-here"
      },
      "args": [
        "-y",
        "us-gov-open-data-mcp"
      ],
      "command": "npx"
    }
  }
}

Reviews

No reviews yet

Be the first to review this server!