MCP server + standalone TypeScript SDK for 40+ U.S. government and international data APIs. 300+ tools with WASM-sandboxed code mode for context
Us MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. MCP server + standalone TypeScript SDK for 40+ U.S. government and international data APIs. 300+ tools with WASM-sandboxed code mode for context reduction. Covers Treasury, FRED, BLS, BEA, EIA, Census, FEC, Congress, Federal Register.
300+ tools covering economic, fiscal, health, education, energy, environment, lobbying, housing, patents, safety, banking, consumer protection, workplace safety, transportation, seismic, clinical trials, pharma payments, research funding, procurement, and legislative data.
The server ships on npm as us-gov-open-data-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Once Us is connected, these are the calls the assistant has available:
Cross-referencing — built-in instructions guide the LLM to combine data from multiple agencies (e.g., FDA adverse events + lobbying spend + campaign contributions)Disk — backed caching** — responses cached to disk, survives restartsCategory — APIsEconomic — Treasury, FRED, BLS, BEA, EIALegislative — Congress.gov, Federal Register, GovInfo, Regulations.govFinancial — FEC, Senate Lobbying, SEC, FDIC, CFPBSpending — USAspending, Open PaymentsEnvironment — EPA, NOAA, NREL, USGSJustice — FBI Crime Data, DOJ NewsEducation — NAEP, College Scorecard, USPTODemographics — Census, HUD, FEMAOther — BTS, USDA NASS, USDA FoodData, World BankYou will need 2 environment variables: FRED_API_KEY, DATA_GOV_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Us's toolset — Cross-referencing, Disk, Category and 9 more — is a fair guide to whether it matches your workflow. It is maintained by lzinga; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| Cross-referencing | built-in instructions guide the LLM to combine data from multiple agencies (e.g., FDA adverse events + lobbying spend + campaign contributions) |
| Disk | backed caching** — responses cached to disk, survives restarts |
| Category | APIs |
| Economic | Treasury, FRED, BLS, BEA, EIA |
| Legislative | Congress.gov, Federal Register, GovInfo, Regulations.gov |
| Financial | FEC, Senate Lobbying, SEC, FDIC, CFPB |
| Spending | USAspending, Open Payments |
| Environment | EPA, NOAA, NREL, USGS |
| Justice | FBI Crime Data, DOJ News |
| Education | NAEP, College Scorecard, USPTO |
| Demographics | Census, HUD, FEMA |
| Other | BTS, USDA NASS, USDA FoodData, World Bank |
{
"mcpServers": {
"data-gov": {
"command": "npx",
"args": ["-y", "us-gov-open-data-mcp"],
"env": {
"FRED_API_KEY": "your-value",
"DATA_GOV_API_KEY": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| FRED_API_KEY | Credential the server authenticates with. | Yes |
| DATA_GOV_API_KEY | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.