Gov Data MCP
Accesses geographic data from ArcGIS REST services, including state and local government datasets for crime, health, education, and more.
Retrieves broadband coverage data and provider information from the Federal Communications Commission.
Provides access to NASA's image library and scientific data including near-earth objects, space weather, and Mars rover information.
Enables searching of biomedical literature from PubMed database.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Gov Data MCPWhat is the current federal funds rate?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Gov Data MCP
MCP Server + TypeScript SDK for 114 Government Data APIs
562 tools covering federal, state, and international government data — economic, fiscal, health, education, energy, environment, legislative, financial, transportation, transit, traffic, safety, procurement, science, trade, case law, campaign finance, and more. All 50 states + DC represented.
40+ APIs require no key · The rest use free keys that take under a minute to get · Complete Tool Reference
Features
562 tools across 114 government data modules — federal agencies, state portals, transit systems, energy grids, and international sources
All 50 states + DC — generic Socrata + ArcGIS tools across 47 states, 15-state real-time 511 traffic, 12 transit systems, and state-specific APIs
Cross-referencing — built-in routing table guides the LLM to combine data from multiple agencies automatically
Code mode — WASM-sandboxed JavaScript execution reduces context window usage by 98–100% for large responses
Selective loading — load only what you need:
--modules fred,treasury,state-data,mbtaDual transport — stdio for desktop clients, HTTP Stream for web/remote
TypeScript SDK — every API is importable as a standalone typed client, no MCP required
Disk-backed caching — responses cached to disk, survives restarts
Rate limiting + retry — token-bucket rate limiter with exponential backoff on 429/503
Related MCP server: mcp-brasil
Quick Start
MCP Server
npx gov-data-mcpAdd to Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"gov-data": {
"command": "npx",
"args": ["-y", "gov-data-mcp"],
"env": {
"FRED_API_KEY": "your_key",
"DATA_GOV_API_KEY": "your_key"
}
}
}
}Add to VS Code / Copilot (.vscode/mcp.json):
{
"servers": {
"gov-data": {
"command": "npx",
"args": ["-y", "gov-data-mcp"],
"env": {
"FRED_API_KEY": "your_key",
"DATA_GOV_API_KEY": "your_key"
}
}
}
}Load Only Specific Modules
# Federal economic data only
npx gov-data-mcp --modules fred,treasury,bls,bea,eia
# State data only
npx gov-data-mcp --modules state-data,state-511,md-traffic,mbta,bart
# Everything (default)
npx gov-data-mcpHTTP Stream (for remote/web clients)
npx gov-data-mcp --transport httpStream --port 8080Example Prompts
Economic: "What's the current state of the U.S. economy? Show me GDP, unemployment, inflation, and interest rates."
Health: "Show me the adverse event profile for Ozempic including clinical trials, FDA reports, and pharma payments to doctors."
Legislative: "What happened with the Inflation Reduction Act? Who sponsored it, how did the vote break down by party?"
State data: "Compare Maryland and Virginia crime rates over the last 10 years."
Transit: "What are the current MBTA delays in Boston? Any service alerts?"
Traffic: "Show me current traffic incidents on Ohio highways."
Energy: "What's the current fuel mix on the Texas ERCOT grid? How much is wind vs natural gas?"
Environment: "What are the current reservoir levels in California? Any drought concerns?"
Cross-reference: "How has federal spending on healthcare changed over the last 5 years, and what health outcomes has it produced?"
TypeScript SDK
npm install gov-data-mcpimport { getObservations } from "gov-data-mcp/sdk/fred";
import { searchBills } from "gov-data-mcp/sdk/congress";
import { queryStateDataset } from "gov-data-mcp/sdk/state-data";
const gdp = await getObservations("GDP", { sort: "desc", limit: 5 });
const mdCrime = await queryStateDataset("MD", "jwfa-fdxs", { where: "year = '2023'" });No MCP server required. All functions include caching, retry, and rate limiting.
Data Sources (114 Modules, 562 Tools)
See TOOLS.md for complete tool reference with parameters and descriptions.
Federal — Economic (12 modules)
Module | Tools | Auth | Data |
| 4 | — | Fiscal data, debt, interest rates |
| 4 | Key | Federal Reserve economic time series |
| 4 | Key | Employment, CPI, labor statistics |
| 13 | Key | GDP, personal income, trade, I/O tables |
| 5 | Key | Energy production, consumption, prices |
| 3 | Key | Population, demographics, ACS data |
| 7 | Key | OSHA inspections, wage enforcement, UI claims |
| 2 | Key | Federal job listings |
| 2 | — | Broadband coverage and providers |
| 10 | Key | Patents, applications, PTAB decisions |
| 1 | — | Small business innovation research awards |
| 3 | — | GSA contract ceiling rates |
Federal — Health (8 modules)
Module | Tools | Auth | Data |
| 25 | Key | Drugs, devices, food, tobacco (OpenFDA) |
| 13 | — | Mortality, disease, COVID, obesity, PLACES |
| 10 | — | ClinicalTrials.gov studies |
| 4 | — | Hospital/nursing home quality, Medicare |
| 10 | — | Pharma payments to doctors (Sunshine Act) |
| 8 | Key | Biomedical literature search |
| 4 | — | NIH research projects and funding |
| 1 | Key | VA facilities (hospitals, clinics, cemeteries) |
Federal — Legislative (6 modules)
Module | Tools | Auth | Data |
| 71 | Key | Bills, votes, members, committees, CRS reports |
| 5 | — | Rules, executive orders, presidential docs |
| 3 | Key | Congressional record, CBO reports |
| 6 | Key | Regulations.gov dockets and comments |
| 5 | — | Lobbying disclosures, registrants |
| 3 | — | Code of Federal Regulations full text |
Federal — Financial (7 modules)
Module | Tools | Auth | Data |
| 6 | Key | Campaign finance, candidates, committees |
| 3 | — | EDGAR company filings and financials |
| 6 | — | Bank data, failures, financials |
| 6 | — | Consumer complaints |
| 6 | — | Home mortgage disclosure data |
| 5 | — | Futures trading positions |
| 5 | — | Sanctions and blocked persons |
Federal — Spending & Procurement (3 modules)
Module | Tools | Auth | Data |
| 6 | — | Federal awards, recipients, agency budgets |
| 3 | Key | Contract opportunities, entities, exclusions |
| 3 | — | GSA contract ceiling rates |
Federal — Environment & Science (16 modules)
Module | Tools | Auth | Data |
| 9 | — | Facilities, enforcement, Superfund, TRI, GHG |
| 3 | Key | Air quality monitoring stations |
| 4 | Key | Climate data, stations, weather history |
| 10 | — | Tides, currents, water levels |
| 12 | — | Space weather, solar storms |
| 15 | — | Forecasts, alerts, radar |
| 6 | — | Earthquakes, water data, stream gauges |
| 3 | Key | Solar, fuel stations, utility rates |
| 2 | — | Endangered species listings |
| 4 | Key | National parks, alerts, campgrounds |
| 3 | Key | Federal recreation facilities, campsites |
| 3 | — | Corps dam/reservoir/river water levels |
| 2 | — | NASA image library |
| 5 | Key | NEO, DONKI, Mars Rover, EONET |
| 3 | — | Asteroid orbits, close approaches, fireballs |
| 2 | — | Research awards and funding |
Federal — Safety (5 modules)
Module | Tools | Auth | Data |
| 11 | — | Vehicle recalls, complaints, safety ratings |
| 5 | — | Disaster declarations, assistance |
| 4 | — | Product safety recalls |
| 2 | Key | FTC enforcement actions |
| 2 | Key | CVE vulnerabilities, CVSS scores |
Federal — Other (9 modules)
Module | Tools | Auth | Data |
| 2 | — | Transportation accident investigations |
| 2 | — | Border crossings, transport statistics |
| 4 | — | METARs, TAFs, SIGMETs, PIREPs |
| 2 | Key | 11M+ museum collection records |
| 1 | — | DOE scientific publications |
| 9 | — | Nation's Report Card education scores |
| 4 | Key | College costs, outcomes, earnings |
| 3 | Key | Food nutrition data |
| 4 | Key | Agricultural statistics |
| 4 | — | International development indicators |
State & Local — Open Data (1 module, 30 states)
Module | Tools | Coverage |
| 15 | All 50 states + DC via Socrata SODA API + ArcGIS REST. Crime, health, education, economy, property, environment, transportation. MD fully populated (21 datasets), NY (13), CT (12), WA (8), TX (7), PA (7), NJ (4), + 40 more with GIS and/or Socrata portals. |
State & Local — Real-Time Traffic (2 modules, 15+ states)
Module | Tools | Coverage |
| 6 | 15 states: AZ, NV, UT, AK, ID, NY, CT, GA, WI, LA, AR, OH, NC, WA. Incidents, cameras, signs, weather, conditions. |
| 7 | Maryland CHART: incidents, closures, cameras, speeds, weather, DMS, travel times |
State & Local — Transit (12 modules)
Module | Tools | Auth | City/Region |
| 4 | Key | Boston (subway, bus, commuter rail, ferry) |
| 4 | — | Philadelphia (regional rail, bus, trolley) |
| 2 | Key | Chicago (L trains, buses) |
| 3 | Key | San Francisco Bay Area (BART rail) |
| 3 | — | Los Angeles (bus, rail) |
| 1 | Key | Portland (bus, MAX light rail, streetcar) |
| 2 | Key | Seattle / Puget Sound (bus, light rail) |
| 3 | Key | Washington State Ferries (schedules, vessels, terminals) |
| 1 | Key | Atlanta (rail) |
| 1 | — | NYC/NJ PATH train |
| 4 | Key | Washington DC Metro & Bus |
| 3 | Key | Maryland MTA (bus, light rail, metro, MARC) |
State & Local — Energy Grids (3 modules)
Module | Tools | Auth | Coverage |
| 1 | Token | California ISO (rates, GHG, Flex Alerts) |
| 2 | Key | Texas grid (load, prices) |
| 2 | Auth | New England (CT, MA, ME, NH, RI, VT) |
State & Local — Water & Environment (5 modules)
Module | Tools | Auth | Data |
| 2 | — | California reservoirs, rivers, snowpack |
| 1 | — | Active CA wildfire incidents (GeoJSON) |
| 3 | Key | Colorado water rights, streamflow, diversions |
| 3 | Key | Chesapeake Bay buoy water quality (CBIBS) |
| 3 | — | Minnesota 4,500+ lakes, fish surveys |
State & Local — Other (1 module)
Module | Tools | Auth | Data |
| 2 | — | NC 900+ demographic/economic data items |
API Keys
Most tools work without any API key. For those that need one, keys are free:
Key | Used By | Get It |
| FDA, Congress, FBI, FEC, GovInfo, Regulations, NREL, College Scorecard, USDA FoodData, FTC | |
| FRED | |
| State open data (all Socrata states) | Register on any state portal |
| Census | |
| BEA | |
| NASA Science | api.nasa.gov (DEMO_KEY works without signup) |
| National Park Service |
See the full list with npx gov-data-mcp --list-modules.
Disclaimer
This project integrates a significant number of government APIs, many of which have large, complex, or inconsistently documented schemas. AI is used as a tool throughout this project to help parse API documentation, generate type definitions, and scaffold tool implementations — making it possible to cover this much surface area and get people access to government data faster than would otherwise be feasible. While every effort has been made to ensure accuracy, some endpoints may return unexpected results, have incomplete parameter coverage, or behave differently than documented.
This is a community-driven effort — if you find something that's broken or could be improved, please open an issue or submit a PR. The goal is to make government data as accessible and reliable as possible, together.
All data is sourced from official U.S. government, state, and international APIs — the server does not generate, modify, or editorialize any data.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyntrica/gov-data-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server