# US Government Data Analyst (npm · data-analyst-mcp)

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

- Trust score: 84/100 (high trust)
- Change this week: +18
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-28

## Components

- npm · `data-analyst-mcp`: 84/100 (this document), [markdown](https://verifymcp.io/servers/zsu-data-analyst-mcp/data-analyst-mcp.md), [page](https://verifymcp.io/servers/zsu-data-analyst-mcp/data-analyst-mcp)

## Channel facts

- Registry: `npm`
- Package: `data-analyst-mcp`
- Version: `0.13.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-28.

- **Supply Chain Security**: 98/100
  - No malware found by supply-chain analysis.
  - Known CVEs were checked across the 95 of 96 dependencies we could resolve, so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Dependency health was assessed across the 95 of 96 dependencies we could resolve, so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to zsu/data-analyst-mcp).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 2 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 81/100
  - 99% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 5374 tokens (~52/item across 102 items; 22 tools + 80 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 23/100
  - Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 92/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 75% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 22 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 24 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the US Government Data Analyst MCP server?

US Government Data Analyst runs locally as an npm package, launched with npx -y data-analyst-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add zsu-data-analyst-mcp -- npx -y data-analyst-mcp
```

### Cursor

```json
{
  "mcpServers": {
    "zsu-data-analyst-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "data-analyst-mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "zsu-data-analyst-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "data-analyst-mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add zsu-data-analyst-mcp -- npx -y data-analyst-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "zsu-data-analyst-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "data-analyst-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add zsu-data-analyst-mcp --command npx --arg -y --arg data-analyst-mcp
```

### Hermes

```yaml
mcp_servers:
  zsu-data-analyst-mcp:
    command: "npx"
    args: ["-y", "data-analyst-mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "zsu-data-analyst-mcp": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "data-analyst-mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add zsu-data-analyst-mcp -t stdio -c npx -a -y data-analyst-mcp
```

### Other

```json
{
  "mcpServers": {
    "zsu-data-analyst-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "data-analyst-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-27 (score 84, +1)

No change was recorded against any check on this day. Stability & Change Management went from 17 to 20. That category is still filling its 30-day observation window: 5 days of observed history at the previous scan, 6 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-26 (score 83, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-11-25 (score 68, −13)

- [security regression] Malware scan: pass → unverified
- [functional improvement] Stability: unverified → 0.13
- [functional] Package version: 0.11.2 → 0.13.0
- [functional] Package version: 0.11.2 → 0.12.0

### 2026-11-22 (score 81, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-11-21 (score 66)

First indexed and scored.

## MCP tools (22)

### `guide` (~145 tokens)

Method guide

U.S. government statistics (Census, BLS, BEA, IRS, OPM, FRED, CDC, Treasury and more): the analyst's method for any question that needs official data. Call once at the start (the analyze prompt already holds the workflow). Topics: workflow (default), routing (which sources answer which questions), compute (compute's functions and survey standard errors), report (what a report needs, in short), style, report_patterns, report_schema (every report.json key). A long topic returns its outline: then ask for a section.

Input parameters:

- `section`: A section title (or its number) of the topic
- `topic` (string)

### `find_sources` (~113 tokens)

Find sources

Official U.S. government data (Census ACS and PUMS, BLS, BEA, IRS SOI, OPM, FRED, CDC, Treasury, USDA and 60 more agencies): use it for any question that needs official statistics or an estimate built on them. With a question: the source packs ranked for it (a hint: split the question into measures and give each its source). Without one: every source with its agency, key need and example questions.

Input parameters:

- `question` (string)

### `source_brief` (~149 tokens)

Source brief

One source's playbook (coverage, units, traps, citation), its questions_to_ask (the critical choices: ask the user those the request leaves open, then record_decisions), its key status, rules and request index. Required before fetch. The playbook's Access section (keyless and manual routes) comes on request: sections: ["Access"]. With doc: one of its reference docs (listed in docs) instead.

Input parameters:

- `doc` (string)
- `full` (boolean): The whole playbook
- `sections` (array): Only these playbook sections, by title, e.g. ["Access"]
- `source` (string, required): A source id from find_sources

### `request_schema` (~86 tokens)

Request schema

Full parameters of named requests (from source_brief's requests), and the spec format; or search the source's catalog of datasets and series. fetch requires the schema of every request it uses.

Input parameters:

- `detail` (boolean): Long column lists and catalogs in full (default: shortened)
- `names` (array)
- `search` (string)
- `source` (string, required)

### `record_decisions` (~296 tokens)

Record decisions

Record the method record in decisions.json (merged with what is there): how each critical question was settled (the user's answer, a Don't know with the resolution you chose, a skip, or why it was not asked; fetch checks the source's questions), and, in method, what the audits read. Lists replace the earlier list of the same name.

Input parameters:

- `disclosures` (object): One line per question decided without the user (or 'literature'), which the answer carries word for word
- `method` (object): For the audits, any of: literature_search [{query, date, tool, found: [ref ids], note}] or [{unavailable: true, reason_code: "no_search_tool" | "network_blocked", reason}]; references [{id, citation,…
- `questions` (array)

### `check_key` (~140 tokens)

Check key

Whether a source's API key is set up (never shows the key) and, if not, what the user does. When a key is set up and the source has a live check, it is tested with one small call to the agency's own site: key.live.outcome is accepted, rejected (code key_rejected, with the fix), unreachable (the host did not answer; the key was not tested) or unclear. Sources without a live check say tested: false. live: false skips the call.

Input parameters:

- `live` (boolean): false: only say whether a key is set up (no call)
- `source` (string, required)

### `fetch` (~179 tokens)

Fetch data

Download data from the agency into this session's workspace (CSV per request, data dictionary, README with the citation and terms, request.json with every URL made). Returns a summary (rows, columns, a few rows), the files, the citation and notes; status partial when a row cap was hit. Refuses (gate_blocked) until source_brief, request_schema and record_decisions are done for this source.

Input parameters:

- `force` (boolean): Fetch again even if the workspace has this exact request
- `source` (string, required)
- `spec` (object, required): Most sources: {"description": "...", "requests": [{"name", "endpoint", "params", "max_rows"}]}. Deep sources (bea, bls, fred, ipums, opm, treasury) have their own format: see source_brief and request…

### `manual_bundle` (~105 tokens)

Manual download bundle

When this server cannot get the data (no key stored here, a host that refuses scripts, a network block): write one bundle for one or more sources with download scripts (.sh and .ps1, every request built in, any key asked with hidden input on the user's own computer) and INSTRUCTIONS.md. Then ingest the files the user downloads.

Input parameters:

- `reason` (string): Why the user downloads by hand (shown in INSTRUCTIONS.md)
- `sources` (array, required)

### `ingest` (~134 tokens)

Ingest downloaded files

Package files the user downloaded (from manual_bundle, a keyless_file, or the agency's site) like a fetch: CSVs, data dictionary, README and provenance. The same gate as fetch applies.

Input parameters:

- `files` (array, required): Paths of the downloaded files or their folder
- `source` (string, required)
- `spec` (object, required): Most sources: {"description": "...", "requests": [{"name", "endpoint", "params", "max_rows"}]}. Deep sources (bea, bls, fred, ipums, opm, treasury) have their own format: see source_brief and request…

### `read_file` (~126 tokens)

Read workspace file

A text file from this session's workspace (a fetched CSV, README, request.json): the first 20 KB, or max_bytes up to 100 KB. With match (a regular expression, case-insensitive), only the header line and the lines that match, numbered: look up variables in a codebook or data dictionary this way.

Input parameters:

- `match` (string): e.g. "^(COW|ESR|POWSP),"
- `max_bytes` (number)
- `path` (string, required): Relative to the workspace, or a path a fetch result listed

### `compute` (~483 tokens)

Compute an exhibit

Run declarative steps over full workspace tables (data/<id>/<table>.csv or .parquet, earlier exhibits, published/*.csv) and save exhibits/<name>.csv with its lineage, so the rerun gate can replay it. Call it for every table the answer or report draws numbers from; never compute cited numbers by hand.
Steps, one verb each: filter, derive, select, rename, groupby with rollup (or with derive/filter for per-group windows and shares), join, pivot_wider, pivot_longer, orderby, slice, dedupe, concat, as, from; helpers fiscal_year, to_fiscal, state_codes, deflate, align_check (before joining two sources); replicate_se (survey standard errors and MOEs from replicate weights, e.g. ACS PUMS PWGTP1:PWGTP80 with sdr). Example: [{"filter": "AGEP >= 16"}, {"derive": {"fed": "COW == 5 ? 1 : 0"}}, {"groupby": ["fed"], "rollup": {"n": "sum(PWGTP)"}}].
Expressions: column names (col("a b") for odd ones), numbers, "text", + - * / % **, comparisons, && || !, c ? a : b, and the listed functions, aggregates and windows. guide("compute") has every verb's arguments, the function list and the replicate_se methods. For a big file, name the columns: {alias: {path, columns}}. Returns the columns, row count, a short preview and the file.

Input parameters:

- `from` (string): The input alias the steps start from (default: the first)
- `inputs` (object, required): {alias: "data/<id>/<table>.csv" | "data/<id>/<table>.parquet" | "exhibits/<x>.csv" | "published/<x>.csv" | {path, columns: [the columns to read]}}
- `packs` (array): Source packs of the result (default: inferred from the inputs)
- `preview` (number): Rows to show (default 20, at most 50)
- `save_as` (string, required): exhibits/<name>.csv
- `steps` (array, required): The steps, in order (see the description)

### `facts` (~379 tokens)

Register facts

Register every number the answer or report cites in facts.json. A table fact (add) is one cell of a saved CSV: table (exhibits/<x>.csv, data/<id>/<t>.csv or published/<x>.csv), where (the row's key values, matched to the CSV's own text) and column; its value is read from the cell. A derived fact (derived) has a derivation: written as an expression over fact names ("deaths_2024 / deaths_2020 - 1") it is computed here, so leave value out; a prose derivation needs value. Refuses empty cells and NaN, an ambiguous pack, unknown formats and units slips (a share given to pct100, millions given to usd_b ...); nothing is saved when any fact is refused. Returns this call's facts with their text (the value as the answer prints it: quote it exactly) and notes (rounding ties); with no arguments, every fact registered so far. fmt codes: raw, num:0, pct:1 (share 0-1), pct100:1 (already percent), pp:1, pp100:1, bp:0, dollars:0, thousands:-3, millions:1, billions:1, usd_b:1 (value in dollars), usd_b_scaled:1 (already billions), ratio:2, index:1, year; prefixes signed:, abs:, from_millions: ...; suffix :abs. pack is inferred from data/<id>/ or the exhibit's lineage.

Input parameters:

- `add` (array): Table facts
- `derived` (array): Derived facts (after the table facts of this call)
- `pack`: Default source pack(s) for this call's facts
- `remove` (array): Fact names to drop

### `rerun` (~71 tokens)

Rerun the analysis

Replay every exhibit's recorded compute steps from its inputs and recompute every fact, without writing anything. Returns, per exhibit, whether the replay gives the same CSV, and per fact the stored and rerun values; reproduced is true only when everything matches. The audits run the same check with rerun: true.

### `cite` (~141 tokens)

Snapshot a cited page

Save a page a method record cites into references/<id>.* and record it in references/opened.json, so "opened": true on that reference is backed by a snapshot the audit checks (and the quote is looked up in it). Pass text: the text your own fetch tool returned for the page; without text the server downloads it. Returns the record and the decisions.json reference entry to write.

Input parameters:

- `id` (string, required): The reference id ([@id]): letters, digits, _ and -
- `text` (string): The page text your fetch tool returned
- `url` (string, required): The page's http(s) URL (the url in references)

### `handoff` (~91 tokens)

Data hand-off

What each source delivered, read back from the workspace's provenance files: per source the route and retrieval date, the files with row counts, every caveat note and problem, and a short preview of each table (none for microdata), plus figures read from agency pages (published/). Returns text (ready-to-send Markdown: the per-source part of a data hand-off) and the same as structured data.

### `write_table` (~169 tokens)

Write a method table

Write one of the tables the audits require that are not computed from fetched data: exhibits/benchmark.csv (measure, period, computed, published, source, url, accessed, match, note: each headline against the agency's published figure; "not checked" when none exists), exhibits/sensitivity.csv (parameter, base, alternative, headline_base, headline_alt, conclusion_changes: yes/no; the headlines are registered facts), or published/<name>.csv (a figure only an agency page publishes, as the page shows it, with source_url and accessed YYYY-MM-DD on every row). Data exhibits come from compute instead.

Input parameters:

- `columns` (array, required)
- `path` (string, required): exhibits/benchmark.csv, exhibits/sensitivity.csv or published/<name>.csv
- `rows` (array, required)

### `audit_answer` (~251 tokens)

Audit a quick answer

The release gate for a quick answer: call it with the reply exactly as you will send it, after the facts, decisions, references (cite) and exhibits/benchmark.csv are in the workspace. It saves the reply as answer.md and checks that every number in it is a registered fact as its format prints it (or a credited published figure, or in decisions.json audit_allow), that directions, years, rows and names match those facts, that dollar comparisons across years state nominal or real, the method record (questions, literature, disclosures, references opened, assumptions, sensitivity, data needs, benchmark), provenance, links (online: true requests them) and secrets; rerun: true replays every exhibit recipe and fact. Returns one line per check, the failures with their messages (verbose: every check), and "AUDIT PASSED" only when nothing fails. Send the answer only after it passes.

Input parameters:

- `answer` (string, required): The reply as it will be sent (Markdown)
- `online` (boolean): Also request every external link
- `rerun` (boolean): Replay every exhibit recipe and recompute every fact
- `verbose` (boolean): List every check, not only the failures

### `build_report` (~272 tokens)

Build the report

Build a self-contained HTML report or paper (report.html) and replication_package.zip from a report.json object (mode report: an exhibit chartbook; mode paper: prose-led). Facts are cited as {{name}} or {{name|fmt}}, references as [@id], footnotes as [^n]; exhibits name a CSV in exhibits/ and a chart {type, x, y, series, ...}. Each source's notices, Data Vintage block and redistribution rules are applied (microdata and withheld rows never enter the ZIP). Every report.json key (chart types and options, cover, notes_page, footnote scoping, clearance, replication) is listed in guide("report_schema"); guide("report") is the short form. Send the report once: later fixes are a patch (no report: the workspace's report.json is rebuilt). Returns the paths and the style score with the sentences to fix; call audit_report next.

Input parameters:

- `patch` (object): Changes by dotted path, e.g. {"sections.0.body": "...", "exhibits.1.title": "..."}; null removes a key
- `report` (object): The report.json object (title, mode, sources, at_a_glance, sections, exhibits, methods, ...). Default: the workspace's report.json

### `audit_report` (~168 tokens)

Audit the report

The release gate for a report built with build_report: facts, hand-typed numbers, exhibits, links (online: true requests them), the page (up to date, disclaimer, nothing external, no raw markup), vintage, each source's notices and audit hooks, clearances, secrets, style, chartbook structure, the method record, benchmarks and the replication package; rerun: true replays every exhibit recipe and fact. Returns one line per check, the failures with their messages (verbose: every check), and "AUDIT PASSED" only when nothing fails.

Input parameters:

- `online` (boolean): Also request every external link
- `rerun` (boolean): Replay every exhibit recipe and recompute every fact
- `verbose` (boolean): List every check, not only the failures

### `style_check` (~120 tokens)

Check the report's style

Lint the prose of report.json (or the report object given) against the house style guide: percent in words, no first person, small numbers spelled out, plain words, sentence length. Returns the score (percent of sentences with no issue; target 90) and every sentence with its issues. Nothing is written into the report. build_report already returns the score and the first issues.

Input parameters:

- `min` (number): The target score (default 90)
- `report` (object): A report.json object; default: the workspace's report.json

### `scan_secrets` (~94 tokens)

Scan for keys

Check every workspace file (and every member of a ZIP) for an API key or credential: the value of any key this server can find, key-shaped assignments and URL parameters, and for sources that echo keys any 32-hex token. Lists file names and line numbers only, never values. Both audits run it too.

Input parameters:

- `sources` (array): Source ids used (default: the data/<id>/ folders)

### `open_workspace` (~104 tokens)

Reopen a workspace

Continue in an earlier workspace after the server restarted (a restart starts a new, empty workspace; the earlier files stay on disk). Without path: the recent workspaces with their titles and files. With path: later tools work in that workspace. Use it when a tool says report.json, facts.json or data files are missing although an earlier call made them. Local server only.

Input parameters:

- `path` (string): A workspace path or name from the list; omit to list them

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/zsu-data-analyst-mcp/data-analyst-mcp#diagnostics

## Score history

- 2026-11-28: 84
- 2026-11-27: 84
- 2026-11-26: 83
- 2026-11-25: 68
- 2026-11-24: 81
- 2026-11-23: 81
- 2026-11-22: 81
- 2026-11-21: 66

## Common questions

### What is the US Government Data Analyst MCP server?

US Government Data Analyst is an MCP server listed in the public MCP registry as io.github.zsu/data-analyst-mcp. U.S. government economic data (FRED, BLS, BEA, Census, Treasury and more), cited and audited. This page covers its npm package (data-analyst-mcp).

### Is the US Government Data Analyst MCP server safe to use?

US Government Data Analyst scores 84 out of 100 on VerifyMCP. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the US Government Data Analyst MCP server expose?

US Government Data Analyst exposes 22 tools: guide, find_sources, source_brief, request_schema, record_decisions, and 17 more. Their descriptions and schemas cost roughly 3,816 tokens of context every time the server is loaded.

### Is the US Government Data Analyst MCP server still maintained?

US Government Data Analyst is still listed as active in the MCP registry. We last reached this channel on 28 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the US Government Data Analyst MCP server under?

US Government Data Analyst declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the US Government Data Analyst MCP server?

VerifyMCP ran 16 checks on US Government Data Analyst, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to an npm package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- npm package: https://www.npmjs.com/package/data-analyst-mcp
- Socket report: https://socket.dev/npm/package/data-analyst-mcp
- Repository: https://github.com/zsu/data-analyst-mcp
- Website: https://zsu.github.io/data-analyst-mcp/
- Changelog RSS feed: https://verifymcp.io/servers/zsu-data-analyst-mcp/data-analyst-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/zsu-data-analyst-mcp/data-analyst-mcp/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/zsu-data-analyst-mcp/data-analyst-mcp.json
- HTML version of this page: https://verifymcp.io/servers/zsu-data-analyst-mcp/data-analyst-mcp
