U.S. Government Open Data logo

U.S. Government Open Data

Access 300+ tools for querying 40+ U.S. government APIs across economic, health, legislative, financial, and environmental data.

Install U.S. Government Open Data

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "u-s-government-open-data": {
      "command": "npx",
      "args": [
        "-y",
        "us-gov-open-data-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 356 tools correctly (16d ago).

Overview

The U.S. Government Open Data MCP server connects AI assistants to 40+ U.S. government APIs through more than 300 tools. It supports stdio for desktop clients and streamable HTTP for web or remote deployments, with optional bearer-token authentication outside loopback. Use it to query official data across areas such as economics, health, legislation, spending, energy, safety, and research, or combine sources for cross-agency analysis. Selective loading, discovery mode, caching, retries, and a TypeScript SDK help control tool count and API behavior.

Use cases

  • Compare economic indicators from federal data sources
  • Investigate legislation, sponsors, and voting records
  • Analyze healthcare events, trials, and payments
  • Trace federal spending, lobbying, and campaign contributions
  • Query environmental, disaster, and public-safety data

Key features

  • 300+ tools across 40+ APIs
  • Cross-agency data referencing
  • Selective module and domain loading
  • Discovery mode for tool search
  • Stdio and streamable HTTP transports
  • TypeScript SDK with caching and retries

Tools356

What U.S. Government Open Data lets your agent do. Expand a tool for its parameters.

Verified live~74.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

10/10 checks healthy over the last 21d

What it can do

From the 356 tools this server returned when we ran it; 356 declare their own safety hints.

Can delete or modify data · 1Makes network requests · 355Read-only tools · 355
Network at startup3 connections
Files written at startupNone
Install scriptsprepare
npm provenanceSigned build
Package age232 days
Maintainers1

Observed 2026-10-21 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · us-gov-open-data-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars112Stargazers on the source repository.
npm downloads2.3kPackage downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed356Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How U.S. Government Open Data works

What U.S. Government Open Data does

The U.S. Government Open Data MCP server exposes data from more than 40 government and international APIs through over 300 MCP tools. Its coverage includes economic indicators, federal spending, procurement, congressional and regulatory records, health and clinical research, financial activity, energy, environmental measurements, disasters, education, transportation, public safety, housing, patents, and workplace safety.

The U.S. Government Open Data MCP server is suited to questions that require current or historical information from official sources. Examples include comparing GDP and unemployment, examining legislation and voting records, finding FDA adverse-event data, reviewing federal awards, or combining health, lobbying, and campaign-finance records. Results include source metadata identifying the upstream API requests used.

How it works

The package runs as an MCP server over stdio for desktop integrations or over streamable HTTP for web and remote use. HTTP deployments can use bearer-token authentication when accessed outside loopback. Node.js 22 or newer is required for the server.

Tool exposure can be narrowed by loading selected modules, such as FRED, Treasury, or Congress, or by choosing broader domains such as economy or health. Discovery mode exposes four search-oriented tools instead of the full tool set, allowing the model to locate the operation it needs without loading hundreds of tools into the conversation. Code mode provides WASM-sandboxed JavaScript execution for handling large responses with less context usage.

Responses are cached on disk so cached data can persist across restarts. Requests use token-bucket rate limiting and exponential backoff for HTTP 429 and 503 responses. The project also includes a TypeScript SDK, so API clients can be used directly without starting an MCP server.

Setup and configuration

Start the MCP server with:

Terminal
npx us-gov-open-data-mcp

Some APIs work without credentials, while others require free API keys. The README's example configuration provides FRED_API_KEY and DATA_GOV_API_KEY; the required keys depend on which data sources are used. Configure the command in VS Code's .vscode/mcp.json or Claude Desktop's claude_desktop_config.json.

For direct TypeScript use, install the package with npm install us-gov-open-data-mcp and import clients from SDK modules such as sdk/fred or sdk/congress. SDK functions include caching, retry behavior, and rate limiting.

Tools and capabilities

  • Query economic, fiscal, health, legislative, environmental, financial, demographic, and research APIs.
  • Cross-reference information from multiple agencies in one investigation.
  • Restrict loaded tools by module or domain.
  • Search for tools through discovery mode.
  • Inspect upstream request sources in result metadata.
  • Use typed TypeScript API clients without MCP.

Limitations and notes

The U.S. Government Open Data MCP server covers many APIs with different schemas, documentation quality, endpoint behavior, and parameter support. Some endpoints may return unexpected results or have incomplete coverage. Validate important findings against the cited upstream sources.

The project states that it passes through data from official U.S. government and international APIs rather than generating, modifying, or editorializing it. API credentials are not uniformly required: more than 20 APIs reportedly need no key, while the remaining services use free keys. The project is community-driven, so implementation issues and schema mismatches may require checking the repository or opening an issue.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about U.S. Government Open Data

U.S. Government Open Data is an MCP server that connects AI assistants to more than 40 U.S. government and international APIs. Its main tools query economic, health, legislative, financial, environmental, spending, and research data, with over 300 operations, source metadata, caching, rate limiting, and optional cross-agency analysis.

Install and run it with Node.js 22 or newer using `npx us-gov-open-data-mcp`. Add that command to an MCP client configuration, such as VS Code's `.vscode/mcp.json` or Claude Desktop's configuration file, and provide any API keys needed by the sources you plan to use.

It documents stdio transport for desktop clients and provides explicit configuration examples for VS Code and Claude Desktop; other MCP clients may connect if they support the server's standard transport.

The server does not require one universal API key. More than 20 connected APIs work without a key, while others use free provider keys; the example configuration includes `FRED_API_KEY` and `DATA_GOV_API_KEY`. The needed credentials depend on the APIs your requests use.

Yes, the TypeScript SDK can be used without starting the MCP server. Install the npm package, import a client such as `sdk/fred` or `sdk/congress`, and call its typed functions; SDK operations include caching, retry handling, and rate limiting.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewU.S. Government Open Data AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/u-s-government-open-data?style=directory)](https://allmcps.com/mcp/u-s-government-open-data)
HTML Embed
<a href="https://allmcps.com/mcp/u-s-government-open-data"><img src="https://allmcps.com/api/badge/u-s-government-open-data?style=directory" alt="U.S. Government Open Data on AllMCPs" /></a>