US Government Data Analyst

● Active

io.github.zsu/data-analyst-mcp

U.S. government economic data (FRED, BLS, BEA, Census, Treasury and more), cited and audited.

Connect this server

One click to install, or copy the config below. Suits: Claude Desktop · Cursor.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "data-analyst-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "data-analyst-mcp@0.11.2"
      ],
      "env": {
        "DATA_GOV_API_KEY": "<your DATA_GOV_API_KEY>",
        "FRED_API_KEY": "<your FRED_API_KEY>",
        "BLS_API_KEY": "<your BLS_API_KEY>",
        "BEA_API_KEY": "<your BEA_API_KEY>",
        "CENSUS_API_KEY": "<your CENSUS_API_KEY>"
      }
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add --env DATA_GOV_API_KEY='<your DATA_GOV_API_KEY>' --env FRED_API_KEY='<your FRED_API_KEY>' --env BLS_API_KEY='<your BLS_API_KEY>' --env BEA_API_KEY='<your BEA_API_KEY>' --env CENSUS_API_KEY='<your CENSUS_API_KEY>' --transport stdio data-analyst-mcp -- npx -y data-analyst-mcp@0.11.2
OpenAI Codex CLI
codex mcp add data-analyst-mcp --env DATA_GOV_API_KEY='<your DATA_GOV_API_KEY>' --env FRED_API_KEY='<your FRED_API_KEY>' --env BLS_API_KEY='<your BLS_API_KEY>' --env BEA_API_KEY='<your BEA_API_KEY>' --env CENSUS_API_KEY='<your CENSUS_API_KEY>' -- npx -y data-analyst-mcp@0.11.2
VS Code
code --add-mcp '{"name":"data-analyst-mcp","type":"stdio","command":"npx","args":["-y","data-analyst-mcp@0.11.2"],"env":{"DATA_GOV_API_KEY":"<your DATA_GOV_API_KEY>","FRED_API_KEY":"<your FRED_API_KEY>","BLS_API_KEY":"<your BLS_API_KEY>","BEA_API_KEY":"<your BEA_API_KEY>","CENSUS_API_KEY":"<your CENSUS_API_KEY>"}}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.

Environment variables
  • DATA_GOV_API_KEYsecretFree api.data.gov key (Congress.gov, FDA, FEC, GovInfo and 6 more); optional
  • FRED_API_KEYsecretFree FRED key for search, vintages and GeoFRED; optional
  • BLS_API_KEYsecretFree BLS key for higher limits and annual averages; optional
  • BEA_API_KEYsecretFree BEA key for the API-only datasets; optional
  • CENSUS_API_KEYsecretFree Census key; without it Census offers a manual download; optional

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Legal & Government
Version
0.11.2
Registry
active
Published
11/21/2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Nov 22, 2026

Looks healthy: US Government Data Analyst is maintained, open source.

Maintained
Active
Last commit today (Nov 21, 2026), 0 open issues.
Official registry
Active
Published as io.github.zsu/data-analyst-mcp in the official MCP registry, version 0.11.2.
Source
Open source, MIT
Public repository under the MIT licence, 0 stars, 0 forks.
Runs
On your machine
A local npm package started by your client; it can reach whatever your user account can.
Credentials
5 required
Declared environment variables: DATA_GOV_API_KEY, FRED_API_KEY, BLS_API_KEY, BEA_API_KEY…. They stay on your machine; the config on this page shows where each goes.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.

On GitHub

read Nov 22, 2026
Stars
0
Forks
0
Last push
Nov 21, 2026
License
MIT

TypeScript

From the README

US Economic Analysis MCP Server (data-analyst-mcp) A Model Context Protocol (MCP) server for U.S. economic analysis and official U.S. government data across 77 federal agencies (FRED, BLS, BEA, Census, Treasury, Congress.gov, FDA, CDC, EPA, and more). Install Requires Node.js 22 or later. Most sources need no key, so steps 2 and 3 are optional. 1. Add the server to your client Claude Code Add --scope user to make it available in every project. To pass a key here, put -e before the --, for example claude mcp add data-analyst -e DATAGOVAPI_KEY=your-key -- npx -y data-analyst-mcp. Claude Desktop: claudedesktopconfig.json, in ~/Library/Application Support/Claude/ (macOS) or %APPDATA%\Claude\ (Windows). Settings → Developer → Edit Config opens it. Restart Claude Desktop after editing. Cursor: the same mcpServers block in ~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project). VS Code: .vscode/mcp.json uses servers instead of mcpServers. An inputs entry makes VS Code ask for the key once and store it, so the key is not written into a file you might commit. Codex: ~/.codex/config.toml Leave out the env block if you have no keys, or if you store them with setup (step 2). To run from a clone instead of npm, build it and point the client at the build: Then use "command": "node", "args": [" /data-analyst-mcp/dist/bin/cli.js"] in the configs above, and node dist/bin/cli.js setup in place of npx -y data-analyst-mcp setup below. 2. Add keys (optional) Each key is free.…

Read the full README on GitHub →

The most-starred Legal & Government servers in the index, with their live-check result.

ServerStarsLast pushLive check
Korean Law MCP2,891Nov 2026Working
EdgarTools2,859Nov 2026Local / not checked
Global law2,167Nov 2026Working
MCP Fiscal Brasil433Nov 2026Local / not checked
Legal Data Hunter422Nov 2026Needs sign-in

US Government Data Analyst: questions people ask

Is US Government Data Analyst a remote or a local MCP server?
According to its entry in the official MCP registry, US Government Data Analyst ships as a local package (npm) that your client starts on your machine.
Does US Government Data Analyst need an API key?
Its registry entry declares 5 required environment variables: DATA_GOV_API_KEY, FRED_API_KEY, BLS_API_KEY, BEA_API_KEY…. The config on this page shows where each goes.
Is US Government Data Analyst safe to use?
Looks healthy: US Government Data Analyst is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: 5 required. Serverdex check of Nov 22, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
Is US Government Data Analyst still maintained?
Active: the repository's last commit today. Last push Nov 21, 2026, 0 GitHub stars, MIT licence. Read from GitHub on Nov 22, 2026.
How do I add US Government Data Analyst to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
Browse all Legal & Government →

Add the badge to your site

Show visitors that US Government Data Analyst is listed here — it’s also the link we check for a free listing.

US Government Data Analyst — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-zsu-data-analyst-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="US Government Data Analyst — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![US Government Data Analyst — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-zsu-data-analyst-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/io-github-zsu-data-analyst-mcp) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/io-github-zsu-data-analyst-mcp) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/io-github-zsu-data-analyst-mcp)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/io-github-zsu-data-analyst-mcp"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-zsu-data-analyst-mcp"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-zsu-data-analyst-mcp"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).