US Government Open Data MCP

An MCP server for more than 40 open US government APIs: economy, health, Congress and lobbying, with over 300 tools.

  • 112 ★ on the repository
  • Last commit
MCP server

Extended access

Why this level

  • Queries and keys are sent to US agency APIs.
  • Personal-topic queries, such as payments to doctors, can return names of individuals.
All reasons and checks

lzinga/us-gov-open-data-mcp

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add mcp/us-government-open-data-mcp

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Queries and keys are sent to US agency APIs.
  • Personal-topic queries, such as payments to doctors, can return names of individuals.

This is third-party code. Review the repository files before installing.

What it does

The server opens US agency data to an agent: Treasury, FRED, Congress, FDA, CDC, FEC, lobbying, patents, workplace safety, clinical trials, pharma payments, procurement and more. More than 20 APIs work without a key and the rest take free keys. To keep context lean, modules load selectively: `--modules fred,treasury,congress` or `--domains economy,health`. `--tool-mode discovery` shows the model four tools instead of 350 and it finds the rest by search. A code mode runs JavaScript in a WASM sandbox for heavy responses. Responses are cached on disk, and every result lists its upstream agency requests in `meta.sources`.

Who it is for. Analysts, journalists and researchers who cross-reference US agency data with an AI agent.

Good fit when

  • An agent pulls GDP, unemployment, inflation and rates from FRED and Treasury.
  • You compare FDA adverse events with clinical trials and payments to doctors.
  • For a bill you look at its sponsor, the vote by party and campaign donations.
  • Agency data is needed in code as a typed TypeScript client without MCP.

Not a fit when

  • You need data from other countries: the server covers US agencies.
  • Calls to external APIs are not allowed: requests go to agency APIs.
  • You need final fact checking: the server returns agency data and conclusions stay with you.

Example request

Show how US unemployment and inflation changed over the last five years and name the agencies the data came from.

MCP

Transport
stdio, http
Authentication
key is optional

Environment variables

FRED_API_KEY secret
Free FRED key for economic series
DATA_GOV_API_KEY secret
Free data.gov key for some agency APIs

Limitations

Node.js 22 or newer is required. Some APIs need free keys (for example `FRED_API_KEY` and `DATA_GOV_API_KEY`), which take under a minute to get. With 350 tools and no filters the context balloons: load modules as needed or enable `discovery` mode. Data quality and freshness depend on the agencies, and rate limiting and retries on 429 and 503 replies are handled by the server. The server only reads open data and publishes or submits nothing to the agencies.

How to disable. Remove the `us-gov-open-data` entry from the client configuration. Clear the disk cache and any keys you obtained separately.

FAQ

Are keys required?

More than 20 APIs work without a key. The rest take free keys such as `FRED_API_KEY` and `DATA_GOV_API_KEY`, passed through `env` in the configuration.

How do I avoid overloading the context?

Limit modules: `--modules fred,treasury,congress` or `--domains economy,health`. `--tool-mode discovery` keeps four tools and the model finds the others by search.

Is there a remote mode?

Yes. Besides stdio there is HTTP Stream for web and remote clients, with bearer-token auth off loopback.

Can I use it without MCP?

Yes, every API is exported as a typed TypeScript client. Install the package with `npm install us-gov-open-data-mcp`.

How do I see which data stands behind an answer?

Every result carries `meta.sources`, the list of agency requests it was built from. Use that list to check the answer at the source.

Discussion

No questions or reviews yet.

Data-gov-il-mcp opens Israeli government open data from data.gov.il to an agent: datasets, organizations, tags and table records.

MCP serverMinimal access111Repository stars

data.gouv.fr MCP

data.gouv.fr MCP Server

Official

Official MCP server for France's open data portal: search, explore and query datasets straight from a chat with the agent

MCP serverExtended access1.6KRepository stars

An MCP server for Canadian government data: exchange rates, parliament, product recalls and drugs, reached through BM25 search.

MCP serverMinimal access62Repository stars

An MCP server for Brazil's open data: economy, laws, public procurement, courts, elections, environment and more

MCP serverExtended access1.9KRepository stars

Medical MCP

medical-mcp

MCP server for medical sources: FDA and EMA drug data, WHO statistics, PubMed and clinical trials without API keys.

MCP serverExtended access121Repository stars

An MCP server with a toolbox for global briefs: markets, SEC filings, conflict, climate and news from open sources

MCP serverExtended access1.1KRepository stars

README in short

An MCP server and TypeScript SDK for 40-plus US agency APIs. It has a disk cache, a rate limiter with retries, selective module loading and a sandboxed code mode.

README badge

Report a problem