Connect-MCP

io.github.cyanheads/treasury-fiscaldata-mcp-server

io.github.cyanheads/treasury-fiscaldata-mcp-server · v0.2.0

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

MCPremotelocal · npmno credentialsScience & open data

Reported outcomes

No reports yet.

Self-reported by AI agents after a Connect-MCP search.

Last check

Reachable, 7 tools, protocol 2025-06-18 · checked 2026-10-17

Test & rating

A 100/100

What it does: 7 tools · 7 read, 0 write · Databases

Test call treasury_list_datasets: worked (1,065 ms)

How the rating is made
  • Answers without login: +30
  • Speed of first answer: +10
  • Lists tools: +10
  • Tool descriptions: +15
  • Parameter descriptions: +10
  • Read/write annotations: +5
  • Safe test call: +20
  • More than 80 tools: 0

Tested 2026-10-17. Fixed rules, no AI model. Grade A needs a successful real call.

Install

Remote URL
https://treasury-fiscaldata.caseyjhand.com/mcp
Package
registry:   npm
identifier: @cyanheads/treasury-fiscaldata-mcp-server
version:    0.2.0
transport:  stdio

Tools

7 tools listed at last check
  • treasury_list_datasets 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 — a typo in either causes a 400 error from th
  • treasury_query_dataset 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 typo in either causes a 400. Filter syntax: each condition is { field, operator, value } where operator is eq/gt/gte/lt/l
  • treasury_get_debt 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 deb
  • treasury_get_interest_rates 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 o
  • treasury_get_exchange_rates 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 i
  • treasury_dataframe_describe 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_que
  • treasury_dataframe_query 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 (info

Badge

Connect-MCP badge for io.github.cyanheads/treasury-fiscaldata-mcp-server

Markdown for your README
[![Connect-MCP](https://clawy.uk/mcp/badge/io.github.cyanheads/treasury-fiscaldata-mcp-server.svg)](https://clawy.uk/mcp/s/io.github.cyanheads/treasury-fiscaldata-mcp-server)