jdocmunch-mcp
by jgravelle·★ 171·Score 51
MCP server for efficient documentation exploration via structured section indexing, reducing token consumption by 95% compared to traditional approaches.
Overview
jDocMunch is a sophisticated MCP server that transforms how AI agents interact with documentation by shifting from file-based to section-based access. It indexes documentation once using heading hierarchy and section structure, then provides precise access to only the content an agent needs. This approach dramatically reduces token consumption, eliminates irrelevant context, and improves agent reliability. The server implements the jMRI-Full specification, supporting discovery, search, retrieval, and metadata operations with batch capabilities, hash-based drift detection, and byte-offset addressing.
Try asking AI
After installing, here are 7 things you can ask your AI assistant:
When to choose this
When working with large documentation sets and need efficient, structured retrieval without flooding context windows.
When NOT to choose this
For teams with limited budgets as commercial use requires paid licensing, or if you need basic file access without section indexing.
Tools this server exposes
7 tools extracted from the READMEindex_local{ "path": "/path/to/docs" }Index a local folder of documentation
index_repo{ "url": "owner/repo" }Index documentation from a GitHub repository
get_toc{ "repo": "owner/repo" }Get the table of contents for a documentation repository
get_toc_tree{ "repo": "owner/repo" }Get the hierarchical table of contents tree
get_document_outline{ "repo": "owner/repo", "doc_path": "docs/config.md" }Get the outline structure of a specific document
search_sections{ "repo": "owner/repo", "query": "authentication" }Search for documentation sections matching a query
get_section{ "repo": "owner/repo", "section_id": "owner/repo::docs/config.md::authentication#1" }Retrieve the content of a specific documentation section
Comparable tools
Installation
Installation
**Prerequisites**
- Python 3.10+
- pip
**Install via pip:**
pip install jdocmunch-mcp**Configure Claude Desktop:** Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"jdocmunch": {
"command": "uvx",
"args": ["jdocmunch-mcp"]
}
}
}For optional AI summaries and GitHub auth:
{
"mcpServers": {
"jdocmunch": {
"command": "uvx",
"args": ["jdocmunch-mcp"],
"env": {
"GITHUB_TOKEN": "ghp_...",
"ANTHROPIC_API_KEY": "sk-ant-..."
}
}
}
}After saving, restart Claude Desktop.
FAQ
- How does jDocMunch compare to traditional documentation retrieval methods?
- jDocMunch reduces token consumption by up to 95% compared to traditional file-based approaches. Instead of loading entire documents, it indexes by section and retrieves only the relevant content, making documentation exploration much more efficient.
- What file formats does jDocMunch support?
- It supports Markdown/MDX/HTML/RST/AsciiDoc for heading-based parsing, OpenAPI tags for structure-based parsing, and Jupyter notebooks for cell-based parsing.
- Is jDocMunch free for commercial use?
- jDocMunch is free for non-commercial use only. Commercial use requires a paid license with options ranging from $29 (Builder) to $499 (Platform) depending on the number of developers and deployment scope.
Compare jdocmunch-mcp with
Last updated · Auto-generated from public README + GitHub signals.