io.github.cyanheads/treasury-fiscaldata-mcp-server
REMOTE · TREASURY-FISCALDATA.CASEYJHAND.COM · 2 COMPONENTS · SCANNED AUG 3
MCP server for US Treasury Fiscal Data — debt, interest rates, exchange rates, and spending.
How this component scores in each security and reliability category. Every signal is checked automatically against the live server, and we only credit what we can confirm. How we score →
Endpoint Security66
- The endpoint's TLS certificate is valid, in date, and uses a strong key. View diagnostics → Pass
- Authorisation not fully verified: no authorisation is required to call this server, and 7 tool(s) never declared a destructiveHint. The MCP spec treats an absent hint as destructive by default, so we cannot call this surface safe. See how to fix → View diagnostics → Unverified
- HTTPS is enforced; there's no plaintext access path. View diagnostics → Pass
- The HSTS (Strict-Transport-Security) header is present. View diagnostics → Pass
- DNSSEC is configured correctly; the domain's records validate against the full chain to the root. View diagnostics → Pass
Transport & Reachability100
- Verified streamable-http transport via a live MCP handshake. View diagnostics → Pass
Schema Quality & AI Usability63
- AI-judged instruction clarity (excellent).Pass
- Context-footprint check failed: tool/resource definitions use about 2204 tokens (~314/item across 7 items; 7 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
- Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
- Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
remote · treasury-fiscaldata.caseyjhand.com
claude mcp add --transport http cyanheads-treasury-fiscaldata-mcp-server https://treasury-fiscaldata.caseyjhand.com/mcp
[mcp_servers.cyanheads-treasury-fiscaldata-mcp-server] url = "https://treasury-fiscaldata.caseyjhand.com/mcp"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"cyanheads-treasury-fiscaldata-mcp-server": {
"type": "remote",
"url": "https://treasury-fiscaldata.caseyjhand.com/mcp",
"enabled": true
}
}
} openclaw mcp add cyanheads-treasury-fiscaldata-mcp-server --url https://treasury-fiscaldata.caseyjhand.com/mcp --transport streamable-http
mcp_servers:
cyanheads-treasury-fiscaldata-mcp-server:
url: "https://treasury-fiscaldata.caseyjhand.com/mcp" {
"mcpServers": {
"cyanheads-treasury-fiscaldata-mcp-server": {
"type": "http",
"url": "https://treasury-fiscaldata.caseyjhand.com/mcp"
}
}
} The mcpServers block is a cross-client convention. Remote transports vary, so check your client's docs.
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 3 Aug 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.
- 31 Jul 26 +2
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 30 Jul 26 +1
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 28 Jul 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 3 to 7. That category is still filling its 30-day observation window: 1 days of observed history at the previous scan, 2 at this one. The score rises as the window fills, whether or not the server changes.
- 27 Jul 26 +1
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 26 Jul 26 62
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 3 Aug 2026 · Probed https://treasury-fiscaldata.caseyjhand.com/mcp
TLS valid
Negotiated TLS 1.3 with TLS_AES_128_GCM_SHA256 .
| Subject | Issuer | Valid from | Valid until | Key | Signature | Serial |
|---|---|---|---|---|---|---|
| CN=caseyjhand.com | CN=WE1,O=Google Trust Services,C=US | 7 Jul 2026 | 5 Oct 2026 | ECDSA 256 | ECDSA-SHA256 | 5aad900eb2055a0b0ea55912ec19680c |
| SANs: caseyjhand.com, *.caseyjhand.com | ||||||
| CN=WE1,O=Google Trust Services,C=US (CA) | CN=GTS Root R4,O=Google Trust Services LLC,C=US | 13 Dec 2023 | 20 Feb 2029 | ECDSA 256 | ECDSA-SHA384 | 7ff31977972c224a76155d13b6d685e3 |
| CN=GTS Root R4,O=Google Trust Services LLC,C=US (CA) | CN=GlobalSign Root CA,OU=Root CA,O=GlobalSign nv-sa,C=BE | 15 Nov 2023 | 28 Jan 2028 | ECDSA 384 | SHA256-RSA | 7fe530bf331343bedd821610493d8a1b |
DNSSEC secure
Validation of treasury-fiscaldata.caseyjhand.com. — Secure
| Zone | DS | Keys | Algorithms | Outcome |
|---|---|---|---|---|
| . | trust_anchor | 20326, 38696 | 8, 8 | Verified |
| com. | present | 19718 | 13 | Verified |
| caseyjhand.com. | present | 2371 | 13 | Verified |
| treasury-fiscaldata.caseyjhand.com. | Verified address RRset verified with the apex keys |
Authentication No authorisation required
The endpoint answered without asking for a token. Anyone who knows the URL can reach it.
| Result | No authorisation required |
|---|---|
| HTTP status | 200 |
| Header | Value |
|---|---|
| strict-transport-security | max-age=63072000; includeSubDomains; preload |
| x-content-type-options | nosniff |
Transports 2 probes
| Transport | URL | Outcome | Status | Location |
|---|---|---|---|---|
| streamable-http | https://treasury-fiscaldata.caseyjhand.com/mcp | Verified | 200 | |
| http (plaintext) | http://treasury-fiscaldata.caseyjhand.com/mcp | HTTPS enforced | 301 | https://treasury-fiscaldata.caseyjhand.com/mcp |
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
treasury_dataframe_describe Describe Treasury Dataframes ~115
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.
| Name | Type | Req | Description |
|---|---|---|---|
| name | string | — | Optional dataframe table name (df_XXXXX_XXXXX) to describe a single dataframe. Omit to list all active dataframes. |
| Name | Type | Req | Description |
|---|---|---|---|
| dataframes | array | yes | Active dataframes for this tenant, newest first. Empty when none are registered. |
No examples provided.
treasury_dataframe_query Query Treasury Dataframes ~290
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. All Treasury dataframe columns are VARCHAR — CAST to DECIMAL or DATE for arithmetic and date comparisons. Use treasury_dataframe_describe to list available table names and column schemas before querying.
| Name | Type | Req | Description |
|---|---|---|---|
| preview | integer | — | Rows in the immediate response. Defaults to row_limit. Set lower when using register_as. |
| register_as | string | — | Persist result as a new dataframe. Use to chain analyses. The name must match df_XXXXX_XXXXX format or be a fresh df_<id>. |
| row_limit | integer | — | Hard cap on rows in the response. Default 1000, max 10000. |
| sql | string | yes | Single-statement SELECT against df_<id> tables. All values in Treasury dataframes are VARCHAR (strings) per the API contract — CAST to DECIMAL or DATE for arithmetic and date comparisons. Example: SE… |
| Name | Type | Req | Description |
|---|---|---|---|
| columns | array | yes | Column names in projection order. |
| expires_at | string | — | ISO 8601 expiry timestamp for the newly registered dataframe, when applicable. |
| notice | string | — | Guidance when the query returned no rows, or when results were capped by row_limit. |
| registered_as | string | — | Set when register_as was supplied and the new dataframe was materialized. |
| row_count | number | yes | Total rows the query produced (may exceed rows.length when capped). |
| rows | array | yes | Materialized rows, bounded by preview / row_limit. |
No examples provided.
treasury_get_debt Get National Debt ~345
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 and optionally spills results to DataCanvas for SQL analysis via treasury_dataframe_query. Records go back to 1993-01-04. As of 2026-05-28 the total debt is approximately $39.18T.
| Name | Type | Req | Description |
|---|---|---|---|
| canvas_id | string | — | DataCanvas table name (df_XXXXX_XXXXX) to register series results into for SQL analysis. When provided, or when the series exceeds 500 rows, the full result is registered and the name is returned in… |
| date | string | — | ISO 8601 date (YYYY-MM-DD) for mode=date. Must be a business day; the API only records debt on days the market is open. |
| end_date | string | — | ISO 8601 end date for mode=series (inclusive). Defaults to today. |
| mode | string | — | "latest" returns the most recent day's record. "date" returns the record for a specific date. "series" returns a date range — use with start_date and end_date. |
| start_date | string | — | ISO 8601 start date for mode=series (inclusive). Fiscal Data has daily debt records back to 1993-01-04. |
| Name | Type | Req | Description |
|---|---|---|---|
| canvas_expires_at | string | — | ISO 8601 expiry for the canvas dataframe. |
| canvas_id | string | — | DataCanvas table name when series was spilled. Use treasury_dataframe_query to run SQL. |
| debt_held_public | string | yes | Debt held by the public (external creditors, Fed, foreign governments) in USD. |
| intragovernmental_holdings | string | yes | Intragovernmental holdings (debt owed to federal trust funds, Social Security, etc.) in USD. |
| record_date | string | yes | Date of this debt record (YYYY-MM-DD). For series mode, the most recent date. |
| series | array | — | All records for mode=series (may be truncated when spilled to canvas). |
| total_debt | string | yes | Total public debt outstanding in USD (string — convert as needed). Example: "39176301795549.40". |
| total_records | number | — | Total matching records for mode=series. |
No examples provided.
treasury_get_exchange_rates Get Treasury Exchange Rates ~348
Official Treasury reporting exchange rates for ~130 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). Rate is expressed as foreign currency units per 1 USD (e.g., Japan-Yen: 159.41 means 1 USD = 159.41 JPY). These are NOT market exchange rates and are not suitable for financial transaction pricing. The latest quarter available is 2026-03-31 (Q1 2026).
| Name | Type | Req | Description |
|---|---|---|---|
| canvas_id | string | — | DataCanvas table name (df_XXXXX_XXXXX) to register series results into for SQL analysis. Useful when pulling multi-year history for many countries (~18,800 rows total). When provided, or when mode=se… |
| countries | array | — | Filter to specific countries by exact country name (e.g., ["Japan", "Germany", "France"]). Case-sensitive, matches the "country" field. Omit for all ~130 countries in the quarter. |
| end_date | string | — | ISO 8601 end date for mode=series. |
| mode | string | — | "latest" returns the most recently published quarter's rates. "series" returns a date range of quarterly reports. |
| start_date | string | — | ISO 8601 start date for mode=series. Rates are published end-of-quarter (March 31, June 30, Sep 30, Dec 31). |
| Name | Type | Req | Description |
|---|---|---|---|
| as_of_date | string | yes | Quarter-end date of the most recent rates (YYYY-MM-DD). |
| canvas_expires_at | string | — | ISO 8601 expiry for the canvas dataframe. |
| canvas_id | string | — | DataCanvas table name for series results. Use treasury_dataframe_query to run SQL. |
| effective_date | string | yes | Effective date of the rates (same as record_date). |
| note | string | yes | Contextual note reminding that these are official reporting rates, not market rates. |
| notice | string | — | Guidance when a requested country was not found or returned no records. |
| rates | array | yes | Exchange rates for the requested countries/quarter. |
| total_records | number | yes | Total records returned. |
No examples provided.
treasury_get_interest_rates Get Treasury Interest Rates ~320
Average interest rates Treasury pays on its outstanding securities by security type. Answers "what is the government's cost of borrowing?" Covers Bills, Notes, Bonds, TIPS, Floating Rate Notes, and aggregate marketable/non-marketable totals. 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. As of 2026-04-30: Bills 3.696%, Notes 3.230%, Bonds 3.403%, TIPS 1.068%, FRN 3.764%, Total Interest-bearing Debt 3.340%.
| Name | Type | Req | Description |
|---|---|---|---|
| canvas_id | string | — | DataCanvas table name (df_XXXXX_XXXXX) to register series results into for SQL analysis. When provided, or when mode=series and results exceed 200 rows, the result is registered and canvas_id is retu… |
| end_date | string | — | ISO 8601 end date for mode=series. Defaults to today. |
| mode | string | — | "latest" returns the most recent month's rates. "series" returns a time range. |
| security_type | string | — | Filter to one security type. Omit for all types. Use the exact string — the API does exact-match filtering on security_desc. |
| start_date | string | — | ISO 8601 start date for mode=series (YYYY-MM-DD, must be end-of-month for meaningful results). |
| Name | Type | Req | Description |
|---|---|---|---|
| as_of_date | string | yes | Most recent record date returned (YYYY-MM-DD). |
| canvas_expires_at | string | — | ISO 8601 expiry for the canvas dataframe. |
| canvas_id | string | — | DataCanvas table name for series results. Use treasury_dataframe_query to run SQL. |
| notice | string | — | Guidance when no records match — lists valid security types or notes the empty date range. |
| rates | array | yes | Interest rate records. |
| total_records | number | yes | Total matching records. |
No examples provided.
treasury_list_datasets List Treasury Fiscal Data Datasets ~186
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 the API. 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. The catalog covers debt, interest rates, exchange rates, revenue/spending, savings bonds, and securities datasets.
| Name | Type | Req | Description |
|---|---|---|---|
| category | string | — | Filter by category. Omit to list all datasets. Options: debt, interest_rates, exchange_rates, revenue_spending, savings_bonds, securities, other. |
| search | string | — | Keyword filter against dataset name and description (case-insensitive substring match). Useful for narrowing results when the category is uncertain. |
| Name | Type | Req | Description |
|---|---|---|---|
| datasets | array | yes | Matching datasets. |
| total | number | yes | Total matching datasets. |
No examples provided.
treasury_query_dataset Query Treasury Fiscal Data Dataset ~424
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/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 register the page result into a named DataCanvas dataframe and query it later with treasury_dataframe_query (requires CANVAS_PROVIDER_TYPE=duckdb on the server).
| Name | Type | Req | Description |
|---|---|---|---|
| canvas_id | string | — | DataCanvas ID to spill results into for SQL analysis. Omit to receive results inline. Requires CANVAS_PROVIDER_TYPE=duckdb on the server. When provided, the full page result is registered as a datafr… |
| endpoint | string | yes | Endpoint path returned by treasury_list_datasets (e.g., "/v2/accounting/od/debt_to_penny"). Include the leading slash. |
| fields | array | — | Fields to return. Omit to return all fields. Specify field names exactly as listed by treasury_list_datasets — a typo causes a 400. |
| filters | array | — | Filter conditions (ANDed together). Multiple filters on different fields are combined in one filter= parameter. |
| page_number | integer | — | Page to fetch (1-indexed). Check total_pages in the response to know if more pages exist. |
| page_size | integer | — | Rows per page. Default 100. Raise to 10000 to minimize round trips for small datasets. For large time-series pulls, use canvas_id with treasury_dataframe_query instead. |
| sort | string | — | Sort expression: field name optionally prefixed with "-" for descending (e.g., "-record_date" for newest-first). |
| Name | Type | Req | Description |
|---|---|---|---|
| applied_filters | string | — | Filter expression sent to the API, for verification. |
| canvas_expires_at | string | — | ISO 8601 expiry for the canvas dataframe. |
| canvas_id | string | — | DataCanvas ID where this page is registered. Use with treasury_dataframe_query to run SQL. |
| data | array | yes | Rows returned. All values are strings per API contract — including numeric and date fields. Convert in the calling context. Null values appear as the string "null". |
| endpoint | string | yes | Endpoint that was queried. |
| field_labels | object | yes | Human-readable label for each returned field. |
| notice | string | — | Guidance when results are empty, a field typo is suspected, or the endpoint was not found in the catalog. |
| page_number | number | yes | Current page (1-indexed). |
| page_size | number | yes | Rows per page. |
| totalCount | number | — | Total rows matching the query across all pages — discloses that this page is a subset. |
| total_count | number | yes | Total rows matching the query (across all pages). |
| total_pages | number | yes | Total pages at the current page_size. |
No examples provided.