JDocmunch MCP logo

JDocmunch MCP

Indexes documentation by heading and retrieves only the sections an agent needs.

Install JDocmunch MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "jdocmunch-mcp": {
      "command": "uvx",
      "args": [
        "jdocmunch-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

jDocmunch MCP indexes local documentation folders and GitHub repository docs into section-aware stores, then exposes search, navigation, metadata, diagnostics, and precise content retrieval over MCP. Its retrieval model combines heading hierarchies with byte ranges, so agents can search for a relevant section and read it without loading an entire file. Reach for it when documentation is large, section-level context matters, or you need inventories, link checks, freshness checks, and coverage reports. Embeddings are optional; configured providers enable hybrid lexical and semantic search, while unconfigured indexes use lexical retrieval.

Use cases

  • Index a local documentation folder for agent retrieval
  • Search GitHub repository docs by section
  • Fetch only the relevant configuration or installation section
  • Audit indexed docs for broken internal links
  • Check whether code symbols have matching documentation

Key features

  • Section-level indexing by heading hierarchy
  • Lexical and optional hybrid semantic search
  • Byte-range content retrieval
  • Document inventories and table-of-contents navigation
  • Freshness, link, orphan, and coverage analysis
  • Batch section metadata and content retrieval

Tools64

What JDocmunch MCP lets your agent do. Expand a tool for its parameters.

Verified live~14.9k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

15/15 checks healthy over the last 51d

What it can do

From the 64 tools this server returned when we ran it; 64 declare their own safety hints.

Runs commands · 2Can delete or modify data · 2Handles credentials · 1Makes network requests · 2Read-only tools · 60
Network at startup2 connections
Files written at startup16

Observed 2026-10-24 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · jdocmunch-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars206Stargazers on the source repository.
Last commit3d agoMost recent push to the default branch.
Tools exposed64Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How JDocmunch MCP works

What jDocmunch MCP does

jDocmunch MCP turns documentation collections into searchable section indexes. It accepts local folders and GitHub repositories, parses supported files by heading hierarchy, and stores section metadata alongside references to the original content. The main retrieval flow is to index a source, search or browse its headings, and fetch only the selected section.

Local indexing covers Markdown, plain text, and reStructuredText. Installing the optional office extra adds local conversion of PDF, DOCX, PPTX, and EPUB files into Markdown. Repository indexing reads Markdown and text files from GitHub repositories and ignores other repository files.

The server is useful for coding agents working with large documentation sets. Stable section identities can survive re-indexing when the document path, heading text, and heading level remain unchanged.

How it works

index_local and doc_index_repo create or refresh indexes in local storage. Local indexing reports skipped files, coverage status, file changes, and duplicate explicit heading anchors. Repository indexing reports changes using the head commit timestamp. Use doc_list_repos to discover available indexes and obtain the repository identifier required by other tools.

Search is section-oriented. search_sections uses BM25 and semantic fusion when embeddings were enabled during indexing; otherwise it uses lexical search. search_titles provides a faster title-only lookup, and count_sections counts matches without ranking them. Search results are summaries, so get_section, get_sections, or get_section_context retrieves content afterward. Section reads use byte ranges from the original file and exclude nested child sections unless requested through another navigation pattern.

The navigation tools expose flat and nested tables of contents, document outlines, breadcrumbs, ancestors, descendants, neighboring sections, excerpts, and metadata. Repository-level tools provide document inventories, aggregate overviews, tags, roles, and recent drift from indexed content.

Setup and configuration

The package requires Python 3.10 or newer and an MCP-compatible client. A typical installation uses:

bash
uv tool install jdocmunch-mcp
jdocmunch-mcp init

The server can also run through uvx jdocmunch-mcp, or be installed with pipx or pip inside a managed virtual environment. Claude Code can register it with:

Terminal
claude mcp add -s user jdocmunch -- uvx jdocmunch-mcp

For large folders, run jdocmunch-mcp index-local --path <dir> from a shell to avoid client tool-call timeouts. The CLI writes to the same store used by the MCP server. The default local indexing cap is 10,000 files, and files larger than 5 MB are skipped unless the limit is changed. The optional ocr extra supports scanned PDFs through an OCR engine already installed on the machine.

Embeddings activate when a supported provider is configured, including Google, OpenAI, an OpenAI-compatible endpoint, or sentence-transformers. Without embeddings, the index remains available for lexical search.

Tools and capabilities

  • Index and refresh local documentation or GitHub repository documentation.
  • Search sections with lexical or hybrid semantic retrieval.
  • Browse document outlines, flat inventories, nested tables of contents, and section relationships.
  • Retrieve full sections, batches of sections, excerpts, summaries, and hierarchy context.
  • Inspect tags, roles, repository statistics, file changes, and index freshness.
  • Find broken links, orphaned sections, duplicate anchors, and documentation coverage for jcodemunch symbols.
  • Delete an index and its cached raw files without deleting source documents.

Limitations and notes

Indexing stores local index data and cached raw files; deleting an index does not delete the source documents, but the operation has no undo. Repository indexing is limited to Markdown and text files. OCR output from scanned pages can contain recognition errors, including scrambled tables and forms.

Change lists are capped at 50 entries, while separate totals identify additional changes. A local file timestamp uses naive local time, whereas a repository change timestamp is offset-aware from the head commit, so callers should account for that difference. Freshness checks compare against the cached mirror by default and require live_source=true to inspect current workspace files.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about JDocmunch MCP

jDocmunch MCP is an MCP server that connects coding agents to indexed local documentation folders and GitHub repositories. Its main tools index sources, search sections, browse document structure, and retrieve exact section content. It avoids sending whole files when an agent needs only a specific heading or configuration passage.

Install it with `uv tool install jdocmunch-mcp`, then run `jdocmunch-mcp init` to register it with detected MCP clients. You can also use `uvx jdocmunch-mcp` for an ephemeral setup, or install it with pipx or pip inside a managed virtual environment.

Run `jdocmunch-mcp index-local --path <dir>` or call `index_local` through MCP with the folder path. The indexer parses supported files by heading hierarchy and reports coverage, skipped paths, changes, and section counts. Shell indexing is recommended for very large folders that may exceed a client timeout.

Yes, semantic search is supported when an index is built with embeddings enabled and a supported provider is configured. `search_sections` then combines BM25 lexical retrieval with semantic fusion. Without embeddings, the same tool falls back to lexical-only search.

Yes. jDocmunch MCP uses the standard MCP interface and runs as a stdio server, so it can be registered with Cursor or another MCP-compatible client. The package initialization command can detect supported clients and write configuration entries.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewJDocmunch MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/jdocmunch-mcp?style=directory)](https://allmcps.com/mcp/jdocmunch-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/jdocmunch-mcp"><img src="https://allmcps.com/api/badge/jdocmunch-mcp?style=directory" alt="JDocmunch MCP on AllMCPs" /></a>