
U.S. Government Open Data MCP Server
by lzingaio.github.lzinga/us-gov-open-data-mcpv2026.10.8
Open data from 40+ U.S. government APIs: economy, spending, Congress, health, energy, disasters
context tax
pending
security
97/100
cold start
pending
freshness
Active33d ago
Our reading of U.S. Government Open Data, from the data
U.S. Government Open Data is a science & research MCP server from lzinga, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
Maintenance is active: the last public signal was 33 days ago (2026-10-08). For comparison, 72% of science & research servers are active or maintained.
With 112 GitHub stars it ranks #42 of 1,435 science & research servers we index.
It runs locally on your machine over stdio and needs 13 secrets (DATA_GOV_API_KEY, FRED_API_KEY, CENSUS_API_KEY, …); use a scoped, least-privilege key.
Install U.S. Government Open Data MCP server
Install in Claude Code
claude mcp add us-gov-open-data -e DATA_GOV_API_KEY='<data-gov-api-key>' -e FRED_API_KEY='<fred-api-key>' -e CENSUS_API_KEY='<census-api-key>' -e BLS_API_KEY='<bls-api-key>' -e BEA_API_KEY='<bea-api-key>' -e EIA_API_KEY='<eia-api-key>' -e NOAA_API_KEY='<noaa-api-key>' -e USDA_NASS_API_KEY='<usda-nass-api-key>' -e HUD_USER_TOKEN='<hud-user-token>' -e DOL_API_KEY='<dol-api-key>' -e USPTO_API_KEY='<uspto-api-key>' -e LDA_API_KEY='<lda-api-key>' -e AQS_API_KEY='<aqs-api-key>' -- npx -y us-gov-open-data-mcpInstall in Cursor
{
"mcpServers": {
"us-gov-open-data": {
"command": "npx",
"args": [
"-y",
"us-gov-open-data-mcp"
],
"env": {
"DATA_GOV_API_KEY": "<data-gov-api-key>",
"FRED_API_KEY": "<fred-api-key>",
"CENSUS_API_KEY": "<census-api-key>",
"BLS_API_KEY": "<bls-api-key>",
"BEA_API_KEY": "<bea-api-key>",
"EIA_API_KEY": "<eia-api-key>",
"NOAA_API_KEY": "<noaa-api-key>",
"USDA_NASS_API_KEY": "<usda-nass-api-key>",
"HUD_USER_TOKEN": "<hud-user-token>",
"DOL_API_KEY": "<dol-api-key>",
"USPTO_API_KEY": "<uspto-api-key>",
"LDA_API_KEY": "<lda-api-key>",
"AQS_API_KEY": "<aqs-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"us-gov-open-data": {
"command": "npx",
"args": [
"-y",
"us-gov-open-data-mcp"
],
"env": {
"DATA_GOV_API_KEY": "<data-gov-api-key>",
"FRED_API_KEY": "<fred-api-key>",
"CENSUS_API_KEY": "<census-api-key>",
"BLS_API_KEY": "<bls-api-key>",
"BEA_API_KEY": "<bea-api-key>",
"EIA_API_KEY": "<eia-api-key>",
"NOAA_API_KEY": "<noaa-api-key>",
"USDA_NASS_API_KEY": "<usda-nass-api-key>",
"HUD_USER_TOKEN": "<hud-user-token>",
"DOL_API_KEY": "<dol-api-key>",
"USPTO_API_KEY": "<uspto-api-key>",
"LDA_API_KEY": "<lda-api-key>",
"AQS_API_KEY": "<aqs-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"us-gov-open-data": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"us-gov-open-data-mcp"
],
"env": {
"DATA_GOV_API_KEY": "<data-gov-api-key>",
"FRED_API_KEY": "<fred-api-key>",
"CENSUS_API_KEY": "<census-api-key>",
"BLS_API_KEY": "<bls-api-key>",
"BEA_API_KEY": "<bea-api-key>",
"EIA_API_KEY": "<eia-api-key>",
"NOAA_API_KEY": "<noaa-api-key>",
"USDA_NASS_API_KEY": "<usda-nass-api-key>",
"HUD_USER_TOKEN": "<hud-user-token>",
"DOL_API_KEY": "<dol-api-key>",
"USPTO_API_KEY": "<uspto-api-key>",
"LDA_API_KEY": "<lda-api-key>",
"AQS_API_KEY": "<aqs-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"us-gov-open-data": {
"command": "npx",
"args": [
"-y",
"us-gov-open-data-mcp"
],
"env": {
"DATA_GOV_API_KEY": "<data-gov-api-key>",
"FRED_API_KEY": "<fred-api-key>",
"CENSUS_API_KEY": "<census-api-key>",
"BLS_API_KEY": "<bls-api-key>",
"BEA_API_KEY": "<bea-api-key>",
"EIA_API_KEY": "<eia-api-key>",
"NOAA_API_KEY": "<noaa-api-key>",
"USDA_NASS_API_KEY": "<usda-nass-api-key>",
"HUD_USER_TOKEN": "<hud-user-token>",
"DOL_API_KEY": "<dol-api-key>",
"USPTO_API_KEY": "<uspto-api-key>",
"LDA_API_KEY": "<lda-api-key>",
"AQS_API_KEY": "<aqs-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test us-gov-open-data-mcp
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| DATA_GOV_API_KEY | — | yes | api.data.gov key, shared by Congress, FEC, GovInfo, FBI, NREL, Regulations.gov, College Scorecard, USDA FoodData, openFDA and USGS Water |
| FRED_API_KEY | — | yes | FRED (Federal Reserve Economic Data) API key |
| CENSUS_API_KEY | — | yes | Census Bureau API key |
| BLS_API_KEY | — | yes | Bureau of Labor Statistics API key (optional; raises rate limits) |
| BEA_API_KEY | — | yes | Bureau of Economic Analysis API key |
| EIA_API_KEY | — | yes | Energy Information Administration API key |
| NOAA_API_KEY | — | yes | NOAA Climate Data Online token (station climate data works without it) |
| USDA_NASS_API_KEY | — | yes | USDA NASS Quick Stats API key |
| HUD_USER_TOKEN | — | yes | HUD User API token |
| DOL_API_KEY | — | yes | Department of Labor API key |
| USPTO_API_KEY | — | yes | USPTO Open Data Portal API key |
| LDA_API_KEY | — | yes | Senate Lobbying Disclosure (lda.gov) API key (optional; raises rate limits) |
| AQS_API_KEY | — | yes | EPA Air Quality System API key (used with AQS_EMAIL) |
| AQS_EMAIL | — | — | Email address registered for the EPA AQS API key |
| SEC_CONTACT_EMAIL | — | — | Your email for the SEC User-Agent; SEC asks automated tools for a contact and may block requests without one |
| NWS_USER_AGENT | — | — | User-Agent for the National Weather Service API, with your contact details (a default is sent otherwise) |
| MODULES | — | — | Comma-separated modules to load (default: all), e.g. 'fred,bls,treasury' |
| DOMAINS | — | — | Comma-separated domains to load, e.g. 'economy,health' (added to MODULES) |
| HIDE_UNCONFIGURED | — | — | Set to 1 to skip modules whose required API key is not set |
| TOOL_MODE | — | — | 'full' (every tool) or 'discovery' (find_tools and call_tool only) |
| MAX_RESPONSE_BYTES | — | — | Largest tool result in bytes before rows are trimmed (default 150000) |
Security signals
97/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
- No security policy (SECURITY.md)-3
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ○Package metadata (install scripts, provenance) — pending
- ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 33d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-08 · 33d ago · GitHub
Latest release
2026-10-08 · 33d ago · GitHub · v2026.10.8
Package published
no data · npm/PyPI
Registry entry updated
2026-10-08 · 33d ago · official registry · v2026.10.8
How it compares in Science & Research
Against the most-starred science & research servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| U.S. Government Open Data (this) | 112 | — | not measured | Active | local |
| Wigolo | 5,486 | — | not measured | Active | local |
| Zotero | 5,460 | — | not measured | Active | local |
| Exa | 5,138 | 2 | 564 | Active | local + hosted |
| Postgres | 3,403 | — | not measured | Maintained | — |
| Arxiv | 3,224 | 19 | 3,728 | Active | local |
FAQ
›How do I install the U.S. Government Open Data MCP server in Claude Code?
Run: claude mcp add us-gov-open-data -e DATA_GOV_API_KEY='<data-gov-api-key>' -e FRED_API_KEY='<fred-api-key>' -e CENSUS_API_KEY='<census-api-key>' -e BLS_API_KEY='<bls-api-key>' -e BEA_API_KEY='<bea-api-key>' -e EIA_API_KEY='<eia-api-key>' -e NOAA_API_KEY='<noaa-api-key>' -e USDA_NASS_API_KEY='<usda-nass-api-key>' -e HUD_USER_TOKEN='<hud-user-token>' -e DOL_API_KEY='<dol-api-key>' -e USPTO_API_KEY='<uspto-api-key>' -e LDA_API_KEY='<lda-api-key>' -e AQS_API_KEY='<aqs-api-key>' -- npx -y us-gov-open-data-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does U.S. Government Open Data require an API key?
Yes. It expects DATA_GOV_API_KEY, FRED_API_KEY, CENSUS_API_KEY, BLS_API_KEY, BEA_API_KEY, EIA_API_KEY, NOAA_API_KEY, USDA_NASS_API_KEY, HUD_USER_TOKEN, DOL_API_KEY, USPTO_API_KEY, LDA_API_KEY, AQS_API_KEY, of which 13 are secrets.
›Can I use U.S. Government Open Data as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is U.S. Government Open Data in the official MCP registry?
Yes, as io.github.lzinga/us-gov-open-data-mcp.
Sources and method
- Official MCP Registry entry
- updated 2026-10-08
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to U.S. Government Open Data
Other science & research MCP servers.