US fiscal data — national debt, Treasury interest rates, and federal spending breakdowns from the Treasury Fiscal Data...
US fiscal data — national debt, Treasury interest rates, and federal spending breakdowns from the Treasury Fiscal Data API
Official US government fiscal data. Check the current national debt (down to the penny), browse Treasury average interest rates by security type, and analyze federal spending by category and fiscal year.
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
---
name: pipeworx-treasury
description: US fiscal data — national debt, Treasury interest rates, and federal spending breakdowns from the Treasury Fiscal Data API
version: 1.0.0
metadata:
openclaw:
requires:
bins:
- curl
emoji: "🇺🇸"
homepage: https://pipeworx.io/packs/treasury
---
# US Treasury Fiscal Data
Official US government fiscal data. Check the current national debt (down to the penny), browse Treasury average interest rates by security type, and analyze federal spending by category and fiscal year.
## Tools
| Tool | Description |
|------|-------------|
| `get_national_debt` | Current US national debt — total public debt outstanding |
| `get_treasury_rates` | Average interest rates on Treasury securities by type and date |
| `get_federal_spending` | Federal spending breakdown by budget function and fiscal year |
## Scenarios
- "What is the current US national debt?" — a single call gives you the answer
- Tracking how Treasury bond rates have changed
- Analyzing where federal dollars are going by spending category
- Building economic research tools with authoritative government data
## Example: current national debt
```bash
curl -s -X POST https://gateway.pipeworx.io/treasury/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_national_debt","arguments":{}}}'
```
Returns the total public debt outstanding with the record date.
## Setup
```json
{
"mcpServers": {
"pipeworx-treasury": {
"command": "npx",
"args": ["-y", "mcp-remote@latest", "https://gateway.pipeworx.io/treasury/mcp"]
}
}
}
```
文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。