概要
財政データ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
プロンプトを使用してフォーマットされた財務レポートを生成します。
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
- AsecurityFlicenseAqualityProvides access to the Australian Bureau of Statistics (ABS) Data API. This server allows AI assistants to query and analyze ABS statistical data.Last updated -14TypeScript
- AsecurityAlicenseAqualityFacilitates interaction with Ethereum blockchain data via Etherscan's API, providing real-time access to balances, transactions, token transfers, contract ABIs, gas prices, and ENS name resolutions.Last updated -61622TypeScriptMIT License
- -securityFlicense-qualityProvides access to Israel's OpenBudget API, allowing users to query and search various government budget datasets including budget items, contracts, and support payments.Last updated -12Python
- -securityFlicense-qualityProvides access to Israel's OpenBudget API, enabling users to query and search various governmental budget datasets including budget items, contracts, and support payments.Last updated -12Python