LU

lzinga/us-gov-open-data-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

113 stars 27 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 서버 + TypeScript SDK for 40+ U.S. Government APIs

경제, 재정, 보건, 교육, 에너지, 환경, 로비, 주택, 특허, 안전, 은행, 소비자 보호, 직장 안전, 교통, 지진, 임상시험, 제약 지급, 연구 자금, 조달, 입법 데이터를 포함하는 300+ 도구.

20+ API는 키가 필요 없어요 · 나머지는 1분 이내에 얻는 자유 키를 사용합니다

시작하기 · API 참고 · 문서


특징

  • 300+ 도구 40+ 정부 API — 경제, 보건, 입법, 금융, 환경 등 다양한 분야
  • 교차 참조 — 내장 지침이 LLM이 여러 기관의 데이터를 결합하도록 안내합니다(예: FDA 부작용 사건 + 로비 지출 + 캠페인 기부)
  • 코드 모드 — WASM 샌드박스 자바스크립트 실행은 대규모 응답 시 컨텍스트 창 사용을 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,congress or --domains economy,health
  • Discovery mode — --tool-mode discovery lists 4 tools instead of 350; the model searches for the one it needs
  • Sources on every result — meta.sources lists 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:

GitHub에서 전체 README 보기

설치

npx -y us-gov-open-data-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "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" } } } }