概览
What is Fiscal Data Mcp?
Fiscal Data Mcp is an MCP server that connects to the US Treasury’s Fiscal Data API. It provides tools to fetch daily treasury statements, access historical data through resources, and generate formatted treasury reports. It is designed for users who want to query treasury data via natural language through an MCP host like Claude Desktop.
How to use Fiscal Data Mcp?
Add the server configuration to your Claude Desktop config file (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%/Claude/claude_desktop_config.json). Then ask Claude questions such as “Get the treasury statement for 2024-03-01” to invoke the get_daily_treasury_statement tool or “Generate a treasury report for 2024-03-01” to use the daily_treasury_report prompt.
Key features of Fiscal Data Mcp
- Fetches daily treasury statements for specific dates
- Provides 30 days of historical treasury data via resources
- Automatically caches historical data for one hour
- Generates formatted treasury reports using prompts
- Runs via npx with no manual installation required
Use cases of Fiscal Data Mcp
- Retrieve a specific day’s U.S. Treasury cash balance and debt figures
- Analyze trends over the last 30 days using cached historical data
- Generate a formatted summary report for a given date
FAQ from Fiscal Data Mcp
What data does this server access?
It connects to the US Treasury’s Fiscal Data API to retrieve daily treasury statements and historical data.
How is historical data cached?
Historical data is automatically cached for 1 hour and updates on demand.
What tools and prompts are available?
Tools: get_daily_treasury_statement. Resources: 30‑day historical data via the resource system. Prompts: daily_treasury_report for formatted reports.
How do I install and configure it?
Add the fiscal-data entry to your Claude Desktop config file with "command": "npx" and "args": ["fiscal-data-mcp"]. No separate installation step is needed; npx runs it on demand.
What runtime does it require?
It requires Node.js (npx is included with Node.js). No other dependencies are mentioned.