mcp财政部
访问美国财政部数据——债务、利率、支出和拍卖结果。
免费API -不需要API密钥。
工具
| 工具 | 说明 |
|---|---|
get_treasury_rates | 获取每日国债收益率曲线利率(票据、债券利率)。 |
get_national_debt | 获取美国国债(未偿还公共债务总额)。 |
get_auction_results | 获取国债拍卖结果(票据、债券、TIPS、FRN)。 |
get_exchange_rates | 获取财政部报告的外汇汇率。 |
get_federal_spending | 获取联邦收入和支出的月度财政部报表数据。 |
安装
git clone https://github.com/PetrefiedThunder/mcp-treasury.git
cd mcp-treasury
npm install
npm run build使用Claude Desktop
添加到您的 claude_desktop_config.json:
{
"mcpServers": {
"treasury": {
"command": "node",
"args": ["/path/to/mcp-treasury/dist/index.js"]
}
}
}使用npx
npx mcp-treasury许可证
麻省理工学院
