Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

U.S. Government Open Data

by lzingaversion 2026.10.8i★ –iRuns on your computer
Registry nameio.github.lzinga/us-gov-open-data-mcp

Install

Overview

Description from the maker (original English)

Open data from 40+ U.S. government APIs: economy, spending, Congress, health, energy, disasters

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Clinics & health
  • You need to fill in: DATA_GOV_API_KEY, FRED_API_KEY, CENSUS_API_KEY, BLS_API_KEY, BEA_API_KEY, EIA_API_KEY, NOAA_API_KEY, USDA_NASS_API_KEY, HUD_USER_TOKEN, DOL_API_KEY, USPTO_API_KEY, LDA_API_KEY, AQS_API_KEY

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: DATA_GOV_API_KEY, FRED_API_KEY, CENSUS_API_KEY, BLS_API_KEY, BEA_API_KEY, EIA_API_KEY, NOAA_API_KEY, USDA_NASS_API_KEY, HUD_USER_TOKEN, DOL_API_KEY, USPTO_API_KEY, LDA_API_KEY, AQS_API_KEY, AQS_EMAIL, SEC_CONTACT_EMAIL, NWS_USER_AGENT, MODULES, DOMAINS, HIDE_UNCONFIGURED, TOOL_MODE, MAX_RESPONSE_BYTES

Values marked secret are keys to your account. Never share them or paste them into a chat.

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "us-gov-open-data": {
      "command": "npx",
      "args": [
        "-y",
        "us-gov-open-data-mcp"
      ],
      "env": {
        "DATA_GOV_API_KEY": "your-value",
        "FRED_API_KEY": "your-value",
        "CENSUS_API_KEY": "your-value",
        "BLS_API_KEY": "your-value",
        "BEA_API_KEY": "your-value",
        "EIA_API_KEY": "your-value",
        "NOAA_API_KEY": "your-value",
        "USDA_NASS_API_KEY": "your-value",
        "HUD_USER_TOKEN": "your-value",
        "DOL_API_KEY": "your-value",
        "USPTO_API_KEY": "your-value",
        "LDA_API_KEY": "your-value",
        "AQS_API_KEY": "your-value",
        "AQS_EMAIL": "your-value",
        "SEC_CONTACT_EMAIL": "your-value",
        "NWS_USER_AGENT": "your-value",
        "MODULES": "your-value",
        "DOMAINS": "your-value",
        "HIDE_UNCONFIGURED": "your-value",
        "TOOL_MODE": "your-value",
        "MAX_RESPONSE_BYTES": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add us-gov-open-data --env DATA_GOV_API_KEY=your-value --env FRED_API_KEY=your-value --env CENSUS_API_KEY=your-value --env BLS_API_KEY=your-value --env BEA_API_KEY=your-value --env EIA_API_KEY=your-value --env NOAA_API_KEY=your-value --env USDA_NASS_API_KEY=your-value --env HUD_USER_TOKEN=your-value --env DOL_API_KEY=your-value --env USPTO_API_KEY=your-value --env LDA_API_KEY=your-value --env AQS_API_KEY=your-value --env AQS_EMAIL=your-value --env SEC_CONTACT_EMAIL=your-value --env NWS_USER_AGENT=your-value --env MODULES=your-value --env DOMAINS=your-value --env HIDE_UNCONFIGURED=your-value --env TOOL_MODE=your-value --env MAX_RESPONSE_BYTES=your-value -- npx -y us-gov-open-data-mcp

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "us-gov-open-data": {
      "command": "npx",
      "args": [
        "-y",
        "us-gov-open-data-mcp"
      ],
      "env": {
        "DATA_GOV_API_KEY": "your-value",
        "FRED_API_KEY": "your-value",
        "CENSUS_API_KEY": "your-value",
        "BLS_API_KEY": "your-value",
        "BEA_API_KEY": "your-value",
        "EIA_API_KEY": "your-value",
        "NOAA_API_KEY": "your-value",
        "USDA_NASS_API_KEY": "your-value",
        "HUD_USER_TOKEN": "your-value",
        "DOL_API_KEY": "your-value",
        "USPTO_API_KEY": "your-value",
        "LDA_API_KEY": "your-value",
        "AQS_API_KEY": "your-value",
        "AQS_EMAIL": "your-value",
        "SEC_CONTACT_EMAIL": "your-value",
        "NWS_USER_AGENT": "your-value",
        "MODULES": "your-value",
        "DOMAINS": "your-value",
        "HIDE_UNCONFIGURED": "your-value",
        "TOOL_MODE": "your-value",
        "MAX_RESPONSE_BYTES": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "us-gov-open-data": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "us-gov-open-data-mcp"
      ],
      "env": {
        "DATA_GOV_API_KEY": "your-value",
        "FRED_API_KEY": "your-value",
        "CENSUS_API_KEY": "your-value",
        "BLS_API_KEY": "your-value",
        "BEA_API_KEY": "your-value",
        "EIA_API_KEY": "your-value",
        "NOAA_API_KEY": "your-value",
        "USDA_NASS_API_KEY": "your-value",
        "HUD_USER_TOKEN": "your-value",
        "DOL_API_KEY": "your-value",
        "USPTO_API_KEY": "your-value",
        "LDA_API_KEY": "your-value",
        "AQS_API_KEY": "your-value",
        "AQS_EMAIL": "your-value",
        "SEC_CONTACT_EMAIL": "your-value",
        "NWS_USER_AGENT": "your-value",
        "MODULES": "your-value",
        "DOMAINS": "your-value",
        "HIDE_UNCONFIGURED": "your-value",
        "TOOL_MODE": "your-value",
        "MAX_RESPONSE_BYTES": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • DATA_GOV_API_KEY secret env
    api.data.gov key, shared by Congress, FEC, GovInfo, FBI, NREL, Regulations.gov, College Scorecard, USDA FoodData, openFDA and USGS Water
  • FRED_API_KEY secret env
    FRED (Federal Reserve Economic Data) API key
  • CENSUS_API_KEY secret env
    Census Bureau API key
  • BLS_API_KEY secret env
    Bureau of Labor Statistics API key (optional; raises rate limits)
  • BEA_API_KEY secret env
    Bureau of Economic Analysis API key
  • EIA_API_KEY secret env
    Energy Information Administration API key
  • NOAA_API_KEY secret env
    NOAA Climate Data Online token (station climate data works without it)
  • USDA_NASS_API_KEY secret env
    USDA NASS Quick Stats API key
  • HUD_USER_TOKEN secret env
    HUD User API token
  • DOL_API_KEY secret env
    Department of Labor API key
  • USPTO_API_KEY secret env
    USPTO Open Data Portal API key
  • LDA_API_KEY secret env
    Senate Lobbying Disclosure (lda.gov) API key (optional; raises rate limits)
  • AQS_API_KEY secret env
    EPA Air Quality System API key (used with AQS_EMAIL)
  • AQS_EMAIL env
    Email address registered for the EPA AQS API key
  • SEC_CONTACT_EMAIL env
    Your email for the SEC User-Agent; SEC asks automated tools for a contact and may block requests without one
  • NWS_USER_AGENT env
    User-Agent for the National Weather Service API, with your contact details (a default is sent otherwise)
  • MODULES env
    Comma-separated modules to load (default: all), e.g. 'fred,bls,treasury'
  • DOMAINS env
    Comma-separated domains to load, e.g. 'economy,health' (added to MODULES)
  • HIDE_UNCONFIGURED env
    Set to 1 to skip modules whose required API key is not set
  • TOOL_MODE env
    'full' (every tool) or 'discovery' (find_tools and call_tool only)
  • MAX_RESPONSE_BYTES env
    Largest tool result in bytes before rows are trimmed (default 150000)

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account lzinga, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Clinics & healthi

  • More stars than 0% of the other 871 servers in this category
  • Published to the registry more recently than 51% of the other 871 servers in this category
  • Basic checks equal to or better than 100% of the other 871 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is U.S. Government Open Data safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: DATA_GOV_API_KEY, FRED_API_KEY, CENSUS_API_KEY, BLS_API_KEY, BEA_API_KEY, EIA_API_KEY, NOAA_API_KEY, USDA_NASS_API_KEY, HUD_USER_TOKEN, DOL_API_KEY, USPTO_API_KEY, LDA_API_KEY, AQS_API_KEY

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (2026.10.8) reached the registry 30 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Mirobody, FHIR MCP Server, Google Health MCP

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Mirobody

by thetahealth

Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.

Runs on your computer★ 1,408Apache-2.0Updated 6 days ago
Install

MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications

Runs on your computer★ 137Apache-2.0Updated 9 days ago
Install

Google Health MCP

by davidmosiah

Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents

Runs on your computer★ 79MITUpdated 4 months ago
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

US Government Open Data MCP

MCP Server + TypeScript SDK for 40+ U.S. Government APIs

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.

20+ APIs require no key · The rest use free keys that take under a minute to get

Getting Started · API Reference · Documentation


Features

  • 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 or domains you need: --modules fred,treasury,congress or --domains economy,health
  • Discovery mode — --tool-mode discovery lists 4 tools instead of 350; the model searches for the one it needs
  • Sources on every result — meta.sources lists the upstream API requests behind each answer
  • Dual transport — stdio for desktop clients, HTTP Stream for web/remote (bearer-token auth off loopback)
  • 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

Quick Start

MCP Server

Requires Node.js 22 or later.

npx us-gov-open-data-mcp

Add to .vscode/mcp.json for VS Code / Copilot:

{

"servers": { "us-gov-open-data": { "command": "npx", "args": ["-y", "us-gov-open-data-mcp"], "env": { "FRED_API_KEY": "your_key", "DATA_GOV_API_KEY": "your_key" } } } }

Add to claude_desktop_config.json for Claude Desktop:

{

"mcpServers": { "us-gov-open-data": { "command": "npx", "args": ["-y", "us-gov-open-data-mcp"], "env": { "FRED_API_KEY": "your_key", "DATA_GOV_API_KEY": "your_key" } } } }

Example Prompts

Once connected, ask your AI assistant natural language questions:

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

Follow the money: "Which banking PACs gave money to members of the Senate Banking Committee, and how did those members vote on banking deregulation?"

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 us-gov-open-data-mcp
import { getObservations } from "us-gov-open-data-mcp/sdk/fred";

import { searchBills } from "us-gov-open-data-mcp/sdk/congress";

const gdp = await getObservations("GDP", { sort: "desc", limit: 5 });

No MCP server required. All functions include caching, retry, and rate limiting.

Documentation

Full documentation at [lzinga.github.io/us-gov-open-data-mcp](https://lzinga.github.io/us-gov-open-data-mcp/)

Getting StartedMCP setup, SDK install, client configs
API KeysWhich APIs need keys, where to get them
Data SourcesAll 40+ APIs grouped by category
API ReferenceAuto-generated from TypeScript — every function and type
ExamplesSDK code, MCP prompts, analysis showcases
ArchitectureHow the system works
Adding ModulesAdd a new API — just create a folder

Data Sources

CategoryAPIs
EconomicTreasury, FRED, BLS, BEA, EIA
LegislativeCongress.gov, Federal Register, GovInfo, Regulations.gov
FinancialFEC, Senate Lobbying, SEC, FDIC, CFPB
Spending & ProcurementUSAspending, Open Payments, GSA CALC+
Health & SafetyCDC, FDA, CMS, ClinicalTrials.gov, NIH, NHTSA, DOL
Environment & WeatherEPA, EPA AQS, NOAA, NWS, NREL, USGS
JusticeFBI Crime Data, DOJ News
Education & ResearchNAEP, College Scorecard, USPTO
DemographicsCensus, HUD, FEMA
OtherBTS, USDA NASS, USDA FoodData, World Bank

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. Contributions that fix edge cases, improve schema accuracy, or expand coverage are especially welcome. The goal is to make U.S. government data as accessible and reliable as possible, together.

All data is sourced from official U.S. government and international APIs — the server does not generate, modify, or editorialize any data.

License

MIT

Ask PopNx