JDocmunch MCP logo

JDocmunch MCP

Indexes documentation by heading and retrieves only the sections agents need.

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"
      ],
      "env": {
        "DOC_INDEX_PATH": "YOUR_VALUE_HERE"
      }
    }
  }
}

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

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 64 tools correctly (Today).

Overview

jDocmunch MCP MCP server indexes documentation into a heading-based section tree and lets coding agents retrieve targeted content instead of whole files. It supports Markdown, reStructuredText, AsciiDoc, notebooks, HTML, YAML, JSON, and OpenAPI specifications, with indexing from local folders or GitHub repositories. Agents can search sections, fetch exact sections or heading subtrees, and inspect a table-of-contents tree. Reach for it when large documentation files are consuming context or when retrieval needs to preserve the original section text.

Use cases

  • Index a local documentation folder for agent queries
  • Search configuration guidance without loading whole files
  • Retrieve one heading subtree from a large documentation set
  • Browse an indexed corpus through its table of contents
  • Index GitHub repository documentation for coding agents

Key features

  • Heading-based section indexing
  • Byte-precise extraction from source files
  • Ranked section search
  • Stable section identities across compatible re-indexing
  • Local-folder and GitHub repository indexing
  • Optional lexical or embedding-assisted indexing

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 1d ago

Recent health check succeeded.

7/7 checks healthy over the last 36d

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 14d 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 commit2d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed64Callable tools this server registers over MCP.

How JDocmunch MCP works

What jDocmunch MCP does

jDocmunch MCP turns documentation files into a searchable collection of sections rather than treating each file as the smallest retrieval unit. It supports .md, .rst, .adoc, .ipynb, .html, .yaml, .json, and OpenAPI documents. Documentation can be indexed from a local directory or directly from a GitHub repository.

The server is designed for coding agents that need a narrowly scoped answer from a larger documentation set. A request such as an authentication or configuration lookup can return the relevant section without placing the entire source file into the model context.

How it works

During indexing, jDocmunch MCP parses heading hierarchy and records byte offsets into the original files. Retrieval then reads the requested content from those offsets, preserving the source section rather than generating a reformatted excerpt. Sections can retain stable identities across re-indexing when their path, heading text, and heading level stay the same.

A typical workflow indexes a documentation folder, searches for a topic with search_sections, and passes the best result to get_section. The server also supports structural browsing through get_toc_tree. Search results can include compact output or snippets to reduce the need for a follow-up retrieval call.

Setup and configuration

Python 3.10 or newer and an MCP-compatible client are required. The package can be installed with:

bash
uv tool install jdocmunch-mcp
jdocmunch-mcp init

For an ephemeral setup, run uvx jdocmunch-mcp. pipx and a manually managed virtual environment with pip are also supported. The init command can detect MCP clients, write configuration entries, install the documentation guidance prompt, and optionally set up hooks or index documentation.

Registering the server makes its tools available, but agents may still need explicit guidance to use them. The project recommends adding a jdocmunch_guide instruction to the agent's project configuration. Large indexes can be built from the shell with jdocmunch-mcp index-local, avoiding an MCP client tool-call timeout. DOC_INDEX_PATH can be set in both the client configuration and shell when using a custom index location.

Tools and capabilities

  • search_sections finds ranked documentation sections.
  • get_section retrieves one section from the original file.
  • get_toc_tree exposes the indexed heading structure.
  • index-local indexes a local documentation folder.
  • index_repo indexes documentation from a GitHub repository.
  • Indexing supports file limits, path selection, ignore patterns, and optional embeddings.

A local folder is capped at 10,000 files by default, with CLI options to raise the limit or narrow the indexed paths. Embeddings can be skipped for an initial lexical index and added during a later rebuild.

Limitations and notes

Commercial use requires a paid license; personal use is free. Scanned PDFs need the optional OCR extra and an OCR engine already installed on the machine. jDocmunch MCP does not install or download that engine, language pack, or model. Indexing very large folders may exceed a client's tool timeout, so the command-line indexer is the appropriate fallback.

Section-level savings depend on the size of the containing file and the requested section. A small file or broad section may provide little reduction. The project reports benchmark results by corpus rather than as a universal performance guarantee, and its retrieval-quality release gate uses an nDCG threshold of 0.95 on a frozen replay fixture.

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 local documentation folders and GitHub repositories. Its main tools index documentation, search ranked sections with `search_sections`, retrieve exact content with `get_section`, and browse heading structure with `get_toc_tree`, avoiding whole-file context loading.

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

Run `jdocmunch-mcp index-local --path ./docs` to index a local folder. The same operation can be invoked through the MCP server, but the command-line form avoids client tool timeouts for large folders. Use `--max-files`, `--extra-ignore-pattern`, or `--paths-from` to narrow or expand indexing.

Yes. Add it to Claude Code with `claude mcp add -s user jdocmunch -- uvx jdocmunch-mcp`. An alternative is to install the executable with `uv tool install` and register `jdocmunch-mcp` directly. The project also recommends a `jdocmunch_guide` instruction so the agent uses the section tools.

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>