Us MCP Server

MCP server + standalone TypeScript SDK for 40+ U.S. government and international data APIs. 300+ tools with WASM-sandboxed code mode for context

Local serverstdioTypeScript

What is the Us MCP Server?

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

What you get

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.

  • 300+ tools — across 40+ government APIs — economic, health, legislative, financial, environmental, and more
  • Cross-referencing — — built-in instructions guide the LLM to combine data from multiple agencies (e.g., FDA adverse events + lobbying spend + campaign contributions)
  • Code mode — — WASM-sandboxed JavaScript execution reduces context window usage by 98-100% for large responses
  • Selective loading — — load only the modules you need: --modules fred,treasury,congress
  • Dual transport — — stdio for desktop clients, HTTP Stream for web/remote
  • TypeScript SDK — — every API is importable as a standalone typed client, no MCP required

What the assistant can call

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 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

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Us MCP Server

{
  "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.

Configuration

VariableDescriptionRequired
FRED_API_KEYCredential the server authenticates with.Yes
DATA_GOV_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Us to Cross-referencing.”
  • “Use Us to Disk.”
  • “Use Us to Category.”

Frequently asked questions

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 Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.