fiscal-data-mcp
7
The Fiscal Data MCP Server is a tool designed to interface with the US Treasury's Fiscal Data API. It allows users to fetch specific treasury statements, access historical data, and generate formatted reports. This server provides essential resources for financial data retrieval and analysis.
Overview
The Fiscal Data MCP Server demonstrates a practical implementation of an MCP server that connects to the US Treasury's Fiscal Data API. It showcases:
- Tools for fetching specific treasury statements
- Resources for historical data access
- Prompts for generating formatted reports
Features
1. Daily Treasury Statements
Fetch treasury data for specific dates using the get_daily_treasury_statement
tool.
2. Historical Data Resource
Access 30 days of historical treasury data through the resource system:
- Automatically cached for 1 hour
- Updates on demand
- Provides formatted JSON data
3. Report Generation
Generate formatted treasury reports using the daily_treasury_report
prompt.