← Back to US Government Open Data MCP
Install US Government Open Data MCP
Pick your client, copy the command, done.
1
Add it to Claude Code
claude mcp add us-government-open-data -- npx -y us-gov-open-data-mcpEnvironment Variables
Set these before running US Government Open Data MCP.
VariableDescriptionRequired
FRED_API_KEYAPI key for Federal Reserve Economic DataNoDATA_GOV_API_KEYAPI key for Data.gov servicesNoAvailable Tools (2)
Once configured, US Government Open Data MCP gives your AI agent access to:
getObservationsRetrieve economic data observations from FREDseriesIdsortlimitsearchBillsSearch for legislative bills from Congress.govqueryTry It Out
After setup, try these prompts with your AI agent:
→What's the current state of the U.S. economy? Show me GDP, unemployment, inflation, and interest rates.
→Show me the adverse event profile for Ozempic including clinical trials, FDA reports, and pharma payments to doctors.
→What happened with the Inflation Reduction Act? Who sponsored it, how did the vote break down by party?
→Which banking PACs gave money to members of the Senate Banking Committee, and how did those members vote on banking deregulation?
→How has federal spending on healthcare changed over the last 5 years, and what health outcomes has it produced?
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Node.js 18+ with npm/npx installed
Alternative installation methods
npm
npm install us-gov-open-data-mcpKeep this setup from going cold
Save the docs, env vars, and workflow around US Government Open Data MCP in Conare so Claude Code, Codex, and Cursor remember it next time.