US Fiscal Data

US Fiscal Data

quantgeekdev

Connects to the US Treasury's Fiscal Data API to fetch daily treasury statements, access historical financial data, and generate formatted reports.

Integrates with the US Treasury's Fiscal Data API to fetch, analyze, and generate reports on treasury statements and historical financial data.

17443 views8Local (stdio)

What it does

  • Fetch daily treasury statements for specific dates
  • Access 30 days of historical treasury data
  • Generate formatted treasury reports
  • Query US government financial records
  • Analyze treasury cash flows and balances

Best for

Financial analysts tracking government cash flowsResearchers studying federal treasury operationsDevelopers building finance applications with treasury data
No API key neededAuto-cached historical dataReal US Treasury API integration

About US Fiscal Data

US Fiscal Data is a community-built MCP server published by quantgeekdev that provides AI assistants with tools and capabilities via the Model Context Protocol. Access and analyze US Treasury financial data, including 10 year treasury graphs, historical yields, and bond prices usi It is categorized under finance, analytics data.

How to install

You can install US Fiscal Data in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

US Fiscal Data is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

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...

Alternatives

Related Skills

Browse all skills
ceorater

Get institutional-grade CEO performance analytics for S&P 500 companies. Proprietary scores: CEORaterScore (composite), AlphaScore (market outperformance), RevenueCAGRScore (revenue growth), CompScore (compensation efficiency). Underlying data includes Total Stock Return (TSR) vs. S&P 500 (SPY), average annual returns, CEO total compensation (most recent fiscal year from proxy filings), and tenure-adjusted Revenue CAGR. Each record includes CEO name, company name, ticker, sector, industry, and tenure dates. Coverage: 516 CEOs as of February 2026, updated daily. Useful for investment research, due diligence, and executive compensation analysis.

0
data-storytelling

Transform data into compelling narratives using visualization, context, and persuasive structure. Use when presenting analytics to stakeholders, creating data reports, or building executive presentations.

27
content-trend-researcher

Advanced content and topic research skill that analyzes trends across Google Analytics, Google Trends, Substack, Medium, Reddit, LinkedIn, X, blogs, podcasts, and YouTube to generate data-driven article outlines based on user intent analysis

23
data-scientist

Expert data scientist for advanced analytics, machine learning, and statistical modeling. Handles complex data analysis, predictive modeling, and business intelligence. Use PROACTIVELY for data analysis tasks, ML modeling, statistical analysis, and data-driven insights.

13
google-analytics

Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements. Use when the user asks about analytics, website metrics, traffic analysis, conversion rates, user behavior, or performance optimization.

13
finance-manager

Comprehensive personal finance management system for analyzing transaction data, generating insights, creating visualizations, and providing actionable financial recommendations. Use when users need to analyze spending patterns, track budgets, visualize financial data, extract transactions from PDFs, calculate savings rates, identify spending trends, generate financial reports, or receive personalized budget recommendations. Triggers include requests like "analyze my finances", "track my spending", "create a financial report", "extract transactions from PDF", "visualize my budget", "where is my money going", "financial insights", "spending breakdown", or any finance-related analysis tasks.

10