LU 

lzinga/us-gov-open-data-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
112 stars 26 forks 品質 87 トレンド 14MIT
lzinga/us-gov-open-data-mcp は、https://github.com/lzinga/us-gov-open-data-mcp. からインポートされたMCPサーバー候補です。
概要
lzinga/us-gov-open-data-mcp は、https://github.com/lzinga/us-gov-open-data-mcp. からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
MCP Server + TypeScript SDK for 40+ U.S. Government APIs
経済、財政、健康、教育、エネルギー、環境、ロビー活動、住宅、特許、安全、銀行、消費者保護、職場安全、交通、地震、臨床試験、製薬費用、研究資金、調達、立法データをカバーする300+ツール。
20+ APIは鍵を必要としません残りは1分未満で取得できるフリーキーを使用します
はじめ ·API参照 ·ドキュメント
特徴
- 300+ツール、40+の政府APIにわたる — 経済、健康、立法、金融、環境など
- クロスリファレンス — 組み込みの指示がLLMを導き、複数の機関のデータ(例:FDAの有害事象+ロビー活動支出+キャンペーン寄付)を統合します。
- コードモード — WASMサンドボックス化されたJavaScript実行により、大規模な応答時のコンテキストウィンドウ使用率を98〜100%削減します
- 選択的読み込み — 必要なモジュールやドメインのみを読み込む:
--modules fred,treasury,congressまたは--domains economy,health - ディスカバリーモード —
--tool-mode discoveryは350ではなく4つのツールをリストアップします。モデルは必要なものを検索します - すべての結果に情報源をつけ — メタ。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Features
- 300+ tools across 40+ government APIs — economic, health, legislative, financial, environmental, and more
- Cross-referencing — built-in instructions guide the LLM to combine data from multiple agencies (e.g., FDA adverse events + lobbying spend + campaign contributions)
- Code mode — WASM-sandboxed JavaScript execution reduces context window usage by 98-100% for large responses
- Selective loading — load only the modules or domains you need:
--modules fred,treasury,congressor--domains economy,health - Discovery mode —
--tool-mode discoverylists 4 tools instead of 350; the model searches for the one it needs - Sources on every result —
meta.sourceslists the upstream API requests behind each answer - Dual transport — stdio for desktop clients, HTTP Stream for web/remote (bearer-token auth off loopback)
- TypeScript SDK — every API is importable as a standalone typed client, no MCP required
- Disk-backed caching — responses cached to disk, survives restarts
- Rate limiting + retry — token-bucket rate limiter with exponential backoff on 429/503
Quick Start
MCP Server
Requires Node.js 22 or later.
npx us-gov-open-data-mcp
Add to .vscode/mcp.json for VS Code / Copilot:
{
"servers": {
"us-gov-open-data": {
"command": "npx",
"args": ["-y", "us-gov-open-data-mcp"],
"env": {
"FRED_API_KEY": "your_key",
"DATA_GOV_API_KEY": "your_key"
}
}
}
}
Add to claude_desktop_config.json for Claude Desktop:
{
"mcpServers": {
"us-gov-open-data": {
"command": "npx",
"args": ["-y", "us-gov-open-data-mcp"],
"env": {
"FRED_API_KEY": "your_key",
"DATA_GOV_API_KEY": "your_key"
}
}
}
}
Example Prompts
Once connected, ask your AI assistant natural language questions:
インストール
npx -y us-gov-open-data-mcp設定
{
"mcpServers": {
"us-gov-open-data": {
"command": "npx",
"args": ["-y", "us-gov-open-data-mcp"],
"env": {
"FRED_API_KEY": "your_key",
"DATA_GOV_API_KEY": "your_key"
}
}
}
}