US Government Open Data MCP
MCP Server + TypeScript SDK for 40+ U.S. Government APIs
Power your agent
पब्लिशर की अपनी कमांड। PlugMCP एंडपॉइंट नहीं।
Host a copy with our keys and logs.
npx -y [email protected]Claude Code में लोकल कमांड के लिए इंस्टॉल लिंक नहीं है। नीचे दी गई कमांड कॉपी करें और टर्मिनल में चलाएँ।
DATA_GOV_API_KEY=<secret> FRED_API_KEY=<secret> CENSUS_API_KEY=<secret> BLS_API_KEY=<secret> BEA_API_KEY=<secret> EIA_API_KEY=<secret> NOAA_API_KEY=<secret> USDA_NASS_API_KEY=<secret> HUD_USER_TOKEN=<secret> DOL_API_KEY=<secret> USPTO_API_KEY=<secret> LDA_API_KEY=<secret> AQS_API_KEY=<secret> AQS_EMAIL=<value> SEC_CONTACT_EMAIL=<value> NWS_USER_AGENT=<value> MODULES=<value> DOMAINS=<value> HIDE_UNCONFIGURED=<value> TOOL_MODE=<value> MAX_RESPONSE_BYTES=<value> claude mcp add lzinga-us-gov-open-data-mcp -- npx -y us-gov-open-data-mcp@2026.10.8टर्मिनल में चलाएँ।
{ "mcpServers": { "lzinga-us-gov-open-data-mcp": { "command": "npx", "args": [ "-y", "[email protected]" ], "env": { "DATA_GOV_API_KEY": "<secret>", "FRED_API_KEY": "<secret>", "CENSUS_API_KEY": "<secret>", "BLS_API_KEY": "<secret>", "BEA_API_KEY": "<secret>", "EIA_API_KEY": "<secret>", "NOAA_API_KEY": "<secret>", "USDA_NASS_API_KEY": "<secret>", "HUD_USER_TOKEN": "<secret>", "DOL_API_KEY": "<secret>", "USPTO_API_KEY": "<secret>", "LDA_API_KEY": "<secret>", "AQS_API_KEY": "<secret>", "AQS_EMAIL": "<value>", "SEC_CONTACT_EMAIL": "<value>", "NWS_USER_AGENT": "<value>", "MODULES": "<value>", "DOMAINS": "<value>", "HIDE_UNCONFIGURED": "<value>", "TOOL_MODE": "<value>", "MAX_RESPONSE_BYTES": "<value>" } } }}claude_desktop_config.json
रिमोट URL या आपकी मशीन पर कमांड? दोनों इंस्टॉल में क्या अंतर है
PlugMCP पर चलाएँ
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
लॉन्चपब्लिशर से
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
--modules fred,treasury,congress or --domains economy,health--tool-mode discovery lists 4 tools instead of 350; the model searches for the one it needsmeta.sources lists the upstream API requests behind each answerRequires 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"
}
}
}
}
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?"
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.
Full documentation at lzinga.github.io/us-gov-open-data-mcp
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.
MIT
MCP server + TypeScript SDK for 40+ U.S. government data APIs — 250+ tools. Treasury, FRED, Congress, FDA, CDC, FEC, lobbying, and many more. Works with VS Code Copilot, Claude Desktop, Cursor.
{ "mcpServers": { "lzinga-us-gov-open-data-mcp": { "command": "npx", "args": [ "-y", "[email protected]" ], "env": { "DATA_GOV_API_KEY": "<secret>", "FRED_API_KEY": "<secret>", "CENSUS_API_KEY": "<secret>", "BLS_API_KEY": "<secret>", "BEA_API_KEY": "<secret>", "EIA_API_KEY": "<secret>", "NOAA_API_KEY": "<secret>", "USDA_NASS_API_KEY": "<secret>", "HUD_USER_TOKEN": "<secret>", "DOL_API_KEY": "<secret>", "USPTO_API_KEY": "<secret>", "LDA_API_KEY": "<secret>", "AQS_API_KEY": "<secret>", "AQS_EMAIL": "<value>", "SEC_CONTACT_EMAIL": "<value>", "NWS_USER_AGENT": "<value>", "MODULES": "<value>", "DOMAINS": "<value>", "HIDE_UNCONFIGURED": "<value>", "TOOL_MODE": "<value>", "MAX_RESPONSE_BYTES": "<value>" } } }}टूल
अभी टूल सूची नहीं है। रिमोट सर्वर को पहले हेल्थ चेक के बाद सूची मिलती है।
FAQ
इस पेज पर Cursor, Claude Desktop, Claude Code या VS Code के लिए stdio कॉन्फ़िग कॉपी करें। यह पब्लिशर का इंस्टॉल इस्तेमाल करता है, PlugMCP प्रॉक्सी नहीं।
पब्लिशर ने ये एनवायरनमेंट वेरिएबल बताए हैं: 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।
Us Gov Open Data stdio पर लोकल चलता है।
पिछली जाँच 2026-11-05 को हुई। MCP server + TypeScript SDK for 40+ U.S. government data APIs — 250+ tools. Treasury, FRED, Congress, FDA, CDC, FEC, lobbying, and many more. Works with VS Code Copilot, Claude Desktop, Cursor.