jDocMunch MCP
Lets your AI agent search documentation and fetch just the section it needs instead of reading whole files.
206 stars on GitHubby J. GravelleLicense NOASSERTIONUpdated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add jdocmunch -- uvx jdocmunch-mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Using jdocmunch, search the docs for authentication configuration and show me that section.
Index the docs folder in this project and show me its table of contents.
What it is
jDocMunch indexes a documentation folder by its headings and lets your agent fetch one section, a heading subtree or a ranked search result. It reads Markdown, RST, AsciiDoc, Jupyter, HTML, OpenAPI and more. It runs locally and saves the context window from being filled with pages you do not need.
What it can do
search_sections: ranked search over documentation sectionsget_section: fetch one exact sectionget_toc_tree: see the structure of the whole corpusindex_local: index a local documentation folderindex_repo: index docs straight from a GitHub repositoryjdocmunch_guide: instructions for the agent on how to use the tools
When to use
- βΊWhen you want your agent to answer questions from a large documentation set without reading every file.
- βΊWhen you want to index the docs of a GitHub repository and search them by section.
- βΊWhen you want to cut the tokens spent on reading documentation.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
get-api-docsHelps your agent fetch current documentation for third-party APIs and libraries before writing code, instead of relying on old memory.ctx-searchLets your agent search the context-mode index of past project content, documentation and session notes, returning focused snippets instead of full files.microsoft-docsLets your agent query official Microsoft documentation. It can find concepts, tutorials, and code examples for various Microsoft technologies.Frequently asked questions
Is it free?
Free for personal and non-commercial use. Commercial use needs a paid one-time license.
Does it run locally?
Yes. It runs on your machine. OCR for scanned PDFs also runs locally.
Which file types does it read?
Markdown, RST, AsciiDoc, Org, Jupyter notebooks, HTML, YAML, JSON and OpenAPI specs.
What are the limits?
A folder is capped at 10,000 files by default, newest first. You can raise it with max_files.
Can it read scanned PDFs?
Only with the optional ocr extra, an OCR engine already on your machine, and JDOCMUNCH_OCR=1 set by you.
Will my agent use it automatically?
Add one line to your CLAUDE.md: call the jdocmunch_guide tool and follow its instructions.
If it does not work
- βΊIf hooks do not work, install with uv tool install (or pipx/pip) instead of only using uvx.
- βΊIf a big folder times out in your client, index it from a shell with jdocmunch-mcp index-local --path.
- βΊRun jdocmunch-mcp --version to confirm the install.
5 new skills a week. 1 minute to read.