Skip to content

treasury-fiscaldata-mcp-server

io.github.cyanheads/treasury-fiscaldata-mcp-servercyanheadsstreamable-httpv0.5.0Scanned

Query US Treasury national debt, interest rates, exchange rates, and fiscal datasets via MCP.

7 tools: 1 change things and 6 only read.

Tools: 0 delete, 0 irreversible, 1 write, 6 read.
  • Reads private data · 1
  • Reads text others write · 2
  • Can send data out · 1
  • 1 finding

Tools listed without sign-in. Remote posture

With Anlyon

1 tool here changes things. Govern it.

  • Anlyon lists the tools and adopts none.
  • Each tool you adopt gets approvals and receipts.
  • Your agent never holds the key.
Govern this server →

A tool your agent calls directly is not routed through Anlyon and is not governed by it. Anlyon Radar only lists and labels, and these labels are the same either way.

What the treasury-fiscaldata-mcp-server can do

The treasury-fiscaldata-mcp-server is published by the GitHub account cyanheads. It has 7 tools. It can create or change data (1 tool: treasury_dataframe_query), but cannot delete data. 6 tools only read.

1 tool reads private data (treasury_dataframe_query); 2 tools bring in text other people can write (treasury_list_datasets and treasury_query_dataset); 1 tool can send data out of your system (treasury_query_dataset). On its own it has all three parts of a prompt-injection exfiltration path: private data, text others write, and a way out.

The fixed checks matched 1 finding (annotation-conflict). Each one comes with the text it matched.

Its remote endpoint lists its tools without sign-in, and its tools changed once since Anlyon Radar first saw them.

Last scanned Nov 16, 2026, version 0.5.0.

Tools

Grouped by what each tool does, most consequential first. Open one for its reasons and full description; descriptions are the publisher's own words.

7 tools

Changes things 1Claude Code: ask
  • treasury_dataframe_queryRun a single-statement SELECT against DataCanvas dataframes registered by treasury_query_dataset, treasury_get_debt, treasury_get_interest_rates, and treasury_get_exchange_rates.Reads private data1 finding

    Why it is in this group

    • The name "treasury_dataframe_query" says "query": a word for reading.
    • The description's first verb is "run": a word for a change.
    • The input takes a statement or command to run (input.sql), which can change anything it can reach.
    • The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.

    What it can reach

    • private-dataThe name says "query" and the input takes a statement (input.sql): it reads databases.

    Findings

    • Warn

      The server marks "treasury_dataframe_query" read-only (readOnlyHint: true), and its own name, description or input give the class "write".

      Matched text

      annotations: {"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false}; The name "treasury_dataframe_query" says "query": a word for reading.

      What this check looks for
    Description, as the server wrote it
    Run a single-statement SELECT against DataCanvas dataframes registered by treasury_query_dataset, treasury_get_debt, treasury_get_interest_rates, and treasury_get_exchange_rates. Read-only: writes, DDL, DROP, COPY, PRAGMA, ATTACH, and external-file table functions are rejected. System catalogs (information_schema, pg_catalog, sqlite_master, duckdb_*) are denied at the bridge layer. Tables staged from Treasury API rows hold every column as VARCHAR — CAST to DECIMAL or DATE for arithmetic and date comparisons; a register_as table keeps the column types its SELECT produced. Use treasury_dataframe_describe to list available table names and column schemas before querying.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: false
Only reads 6Show 6 read-only tools
  • treasury_dataframe_describeList DataCanvas dataframes materialized by treasury_query_dataset, treasury_get_debt, treasury_get_interest_rates, and treasury_get_exchange_rates.No findings

    Why it is in this group

    • The name "treasury_dataframe_describe" says "describe": a word for reading.
    Description, as the server wrote it
    List DataCanvas dataframes materialized by treasury_query_dataset, treasury_get_debt, treasury_get_interest_rates, and treasury_get_exchange_rates. Each entry surfaces source tool, query parameters, creation/expiry timestamps, row count, and column schema. Use this tool before treasury_dataframe_query to discover table names and column types. Requires CANVAS_PROVIDER_TYPE=duckdb.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: false
  • treasury_get_debtFetch national debt (Debt to the Penny) — total public debt outstanding broken into publicly-held debt and intragovernmental holdings.No findings

    Why it is in this group

    • The name "treasury_get_debt" says "get": a word for reading.
    Description, as the server wrote it
    Fetch national debt (Debt to the Penny) — total public debt outstanding broken into publicly-held debt and intragovernmental holdings. Three modes: "latest" returns the most recent business day's record; "date" returns the record for a specific date (must be a business day — the API only records debt on days markets are open); "series" returns a date range, staging the full result as a DataCanvas table when canvas_id is set or the range matches more than 500 rows — read the table's column schema with treasury_dataframe_describe, then run SQL over it with treasury_dataframe_query. Records go back to 1993-04-01.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
  • treasury_get_exchange_ratesOfficial Treasury reporting exchange rates for ~165 countries — the rates US federal agencies are required to use when converting foreign currency to USD for official reporting.No findings

    Why it is in this group

    • The name "treasury_get_exchange_rates" says "get": a word for reading.
    Description, as the server wrote it
    Official Treasury reporting exchange rates for ~165 countries — the rates US federal agencies are required to use when converting foreign currency to USD for official reporting. Published quarterly (March 31, June 30, Sep 30, Dec 31); mode "latest" returns the most recently published quarter. Rate is expressed as foreign currency units per 1 USD (e.g., a Japan-Yen rate of 159.41 means 1 USD = 159.41 JPY). These are NOT market exchange rates and are not suitable for financial transaction pricing. Mode "series" stages the result as a DataCanvas table when canvas_id is set or the range matches more than 500 rows — read the table's column schema with treasury_dataframe_describe, then run SQL over it with treasury_dataframe_query.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
  • treasury_get_interest_ratesAverage interest rates Treasury pays on its outstanding securities by security type.No findings

    Why it is in this group

    • The name "treasury_get_interest_rates" says "get": a word for reading.
    Description, as the server wrote it
    Average interest rates Treasury pays on its outstanding securities by security type. Answers "what is the government's cost of borrowing?" Covers every type Treasury reports — marketable issues, non-marketable series, and the aggregate totals — and which types it reports changes over the years, so omit security_type to see the ones a given period carries. Rates are percentages, not basis points. Updated monthly (end-of-month records). Mode "latest" returns the most recent month's rates for all or one security type; "series" returns a time history, staging the result as a DataCanvas table when canvas_id is set or the range matches more than 200 rows — read the table's column schema with treasury_dataframe_describe, then run SQL over it with treasury_dataframe_query.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
  • treasury_list_datasetsBrowse the curated catalog of US Treasury Fiscal Data API endpoints.Reads text others writeNo findings

    Why it is in this group

    • The name "treasury_list_datasets" says "list": a word for reading.

    What it can reach

    • untrusted-inputThe description's first sentence says "browse": it reads web pages, which anyone can write.
    Description, as the server wrote it
    Browse the curated catalog of US Treasury Fiscal Data API endpoints. Returns endpoint paths, field names, descriptions, and update cadence for each dataset. Use this tool before treasury_query_dataset to discover the correct endpoint path and field names. The catalog is a curated subset of the full API — pass any endpoint path directly to treasury_query_dataset to query datasets not listed here; a field name the endpoint lacks fails with an error that lists every field it has. The catalog covers debt, interest rates, exchange rates, revenue/spending, savings bonds, and securities datasets.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
  • treasury_query_datasetQuery any Treasury Fiscal Data endpoint by path, field list, filters, sort, and page.Reads text others writeCan send data outNo findings

    Why it is in this group

    • The name "treasury_query_dataset" says "query": a word for reading.

    What it can reach

    • untrusted-inputThe input takes a URL (input.endpoint), and the tool reads it: it reads web pages, which anyone can write.
    • outboundThe input takes a URL (input.endpoint): a request to a URL can carry data to whoever runs it.

    Claude Code: ask, because it is tagged outbound.

    Description, as the server wrote it
    Query any Treasury Fiscal Data endpoint by path, field list, filters, sort, and page. Call treasury_list_datasets first to get the correct endpoint path and exact field names; a field name the endpoint lacks fails with an error listing every field it has. Filter syntax: each condition is { field, operator, value } where operator is eq/gt/gte/lt/lte/in (e.g., record_date:gte:2024-01-01). Multiple conditions are ANDed together. All response values are strings per the API contract, including numbers and dates; "null" (string) means no value. Supply canvas_id to stage the page result as a DataCanvas table — read its column schema with treasury_dataframe_describe, then run SQL over it with treasury_dataframe_query (requires CANVAS_PROVIDER_TYPE=duckdb on the server).

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true

This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.

Exfil surface

Which tools read private data, which read text someone else can write, and which can send data out. One of each is a path a prompt injection can use.

2 paths in this server alone from private data, through text someone else wrote, to a way out. Denying 1 outbound tool breaks every one.

Reads private data1
Reads files, mail, messages, databases, secrets, calendars or repositories.
Reads text others write2
Brings in text someone else can write: web pages, inbound email, messages, issues and comments.
Can send data out1
Can carry data to people or systems: it sends, posts or publishes, or takes a recipient, channel or URL.
deny to break every path
{
  "permissions": {
    "deny": [
      "mcp__treasury-fiscaldata__treasury_query_dataset"
    ]
  }
}

Other servers in the same agent add their own tools to these paths. Audit your whole setup to see them together.

Remote posture

What anyone on the internet sees at the remote endpoint: an anonymous initialize and tools/list, and the public OAuth metadata.

Tools listed without sign-in

Looked at Nov 20, 2026, 19:34 UTC, unchanged since Oct 22, 2026. No credentials were sent and no tool was called. What is looked at.

Reachable
yes
HTTP status of an anonymous initialize
200
tools/list served without credentials
yes
Tools that change things, listed without credentials
1
Protocol version
2025-06-18
WWW-Authenticate on 401
not observed
resource_metadata in WWW-Authenticate
not observed
RFC 9728 protected resource metadata
not observed
Authorization servers
not observed
Legacy HTTP+SSE transport
no
Dynamic client registration
not observed
Client ID metadata documents
not observed
  • WarnThe whole server

    The endpoint served tools/list without credentials, and the list has 1 tool that changes things (1 write). Whether a call also works without credentials was not tested: tools are never called.

    Matched text

    https://treasury-fiscaldata.caseyjhand.com/mcp: tools/list returned 7 tools to an anonymous client, including treasury_dataframe_query (write)

    What this check looks for

Findings

Matches of fixed checks, with the text they matched.

1 warn
  • The server marks "treasury_dataframe_query" read-only (readOnlyHint: true), and its own name, description or input give the class "write".

    Matched text

    annotations: {"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false}; The name "treasury_dataframe_query" says "query": a word for reading.

    What this check looks for

History

Changes to its tool definitions and to its remote endpoint, newest first.

  1. Tools3 changed.~3 changedView diff

Install

Pinned to version 0.5.0. Values in angle brackets are yours to fill in.

claude mcp add --transport http treasury-fiscaldata https://treasury-fiscaldata.caseyjhand.com/mcp
claude mcp add --transport http treasury-fiscaldata https://treasury-fiscaldata.caseyjhand.com/mcp

Run in a terminal.

Claude Code permissions

Allow the reads, ask before a change or a way out, deny the deletes. Paste into .claude/settings.json.

.claude/settings.json
{
  "permissions": {
    "allow": [
      "mcp__treasury-fiscaldata__treasury_list_datasets",
      "mcp__treasury-fiscaldata__treasury_get_debt",
      "mcp__treasury-fiscaldata__treasury_get_interest_rates",
      "mcp__treasury-fiscaldata__treasury_get_exchange_rates",
      "mcp__treasury-fiscaldata__treasury_dataframe_describe"
    ],
    "ask": [
      "mcp__treasury-fiscaldata__treasury_query_dataset",
      "mcp__treasury-fiscaldata__treasury_dataframe_query"
    ],
    "deny": []
  }
}

Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. A read that can send data out (it takes a URL, say) asks first too. It assumes the server is installed as treasury-fiscaldata. Review it before you use it.

Capability tags behind 3 rules
  • mcp__treasury-fiscaldata__treasury_list_datasets untrusted-input
  • mcp__treasury-fiscaldata__treasury_query_dataset untrusted-input, outbound
  • mcp__treasury-fiscaldata__treasury_dataframe_query private-data

Pin

Keep the decision: fail CI when the tools change, follow every change, or show a badge.

Pin in CI

Fail a build when the tools you reviewed are not the tools the server serves today.

curl -s "https://radar.anlyon.com/api/v1/servers/io.github.cyanheads/treasury-fiscaldata-mcp-server/verify?hash=a3d72145ac1a3ebc2907ed549f01c41ad30c9492ffe55e765a0980c1e1ca0471" | jq -e '.changed == false'

Pinned hash a3d72145ac1a, from Nov 16, 2026, 11:19 UTC.

Watch

Get told when its tools change: a new tool, a new description, a new class.

https://radar.anlyon.com/servers/io.github.cyanheads/treasury-fiscaldata-mcp-server/changes.xml

An Atom feed. Works in any feed reader or Slack's RSS app.

Badge

Anlyon Radar badge for io.github.cyanheads/treasury-fiscaldata-mcp-server
[![Anlyon Radar](https://radar.anlyon.com/badge/io.github.cyanheads/treasury-fiscaldata-mcp-server.svg)](https://radar.anlyon.com/servers/io.github.cyanheads/treasury-fiscaldata-mcp-server)

Source: MCP Registry · repository. Synced Nov 16, 2026, 11:17 UTC.

treasury-fiscaldata-mcp-server: questions and answers

Answered from the scan above, not from the publisher's description.

Is the treasury-fiscaldata-mcp-server safe?

No scan can promise that. What its definitions show: 7 tools, 1 of which can change, send or delete something, and 1 finding from fixed checks. Allow the reads, ask before each change, and deny the deletes; the permissions block on this page does that.

Can the treasury-fiscaldata-mcp-server delete data?

No tool is classed as destructive: going by their definitions, none of them deletes, cancels or revokes anything.

Can the treasury-fiscaldata-mcp-server do things that cannot be undone?

No tool is classed as irreversible: none of them sends, pays, publishes or merges, going by their definitions.

What tools does the treasury-fiscaldata-mcp-server have?

7 tools: 1 write, 6 read. treasury_dataframe_query, treasury_list_datasets, treasury_query_dataset, treasury_get_debt, treasury_get_interest_rates, treasury_get_exchange_rates and treasury_dataframe_describe.

Does the treasury-fiscaldata-mcp-server need sign-in or OAuth?

Its remote endpoint listed its tools to an anonymous client, without sign-in.

Does the treasury-fiscaldata-mcp-server send data to outside services?

1 tool can carry data out (it sends, posts or publishes, or takes a recipient, channel or URL): treasury_query_dataset.

Has the treasury-fiscaldata-mcp-server changed its tools?

Yes, once since Anlyon Radar started tracking it, most recently on Nov 16, 2026. Every change is on this page and in its Atom feed.