概述
财政数据 MCP 服务器演示了连接到美国财政部财政数据 API 的 MCP 服务器的实际实现。它展示了:
- 获取特定财务报表的工具
- 历史数据访问资源
- 生成格式化报告的提示
快速入门
1. 安装并使用 Claude Desktop
将此配置添加到您的 Claude Desktop 配置文件:
MacOS : ~/Library/Application Support/Claude/claude_desktop_config.json
Windows : %APPDATA%/Claude/claude_desktop_config.json
2. 交互示例
配置完成后,您可以通过Claude与服务器进行交互:
特征
1. 每日财务报表
使用get_daily_treasury_statement
工具获取特定日期的财务数据:
2.历史数据资源
通过资源系统访问30天的历史财务数据:
- 自动缓存1小时
- 按需更新
- 提供格式化的 JSON 数据
3. 报告生成
使用daily_treasury_report
提示生成格式化的财务报告:
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
连接到美国财政部的财政数据 API,使用户能够获取特定的财政报表、访问历史数据并生成格式化的报告。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityEnables interaction with Federal Election Commission data via the OpenFEC API, providing access to campaign finance information such as candidates, committees, contributions, and expenditures through the Model Context Protocol.Last updated -121JavaScriptBSD 3-Clause
- -securityAlicense-qualityEnables enriching banking data with the Ntropy API, providing tools to create account holders and enrich transactions efficiently.Last updated -2PythonMIT License
- -securityFlicense-qualityEnables enrichment of banking data through the Ntropy API, including creating account holders and enriching transaction details.Last updated -
- AsecurityFlicenseAqualityA Model Context Protocol server that provides tools to search and retrieve economic data series from the Federal Reserve Economic Data (FRED) API.Last updated -23TypeScript