Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Congress MCP server

by amurshak/congressmcpNOASSERTION licenceAudited 8 Oct 2026 · source 67ee24b04287

PyPI congressmcpstreamable-http★ 33
!CAUTIONGrade F · 60/100 · 8 Oct 2026 · 67ee24b
33GitHub stars

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

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score60/100!CAUTION F
0 critical0 high10 medium10 low2 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS
L1 Static sourceSecrets, path traversal, supply chainWARN 15 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 7 findings
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

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 PyPIcongressmcp, 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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
logger.info(f"   🔑 API Key: {api_key}")
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · requirements.txt
F-08 Supply chainCWE-829 · CWE-1357Layer L1
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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
**`"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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
**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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
| `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
F-08 Supply chainCWE-829 · CWE-1357Layer L2
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

24 read0 write0 destructive
ToolRiskWhat it does
amendmentsreadNo description in the source
billsreadNo description in the source
committee_intelligencereadNo description in the source
get_bill_sectionreadNo description in the source
get_bill_tocreadNo description in the source
get_committee_billsreadNo description in the source
get_committee_communicationsreadNo description in the source
get_committee_nominationsreadNo description in the source
get_committee_reportsreadNo description in the source
get_member_cosponsored_legislationreadNo description in the source
get_member_detailsreadNo description in the source
get_member_sponsored_legislationreadNo description in the source
get_members_by_congressreadNo description in the source
get_members_by_congress_state_districtreadNo description in the source
get_members_by_districtreadNo description in the source
get_members_by_statereadNo description in the source
lawsreadNo description in the source
records_and_hearingsreadNo description in the source
research_and_professionalreadNo description in the source
search_bill_textreadNo description in the source
search_committeesreadNo description in the source
search_membersreadNo description in the source
treaties_and_summariesreadNo description in the source
voting_and_nominationsreadNo 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

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

  1. !CAUTION F 60 / 100

    First audit · 67ee24b04287

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION FMODELSATLASCAUTION · F
[![ModelsAtlas: CAUTION F](https://modelsatlas.com/mcp/amurshak/congress/badge.svg)](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?
An MCP server allowing AI agents and MCP clients to interface with the Congress.gov API
What tools does Congress expose?
24 in total: 24 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Congress safe to connect to an agent?
With care. The audit graded it F (60/100) and found 22 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does Congress need?
It reads CONGRESS_API_KEY, GOVINFO_API_KEY and OPENAI_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Congress run?
It speaks streamable-http, so it runs as a service you connect to over the network. It is published on PyPI as congressmcp.
How current is this page?
The grade is for one exact copy of the source (67ee24b04287), read on 2026-10-08. The repository is watched and re-audited when it changes.

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.