Fiscal Data MCP Server
Access US Treasury data via the Fiscal Data API to fetch statements, historical data, and generate reports.
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
Quick Start
1. Install and Use with Claude Desktop
Add this configuration to your Claude Desktop config file:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"fiscal-data": {
"command": "npx",
"args": ["fiscal-data-mcp"]
}
}
}
2. Example Interactions
Once configured, you can interact with the server through Claude:
Human: Can you get the treasury statement for the 20th of September 2023?
Features
1. Daily Treasury Statements
Fetch treasury data for specific dates using the get_daily_treasury_statement tool:
// Example usage through Claude
Human: Get the treasury statement for 2024-03-01
Assistant: I'll fetch that information for you using the 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:
// Example usage through Claude
Human: Generate a treasury report for 2024-03-01
Assistant: I'll use the daily treasury report prompt to create a formatted report...
Похожие серверы
MongoDB That Works
A MongoDB MCP server with schema discovery and field validation. Requires a MONGODB_URI environment variable.
Mallory MCP Server
Access real-time cyber and threat intelligence, including details on vulnerabilities, threat actors, and malware.
OPTIMADE MCP Server
A configurable MCP server for the OPTIMADE API, allowing custom filters and endpoints for materials science databases.
Trino MCP Server
Securely interact with Trino databases to list tables, read data, and execute SQL queries.
Blackbaud FE NXT by CData
A read-only MCP server for Blackbaud FE NXT by CData, enabling LLMs to query live data. Requires a separate CData JDBC Driver.
MCP MS SQL Server
An MCP server for executing queries on a Microsoft SQL Server database.
FinDataMCP
Provides financial data. Requires external Python dependencies installed with the uv package manager.
CompanyEnrich
Access real-time exclusive B2B data APIs that power your AI agents and workflows
Outreach.io by CData
A read-only MCP server for querying live data from Outreach.io using the CData JDBC Driver.
Pinecone
Read and write to a Pinecone vector database using the Model Context Protocol.