MCP server · Audited from source
Congress MCP server
by amurshak/congressmcpNOASSERTION licenceAudited 8 Oct 2026 · source 67ee24b04287
Is it safe? With care — CAUTION, grade F (60/100). It exposes 24 tools: 24 read, 0 write and 0 destructive. The audit recorded 22 findings (0 critical, 0 high, 10 medium, 10 low). Maintainer's description: An MCP server allowing AI agents and MCP clients to interface with the Congress.gov API
Cite
Cite this page
ModelsAtlas. “Congress MCP server (amurshak/congressmcp)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/amurshak/congress
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
22 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemNone observedNothing seen in the source
- NetworkDeclared6 observations
- ShellDeclared4 observations
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | WARN 15 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 7 findings |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
amurshakUser accountAccount type recorded when we read the repository. - PackagePublished on PyPI
congressmcp, no version recorded - LicenceNOASSERTIONFrom the repository, as read at the audited commit.
- Last push42 days agoActivity of the repository when we read it.
- Source commit read67ee24b04287The audit covers exactly this commit, read on 8 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory24 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (22)
Sorted by severity
MEDIUMCode injectioncode.dynamic_import · congress_api/features/bill_text/index.py:470
module = _parser if module_name == "parser" else __import__(__name__, fromlist=["_"])
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · scripts/audit_tool_schemas.py:245
resolved_module = importlib.import_module(rel_name, package=container_package)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · scripts/audit_tool_schemas.py:399
handler_module = importlib.import_module(call.module_name)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · scripts/audit_tool_schemas.py:430
handler_module = importlib.import_module(call.module_name)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · scripts/init_database.py:65
logger.info(f" API Key: {api_key}")- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · scripts/govinfo_search_acceptance.py:85
self.url = f"http://127.0.0.1:{self.port}"- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · tests/send_test_email.py:29
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · tests/test_e2e_harness.py:137
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · tests/test_e2e_harness.py:187
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · tests/test_email_templates.py:33
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWCode injectioncode.dynamic_import · tests/test_bare_call_missing_params.py:218
handler_module = __import__(call.module_name, fromlist=[call.orig_name])
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInformation disclosuredisclose.log_secret · tests/test_bill_text_wire_conformance.py:406
logger.info("HTTP Request: %s", f"GET https://x/?api_key={secret}")- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInformation disclosuredisclose.log_secret · tests/test_bill_text_wire_conformance.py:407
logger.info("bare message carrying %s inline" % f"key={secret}")- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInformation disclosuredisclose.log_secret · tests/test_user_creation.py:52
logger.info(f" 🔑 API Key: {api_key}")- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · requirements.txt
mcp, pydantic, pydantic-settings, starlette, uvicorn, annotated-types, anyio, certifi
- Why
- 26 requirement(s) not pinned with ==
- Fix
- pin exact versions
LOWPrompt injectionprompt.transfer_instruction · documentation/fulltext/01-status.md:37
**`"pinned"` shipped (`5242055`) and V11 CLOSED 2026-08-22 — 14/14 scenarios, every check green** (`5e2bb22`; artifact `runs/v11/2026-08-22T035126Z/`, report read by this session; offline sweep indepe
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · documentation/fulltext/01-status.md:54
- **Codex driver (2026-08-18):** the maintainer had the implementation session add a Codex CLI driver to the §17 harness (`012bf8a`, a claim not yet adjudicated here). The cross-vendor cell (§17) is n
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · documentation/fulltext/12-e2e-prompts.md:168
2. **The per-cell canary returns — F23's ratification is amended for new drivers.** The no-canary ratification (import probe + sibling heuristic) was argued on the Claude path, where the only kill mod
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · documentation/fulltext/12-e2e-prompts.md:222
**Fifth adjudication — the F32 re-run (2026-08-20, runs `2026-08-20T171204Z` / `171229Z` / `171300Z`, maintainer-run, build `d24e376` with the F32 fix an ancestor).** Instrument certified per run: can
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · documentation/fulltext/14-defect-priority.md:339
- **F38 — malformed `version` (e.g. `"e nr!"`) surfaced as `internal_error` on `get_bill_section`/`get_bill_toc`; `package_filename()`'s `ValueError` escaped their handlers while `search_bill_text` ca
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
INFOPrompt injectionprompt.credential_read · README.md:512
| `CONGRESS_API_ENV` | No | `local` | Set to `development`/`staging`/`production` to load the matching `.env.*` file; unset loads only a plain `.env`. Files never override exported variables |
- Why
- asks the agent to read credentials
- Fix
- —
INFOSupply chainprompt.pipe_to_shell · README.md:19
curl -LsSf https://astral.sh/uv/install.sh | sh
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
24 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
amendments | read | No description in the source |
bills | read | No description in the source |
committee_intelligence | read | No description in the source |
get_bill_section | read | No description in the source |
get_bill_toc | read | No description in the source |
get_committee_bills | read | No description in the source |
get_committee_communications | read | No description in the source |
get_committee_nominations | read | No description in the source |
get_committee_reports | read | No description in the source |
get_member_cosponsored_legislation | read | No description in the source |
get_member_details | read | No description in the source |
get_member_sponsored_legislation | read | No description in the source |
get_members_by_congress | read | No description in the source |
get_members_by_congress_state_district | read | No description in the source |
get_members_by_district | read | No description in the source |
get_members_by_state | read | No description in the source |
laws | read | No description in the source |
records_and_hearings | read | No description in the source |
research_and_professional | read | No description in the source |
search_bill_text | read | No description in the source |
search_committees | read | No description in the source |
search_members | read | No description in the source |
treaties_and_summaries | read | No description in the source |
voting_and_nominations | read | No description in the source |
Install
audited commit 67ee24b
Read the findings first. The most severe is Code injection (medium) at congress_api/features/bill_text/index.py.
One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit 67ee24b only.
claude mcp add congressmcp --env CONGRESS_API_KEY=${CONGRESS_API_KEY} --env GOVINFO_API_KEY=${GOVINFO_API_KEY} --env OPENAI_API_KEY=${OPENAI_API_KEY} -- uvx congressmcp{
"mcpServers": {
"congressmcp": {
"command": "uvx",
"args": [
"congressmcp"
],
"env": {
"CONGRESS_API_KEY": "${CONGRESS_API_KEY}",
"GOVINFO_API_KEY": "${GOVINFO_API_KEY}",
"OPENAI_API_KEY": "${OPENAI_API_KEY}"
}
}
}
}The command does not pin a version; the audit covers commit 67ee24b04287. Transport: streamable-http. Reads these environment variables: CONGRESS_API_KEY, GOVINFO_API_KEY, OPENAI_API_KEY. Give it the narrowest token it needs.
Audit history
- !CAUTION F 60 / 100
First audit ·
67ee24b04287
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/amurshak/congress/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Congress MCP server
What is the Congress MCP server?
What tools does Congress expose?
Is Congress safe to connect to an agent?
What credentials does Congress need?
How does Congress run?
How current is this page?
Sources
- amurshak/congressmcp on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 67ee24b04287Observed · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Congress MCP server?
- What tools does Congress expose?
- Is Congress safe to connect to an agent?