# Treasury Fiscaldata MCP Server MCP server

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

## Facts

- Endpoint: https://treasury-fiscaldata.caseyjhand.com/mcp (MCP, Streamable HTTP)
- Sign-in: none (open)
- Security grade: D (49/100, scanned 2026-10-13) · report https://gateturbo.com/report/b550502f-540e-4016-9eda-62b0f9397a2f
- Tools: 7
- Category: Data & databases · source: registry
- Repository: https://github.com/cyanheads/treasury-fiscaldata-mcp-server
- Last probed: 2026-09-21 · first listed: 2026-09-20
- Directory page: https://gateturbo.com/mcp/treasury-fiscaldata-mcp-server · this document: https://gateturbo.com/mcp/treasury-fiscaldata-mcp-server.md · JSON: https://gateturbo.com/api/directory/servers/treasury-fiscaldata-mcp-server

## Tools (7)

- `treasury_list_datasets`: Browse the curated catalog of US Treasury Fiscal Data API endpoints. Returns endpoint paths, field names, descriptions, and update cadence f
- `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 e
- `treasury_get_debt`: Fetch national debt (Debt to the Penny) — total public debt outstanding broken into publicly-held debt and intragovernmental holdings. Three
- `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?" C
- `treasury_get_exchange_rates`: Official Treasury reporting exchange rates for ~165 countries — the rates US federal agencies are required to use when converting foreign cu
- `treasury_dataframe_describe`: List DataCanvas dataframes materialized by treasury_query_dataset, treasury_get_debt, treasury_get_interest_rates, and treasury_get_exchange
- `treasury_dataframe_query`: Run a single-statement SELECT against DataCanvas dataframes registered by treasury_query_dataset, treasury_get_debt, treasury_get_interest_r

## Connect

Two routes. Through gate you get one gateway URL for every server you pick, a sign-in screen that asks which agent you are, allow / ask-me-first / block per action, argument rules, a log of every call, and an off-switch. Direct puts this server's URL straight into the agent's config.

### Through gate (Claude Code shown; any MCP client works the same way)

One gateway URL carries every server you pick.

1. Connect Treasury Fiscaldata MCP Server to your gate (https://gateturbo.com/login?next=/discovery?connect=treasury-fiscaldata-mcp-server).
2. Add gate once to the agent; the sign-in screen asks which agent it is, and its rules follow it everywhere.
3. Every call is logged; allow, ask-me-first or block any action; pause the agent with one click.

```bash
claude mcp add --transport http gate https://gateturbo.com/api/mcp
```

Other agents through gate: Claude → https://gateturbo.com/mcp/treasury-fiscaldata-mcp-server/claude · Claude Desktop → https://gateturbo.com/mcp/treasury-fiscaldata-mcp-server/claude-desktop · ChatGPT → https://gateturbo.com/mcp/treasury-fiscaldata-mcp-server/chatgpt · Codex → https://gateturbo.com/mcp/treasury-fiscaldata-mcp-server/codex · Cursor → https://gateturbo.com/mcp/treasury-fiscaldata-mcp-server/cursor · Windsurf → https://gateturbo.com/mcp/treasury-fiscaldata-mcp-server/windsurf · VS Code → https://gateturbo.com/mcp/treasury-fiscaldata-mcp-server/vscode · Gemini CLI → https://gateturbo.com/mcp/treasury-fiscaldata-mcp-server/gemini-cli · OpenClaw → https://gateturbo.com/mcp/treasury-fiscaldata-mcp-server/openclaw · n8n → https://gateturbo.com/mcp/treasury-fiscaldata-mcp-server/n8n · A script or server → https://gateturbo.com/mcp/treasury-fiscaldata-mcp-server/script

### Direct: Claude Code

Add Treasury Fiscaldata MCP Server to Claude Code with one command.

1. Run the command in your terminal.
2. Restart Claude Code; the tools appear in every session.
3. No sign-in needed.

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

### Direct: Cursor

Add Treasury Fiscaldata MCP Server to Cursor's MCP config.

1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
2. Cursor picks it up without a restart.
3. No sign-in needed.

```json
{
  "mcpServers": {
    "treasury-fiscaldata-mcp-server": {
      "url": "https://treasury-fiscaldata.caseyjhand.com/mcp"
    }
  }
}
```

### Direct: VS Code

Add Treasury Fiscaldata MCP Server to VS Code for Copilot agent mode.

1. Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
2. Open the Copilot chat in agent mode; the server starts on demand.
3. No sign-in needed.

```json
{
  "servers": {
    "treasury-fiscaldata-mcp-server": {
      "type": "http",
      "url": "https://treasury-fiscaldata.caseyjhand.com/mcp"
    }
  }
}
```

### Direct: Codex

Add Treasury Fiscaldata MCP Server to Codex.

1. Add this to ~/.codex/config.toml.
2. Start a new Codex session.
3. No sign-in needed.

```toml
[mcp_servers.treasury_fiscaldata_mcp_server]
url = "https://treasury-fiscaldata.caseyjhand.com/mcp"
```

### Direct: Claude

Add Treasury Fiscaldata MCP Server as a custom connector in Claude.

1. Open claude.ai → Settings → Connectors → Add custom connector.
2. Name it "Treasury Fiscaldata MCP Server" and paste the URL below.
3. Save; the tools appear in new chats.

```
https://treasury-fiscaldata.caseyjhand.com/mcp
```

### Direct: ChatGPT

Add Treasury Fiscaldata MCP Server as a connector in ChatGPT.

1. Open ChatGPT → Settings → Connectors → enable Developer mode under Advanced.
2. Create a connector named "Treasury Fiscaldata MCP Server" with the URL below.
3. Set authentication to none.

```
https://treasury-fiscaldata.caseyjhand.com/mcp
```

## For agents reading this

- Search the directory from inside a conversation: add the directory MCP server https://gateturbo.com/api/directory/mcp (no sign-in) and call `search_servers`, `get_server`, `how_to_connect`.
- JSON: https://gateturbo.com/api/directory/search?q=<terms> · https://gateturbo.com/api/directory/servers/<slug>
- How to get access to a human's gateway on your own: https://gateturbo.com/agents.md
- Always keep a human in the loop: gate's sign-in, approvals and off-switch exist so the person stays in control.
