概要
財政データ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