# Fiscal Data (U.S. Treasury) MCP for AI Agents AI Agent Connect

> Fiscal Data (U.S. Treasury) gives your AI agent direct access to official U.S. Treasury financial records. It lets you pull 170+ datasets including federal debt, interest rates, and spending reports. You can also grab official exchange rates and Monthly Treasury Statements without ever leaving your chat interface.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_ZfopfR7moAZa37E3KI1b7uwMdwYwIymWL8gE1I5y/ai-agent-connect
- **Tags:** us-treasury, fiscal-data, exchange-rates, federal-budget, economic-indicators

## Description

Most financial researchers spend half their day hunting for government PDFs or manually downloading CSVs from various treasury websites. It is a mess of inconsistent formatting and outdated files. This Connector changes that by letting your AI agent do the heavy lifting for you. Instead of copy-pasting numbers into a spreadsheet, you can just ask for the latest federal spending or the most recent exchange rates for a specific currency. It connects your agent to the official U.S. Department of the Treasury Fiscal Data API, which means you are getting the source of truth. You can query specific datasets for debt metrics, look up official reporting rates, or pull detailed summaries of federal receipts and outlays. It handles the filtering and sorting for you, so you get the exact slice of data you need for your report or analysis. When you use this through the Vinkius catalog, you are basically giving your agent a direct line to the nation's financial records. You stop being a data gatherer and start being a data analyst.

## Tools

### get_mts_table_1
Get the summary of federal receipts and outlays from Monthly Treasury Statement Table 1. This is useful for high-level budget overviews.

### get_mts_table_9
Get the Monthly Treasury Statement Table 9 data. This provides deeper detail on federal accounts.

### get_rates_of_exchange
Get the official Treasury Reporting Rates of Exchange. Use this to find current international currency values.

### query_dataset
Query any of the 170 available Fiscal Data datasets. Provide an endpoint path and filters to get specific government data.

## Prompt Examples

**Prompt:** 
```
What was the Treasury exchange rate for the Euro for the last recorded date?
```

**Response:** 
```
I've pulled the latest Treasury Reporting Rates of Exchange. For the Eurozone-Euro, the rate was **0.921 per USD** as of the most recent record date.
```

**Prompt:** 
```
Show me the summary of federal receipts and outlays from MTS Table 1 for 2023.
```

**Response:** 
```
Here is the summary for the 2023 fiscal year from Monthly Treasury Statement Table 1:

| Month | Receipts | Outlays |
| :--- | :--- | :--- |
| Jan | $X.X Billion | $Y.Y Billion |
| Feb | $X.X Billion | $Y.Y Billion |
| ... | ... | ... |

*Note: These figures represent the total federal receipts and outlays.*
```

**Prompt:** 
```
Use query_dataset to find data on the 'daily_treasury_statement' for the past week.
```

**Response:** 
```
I've accessed the daily treasury statement for the past week. Here are the daily cash balances and operating totals:

* **Monday**: $X.X Billion
* **Tuesday**: $Y.Y Billion
* **Wednesday**: $Z.Z Billion
* **Thursday**: $A.A Billion
* **Friday**: $B.B Billion
```

## Capabilities

### Pull official Treasury exchange rates
Get the latest reporting rates for international currencies directly from the Treasury.

### Query federal debt and spending datasets
Search through over 170 different federal financial endpoints for specific data points.

### Fetch Monthly Treasury Statement summaries
Retrieve detailed summaries of federal receipts and outlays for specific months or years.

### Filter large fiscal datasets
Apply precise filters and sorting to handle large government datasets efficiently.

### Access federal financial data
Get authoritative data on debt, interest rates, and federal spending in one place.

## Use Cases

### Currency Trend Analysis
An analyst asks for the exchange rates of the last 30 days to see how the USD moved against the Euro. The agent uses get_rates_of_exchange to build a quick summary.

### Federal Spending Reports
A researcher needs to know the total federal receipts for 2023. The agent queries get_mts_table_1 with a year filter to provide the exact totals.

### Debt Metric Tracking
A data scientist wants to see the latest debt levels. They use query_dataset to pull the most recent numbers from the accounting endpoints.

### Policy Impact Research
A policy advisor asks for a summary of federal outlays to see where the money went last month. The agent pulls the latest data from get_mts_table_9.

## Benefits

- Stop downloading CSVs. Use get_rates_of_exchange to pull currency data instantly into your conversation.
- Get authoritative data. This Connector connects directly to the U.S. Treasury API, ensuring your numbers are official.
- Handle large datasets easily. Use query_dataset with filters to avoid getting overwhelmed by massive government files.
- Detailed budget summaries. Pull specific monthly summaries with get_mts_table_1 and get_mts_table_9 for precise reporting.
- Save hours of research. Your agent can scan 170+ endpoints to find the exact fiscal metric you need in seconds.
- Clean, structured output. Get data ready for analysis without having to clean up messy PDF tables yourself.

## How It Works

The bottom line is you get official government financial data in your chat window without the manual research.

1. Subscribe to the Fiscal Data (U.S. Treasury) MCP via Vinkius.
2. Enter your Fiscal Data API Key in your client settings for higher rate limits.
3. Ask your agent to pull specific Treasury data like exchange rates or spending summaries.

## Frequently Asked Questions

**Can I use the Fiscal Data (U.S. Treasury) MCP to see real-time exchange rates?**
Yes. The Connector lets your AI agent pull the official Treasury Reporting Rates of Exchange for international currencies directly into your chat.

**Does Fiscal Data (U.S. Treasury) include federal debt information?**
Yes, it does. You can query various federal financial datasets, including debt metrics and interest rates, using the query_dataset tool.

**Is the information in Fiscal Data (U.S. Treasury) official?**
Yes. This Connector connects directly to the U.S. Department of the Treasury's Fiscal Data API, providing you with authoritative government records.

**Can I use Fiscal Data (U.S. Treasury) for my own data analysis?**
Absolutely. It's designed for analysts and researchers who need to pull clean, structured fiscal data into their workflows without manual downloads.

**Do I need a special API key for Fiscal Data (U.S. Treasury)?**
You can use it without one, but entering your Fiscal Data API Key in your client settings allows for higher rate limits.

**How does Fiscal Data (U.S. Treasury) help with budget research?**
It allows your agent to quickly pull summaries of federal receipts and outlays from the Monthly Treasury Statements, saving you from hunting through PDFs.

**How can I access specific datasets like the national debt or federal spending?**
You can use the `query_dataset` tool. Simply provide the endpoint path (e.g., 'v1/debt/mspd/mspd_table_1' for the Monthly Statement of the Public Debt) and any optional filters to get the exact data you need.

**Can I filter the financial data by a specific date or currency?**
Yes! All tools like `get_rates_of_exchange` and `get_mts_table_1` support a `filter` parameter. For example, use `record_date:eq:2023-12-31` to get data for a specific day or `country_currency_desc:eq:CANADA-DOLLAR` for specific currency rates.

**What is the difference between Table 1 and Table 9 in the Monthly Treasury Statement?**
The `get_mts_table_1` tool provides a high-level summary of receipts, outlays, and the surplus or deficit. The `get_mts_table_9` tool provides a more granular breakdown of Budgetary Receipts by reporting entity and major source.