关于 treasury
treasury 是一个面向 US Treasury Fiscal Data 公共 API 的 MCP 服务,供查询美国财政部数据的用户使用。README 未列出具体数据工具,因此这里仅概述其数据来源与 MCP 接入方式。
主要功能
- 01接入 US Treasury Fiscal Data 公共 API
适用场景
- 01通过 Pipeworx 提问 Treasury 数据相关问题
- 02将 treasury MCP 服务添加到 MCP 客户端
MCP 相关
可通过 Pipeworx 网关连接到 MCP 客户端。README 提及可用 ask_pipeworx 提问,但未列出该服务直接提供的工具。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
服务地址
https://gateway.pipeworx.io/treasury/mcp一键复制安装命令
Claude CodeTerminal
claude mcp add --transport http pipeworx-io-treasury https://gateway.pipeworx.io/treasury/mcpCursor.cursor/mcp.json
{"mcpServers":{"pipeworx-io-treasury":{"type":"http","url":"https://gateway.pipeworx.io/treasury/mcp"}}}在 Cursor 中打开VS Code.vscode/mcp.json
{"servers":{"pipeworx-io-treasury":{"type":"http","url":"https://gateway.pipeworx.io/treasury/mcp"}}}在 VS Code 中打开Claude Desktopclaude_desktop_config.json
{"mcpServers":{"pipeworx-io-treasury":{"type":"http","url":"https://gateway.pipeworx.io/treasury/mcp"}}}Windsurf~/.codeium/windsurf/mcp_config.json
{"mcpServers":{"pipeworx-io-treasury":{"serverUrl":"https://gateway.pipeworx.io/treasury/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
mcp-treasury
Treasury MCP — 美国财政部财政数据公共 API(免费,无需身份验证)
属于 Pipeworx — 一个将 AI Agent 连接到 673+ 个实时数据源的 MCP 网关。
工具
| 工具 | 描述 |
|---|
快速开始
添加到你的 MCP 客户端(Claude Desktop、Cursor、Windsurf 等):
{
"mcpServers": {
"treasury": {
"url": "https://gateway.pipeworx.io/treasury/mcp"
}
}
}
或者连接到完整的 Pipeworx 网关,以访问全部 673+ 个数据源:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
使用 ask_pipeworx
你可以用通俗易懂的语言提问,而不是直接调用工具:
ask_pipeworx({ question: "your question about Treasury data" })
网关会选择合适的工具并自动填写参数。
更多信息
许可证
MIT
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。