
amurshak/congressmcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
amurshak/congressmcp - кандидат на сервер MCP, импортированный из https://github.com/amurshak/congressmcp.
Обзор
amurshak/congressmcp - кандидат на сервер MCP, импортированный из https://github.com/amurshak/congressmcp.
Обзор (машинный перевод)
Данные Конгресса США для любого клиента MCP — Claude Code, ChatGPT, Copilot, Codex, Cursor, OpenCode, Gemini CLI, Grok Build и многое другое.
Законопроекты, полный текст законопроекта, голоса, члены, комитеты, слушания, номинации и протокол Конгресса — запрашиваются на естественном языке через Типовой контекстный протокол. Работает локально на вашем компьютере против бесплатных API Congress.gov и GovInfo. Ни аккаунта, ни хостинга, ни телеметрии.
Быстрый старт
###1. Бесплатный ключ Congress.gov API
Регистрация на сайте api.congress.gov/sign-up занимает 30 секунд. Тот же ключ работает и для GovInfo (полный текст законопроекта).
###2 Установите uv
CongressMCP публикуется на PyPI и запускается с uvx, который поставляется с uv:
[Т2], [Т3] и [Т4] также работают. [5] [T] дает вам [6] команду, которую вы можете использовать вместо [7] ниже.
###3 Подключите клиента
Каждому клиенту нужны одни и те же три факта: command uvx, args ["congressmcp"], env CONGRESS_API_KEY.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
CongressMCP
Live U.S. Congressional data for any MCP client — Claude Code, ChatGPT, Copilot, Codex, Cursor, OpenCode, Gemini CLI, Grok Build, and more.
Bills, full bill text, votes, members, committees, hearings, nominations, and the Congressional Record — queried in natural language through the Model Context Protocol. Runs locally on your machine against the free Congress.gov and GovInfo APIs. No account, no hosted service, no telemetry.
Quick Start
1. Get a free Congress.gov API key
Sign up at api.congress.gov/sign-up — takes 30 seconds. The same key also works for GovInfo (full bill text).
2. Install uv
CongressMCP is published on PyPI and launched with uvx, which ships with uv:
# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
(brew install uv, winget install astral-sh.uv, and pipx install uv also work.) Prefer pip? pip install congressmcp gives you a congressmcp command you can use in place of uvx congressmcp below.
3. Connect your client
Every client needs the same three facts: command uvx, args ["congressmcp"], env CONGRESS_API_KEY. Clients are listed roughly by how many professional developers use them today (JetBrains Developer Ecosystem survey, mid-2026, then Pragmatic Engineer’s 2026 tooling survey), so the one you want is probably near the top:
| Client | Where it’s configured | Notes |
|---|---|---|
| Claude Code | claude mcp add … or .mcp.json |
|
| ChatGPT | Developer mode → connector URL | remote only — needs HTTP mode |
| VS Code / GitHub Copilot | .vscode/mcp.json |
uses servers + inputs |
| OpenAI Codex CLI | codex mcp add … or ~/.codex/config.toml |
TOML |
| Cursor | ~/.cursor/mcp.json or .cursor/mcp.json |
|
| JetBrains AI Assistant / Junie | Settings → AI Assistant → MCP | paste the Claude Desktop JSON |
| OpenCode | opencode.json → mcp |
command is a single array |
| Gemini CLI | gemini mcp add … or ~/.gemini/settings.json |
|
| Claude.ai | Connectors → custom connector URL | remote only — needs HTTP mode |
| Claude Desktop | claude_desktop_config.json |
|
| Windsurf | ~/.codeium/windsurf/mcp_config.json |
|
| Zed | settings.json → context_servers |
|
| Cline / Roo Code | MCP settings panel → edit JSON | |
| Goose | goose configure or ~/.config/goose/config.yaml |
YAML |
Установка
uvx congressmcpКонфигурация
{
"mcpServers": {
"congressmcp": {
"type": "stdio",
"command": "uvx",
"args": ["congressmcp"],
"env": { "CONGRESS_API_KEY": "${CONGRESS_API_KEY}" }
}
}
}