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

MCP server · Audited from source

jDocMunch MCP server

by jgravelle/jdocmunch-mcpNOASSERTION licenceAudited 6 Oct 2026 · source d388761fe3fa

PyPI jdocmunch-mcp 1.145.1stdiostreamable-http★ 204
✕BLOCKGrade D · 69/100 · 6 Oct 2026 · d388761

Is it safe? No — BLOCK, grade D (69/100). It exposes 23 tools: 20 read, 2 write and 1 destructive. The audit recorded 26 findings (0 critical, 5 high, 1 medium, 20 low). Maintainer's description: The leading, most token-efficient MCP server for documentation exploration and retrieval via structured section indexing

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “jDocMunch MCP server (jgravelle/jdocmunch-mcp)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/jgravelle/jdocmunch

Why this is BLOCK. The audit found 0 critical and 5 high findings; the most severe is Filesystem / path at src/jdocmunch_mcp/security.py:84. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 6 Oct 2026

Trust score69/100✕BLOCK D
0 critical5 high1 medium20 low0 info

26 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

  • FilesystemDeclared7 observations
  • NetworkDeclared5 observations
  • ShellNone observedNothing seen in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Findings (26)

Sorted by severity · the 25 most severe of 26 are listed

HIGHFilesystem / pathfs.credential_store · src/jdocmunch_mcp/security.py:84
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"id_rsa",
Why
touches a credential store
Fix
—
HIGHFilesystem / pathfs.credential_store · src/jdocmunch_mcp/security.py:85
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"id_rsa.*",
Why
touches a credential store
Fix
—
HIGHFilesystem / pathfs.credential_store · src/jdocmunch_mcp/security.py:86
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"id_ed25519",
Why
touches a credential store
Fix
—
HIGHFilesystem / pathfs.credential_store · src/jdocmunch_mcp/security.py:87
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"id_ed25519.*",
Why
touches a credential store
Fix
—
HIGHFilesystem / pathfs.credential_store · src/jdocmunch_mcp/security.py:89
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"id_ecdsa",
Why
touches a credential store
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_index
Why
1 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWCode injectioncode.eval_exec · tests/test_verify_index_unhashed.py:206
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(compile(stripped, vi.__file__ + " (pre-fix)", "exec"), mod.__dict__)
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWInsecure cryptocrypto.weak_hash · src/jdocmunch_mcp/cli/hooks.py:115
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
key = hashlib.sha1(resolved_path.encode("utf-8")).hexdigest()
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · src/jdocmunch_mcp/storage/corpus_claims.py:35
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
return hashlib.sha1(payload).hexdigest()
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · src/jdocmunch_mcp/tools/_corpus_identity.py:70
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
digest = hashlib.sha1(json.dumps(entries).encode("utf-8")).hexdigest()[:16]
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · src/jdocmunch_mcp/tools/_corpus_identity.py:80
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
shape = hashlib.sha1(
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · src/jdocmunch_mcp/tools/_worktree_corpus.py:246
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
return hashlib.sha1(common_dir_norm.encode("utf-8", errors="replace")).hexdigest()[:16]
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/test_issue95_qa19.py:129
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
["local/../../escape", "./local", "local/.", "noslash", ""],
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/test_jdoc_138_raw_bytes_baseline.py:115
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
assert store.raw_doc_bytes(owner, name, ["", None, "nope.md", "../../outside.md"]) == 0
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/test_jdoc_143_resolve_root_once.py:88
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
@pytest.mark.parametrize("evil", ["../outside.md", "../../outside.md"])
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/test_storage.py:100
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
raw_files["../../etc/passwd"] = "evil"
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/test_v1_28_0.py:137
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"../../etc/passwd",
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.beacon_words · benchmarks/replay/corpus/openapi31/webhooks.yaml:73
F-04 Network egressCWE-200 · CWE-319Layer L1
required: [callback_url, events]
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.beacon_words · benchmarks/replay/corpus/openapi31/webhooks.yaml:75
F-04 Network egressCWE-200 · CWE-319Layer L1
callback_url:
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/test_local_summarizer_target.py:123
F-04 Network egressCWE-200 · CWE-319Layer L1
_configure_local(monkeypatch, "http://127.0.0.1:8000/v1", "llama-3.3-70b")
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/test_local_summarizer_target.py:129
F-04 Network egressCWE-200 · CWE-319Layer L1
assert str(built._client.base_url).rstrip("/") == "http://127.0.0.1:8000/v1"
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.tls_off · tests/test_v1_90_0.py:93
F-04 Network egressCWE-200 · CWE-319Layer L1
repo=repo, section_id=sid, verify=False, compress_code=True, storage_path=storage,
Why
certificate verification is disabled
Fix
leave verification on
LOWObfuscation / stealthobf.decode_call · src/jdocmunch_mcp/embeddings/worker.py:165
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
flat.frombytes(base64.b64decode(payload))
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.transfer_instruction · USER_GUIDE.md:314
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
jDocMunch contributes an anonymous token savings delta to a live global counter with each tool call, POSTed to `https://j.gravelle.us/APIs/savings/post.php` and displayed at [jcodemunch.com](https://j
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 · benchmarks/replay/corpus/markdown/authentication.md:12
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
curl -X POST https://api.example.com/auth/token \
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine

Tools it exposes

23 declared in source · 1 destructive

20 read2 write1 destructive

1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
delete_indexRemove a repo index and its cached raw files. Deletes the index and its cached files, never your source documents. There is no undo; re-index to restore.destructive
count_sectionsv1.59+ — count sections matching the same filter set as search_sections (path_glob, role/roles/exclude_roles, tags/exclude_tags, min/max_level, min/max_byte_length) but skip ranking. Use for UI counters orwrite
section_neighborsv1.37+ — return prev/next siblings (in document order), parent, and first child for a section. Handles only (id, title, level, doc_path) — no content. Use for fast sequential navigation without re-querying search_sections.write
describe_sectionv1.54+ — consolidated handle bundle: full metadata + ancestor breadcrumb + prev/next/parent/first_child neighbors for one section in a single call. Saves three round-trips vs calling get_section_summary + get_section_path + section_neighbors separately. No content reads.read
doc_index_repoIndex a GitHub repositoryread
get_all_rolesv1.50+ — list every distinct role classification across the repo with per-role section counts and id samples. Companion to v1.46 get_all_tags. Sections without metadata.role are bucketed underread
get_docv1.58+ — single-doc detail view. Pairs with list_docs (cross-doc inventory). Returns section list (handles), role_distribution, tag_distribution, byte_size, format, indexed_at for one doc. No content reads.read
get_document_outlineGet the section hierarchy for a single document file, without content. Headings only, no content. Read a section with get_section.read
get_index_overviewv1.56+ — single-call repo snapshot: doc_count, section_count, total_byte_size, format_breakdown, top_tags, top_roles, indexed_at. Composition of v1.46/v1.50/v1.55 aggregations. Use forread
get_recent_changesv1.47+ — list sections that have drifted from index state (edited_uncommitted or stale_index buckets via the v1.16 FreshnessProbe). By default compares the index against the cached raw-content mirror, NOT live workspace files; pass live_source=true to read the live files under the indexread
get_sectionRetrieve the full content of a specific section using byte-range reads. Use after identifying section IDs via search_sections or get_toc. Returns this sectionread
get_section_contextRetrieve a section with its full hierarchy context: ancestor headings (root → parent) for orientation, the target sectionread
get_section_descendantsv1.43+ — return every descendant of a section (BFS over parent_id) in document order with depth offset. Pairs with get_section_path (ancestors). Optional max_depth caps the walk; max_depth=1 returns immediate children only. Handles only — no content.read
get_section_excerptv1.41+ — return a short content preview (default 500 bytes) for one section. Trimmed to last newline before the cap so it ends on a paragraph boundary. Use to peek at content before paying for a full get_section read. _meta.tokens_saved reports the byte-savings vs full content.read
get_section_excerptsv1.49+ — batch counterpart to get_section_excerpt. Resolves N previews in one call against a single index load. Per-id errors reported in-line. _meta.tokens_saved aggregates byte savings across the batch. Previews are truncated by design; read full content with get_sections.read
get_section_pathv1.40+ — return the breadcrumb chain (root → ... → target) for a section_id. Walks parent_id upward; cycle-protected. Handles only ({id, title, level, doc_path}) per step plus depth.read
get_section_summariesv1.48+ — batch version of get_section_summary. Resolve metadata for many ids in one call against a single index load. Per-id errors are reported in-line on the corresponding result entry rather than aborting the batch.read
get_section_summaryv1.38+ — return full indexed metadata (title, summary, role, tags, metadata, parent_id, children, content_hash, byte_start/end, byte_length) for one section without fetching content. Use to inspect role/tags before deciding whether to read the content via get_section.read
get_sectionsBatch content retrieval for multiple sections in one call. Content only for the ids you pass; unknown ids come back as per-id errors, not a failed call.read
get_tocGet a flat table of contents for all sections in a repo, sorted by document order. Content is excluded — use get_section to retrieve content. Scope with path_glob; for a SINGLE document use get_document_outline (this tool has no doc_path parameter).read
get_toc_treeGet a nested table of contents tree per document. Shows parent/child heading relationships. Content is excluded.read
search_sectionsSearch sections by relevance. Hybrid (BM25 lexical + semantic embedding) fusion when the index was built with use_embeddings=true; falls back to lexical-only otherwise. Returns summaries only — use get_section for full content.read
search_titlesv1.57+ — fast title-only token-overlap match. Different from search_sections (full hybrid retrieval). Use for navigation:read

Safer alternatives

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · d388761fe3fa

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about jDocMunch MCP server

What is the jDocMunch MCP server?
The leading, most token-efficient MCP server for documentation exploration and retrieval via structured section indexing
What tools does jDocMunch expose?
23 in total: 20 read-only, 2 that write, and 1 that can delete or overwrite (delete_index). Every one is listed on this page with its risk.
Is jDocMunch safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 5 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does jDocMunch need?
It reads ANTHROPIC_API_KEY, GITHUB_TOKEN, GOOGLE_API_KEY, JDOCMUNCH_OPENAI_COMPAT_API_KEY, JDOCMUNCH_SESSION_TOKEN_BUDGET, JDOCMUNCH_SUMMARIZER_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 jDocMunch run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as jdocmunch-mcp.
How current is this page?
The grade is for one exact copy of the source (d388761fe3fa), read on 2026-10-06. The repository is watched and re-audited when it changes.
I already installed jDocMunch. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • jgravelle/jdocmunch-mcp on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit d388761fe3faObserved · 6 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.