Jdocmunch Mcp

general MCP Server

The leading, most token-efficient MCP server for documentation exploration and retrieval via structured section indexing

VerifiedInstall Ready
generalgeneral
4 views182 stars43 forksNOASSERTION

Why This Matters

Discovered via github-seeds and last synced 3mo ago.

VerifiedInstall Ready
Source
github-seeds
Stars
182
Last synced
3mo ago
Install
Instructions detected

Install

1. Install the package

uvx jdocmunch-mcp

2. Add to claude_desktop_config.json

{
  "mcpServers": {
    "jdocmunch-mcp": {
      "command": "npx",
      "args": [
        "jdocmunch-mcp"
      ]
    }
  }
}

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows)

45
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (45)

Subcommand

Purpose

index_local

Index a local documentation folder

get_section

Full content of one section

Markdown

`.md`, `.markdown`

ANTHROPIC_API_KEY

Section summaries via Claude Haiku

init

One-command onboarding: detect clients, write config, install policy, hooks, index

index_repo

Index a GitHub repository’s docs

get_sections

Batch content retrieval

MDX

`.mdx`

Task

Traditional approach

claude-md

Print or install the Doc Exploration Policy (`--install global\

list_repos

List indexed documentation sets

get_section_context

Section + ancestor headings + child summaries

reStructuredText

`.rst`

OPENAI_API_KEY

OpenAI embeddings (text-embedding-3-small)

macOS

`~/Library/Application Support/Claude/claude_desktop_config.json`

hook-posttooluse

PostToolUse hook handler (reads JSON from stdin)

get_toc_tree

Nested section tree per document

get_broken_links

Detect internal links/anchors that no longer resolve

HTML

`.html`

Linux

`~/.config/claude/claude_desktop_config.json`

hook-precompact

PreCompact hook handler (reads JSON from stdin)

get_document_outline

Section hierarchy for one document

get_doc_coverage

Which jcodemunch symbols have matching doc sections

OS

Path

hook-pretooluse

PreToolUse hook handler (reads JSON from stdin)

get_toc

Flat section list in document order

delete_index

Remove a doc index

AsciiDoc

`.adoc`

JDOCMUNCH_EMBEDDING_PROVIDER

Force provider: `gemini`, `openai`, `openai-compatible`, `sentence-transformers`, `none`

JDOCMUNCH_ST_MODEL

sentence-transformers model (default: `all-MiniLM-L6-v2`)

JDOCMUNCH_SHARE_SAVINGS

Set to `0` to disable anonymous community token savings reporting

GITHUB_TOKEN

GitHub API auth

Tool

Purpose

DOC_INDEX_PATH

Custom cache path

Format

Extensions

GOOGLE_API_KEY

Section summaries via Gemini Flash; also Gemini embeddings

search_sections

Weighted search returning summaries only

Windows

`%APPDATA%\Claude\claude_desktop_config.json`

Variable

Purpose

Platform

Config

JDOCMUNCH_OPENAI_COMPAT_BATCH_SIZE

Batch size for `openai-compatible` embeddings (default: `32`)

JDOCMUNCH_OPENAI_COMPAT_API_KEY

Dedicated optional API key for `openai-compatible` embeddings

JDOCMUNCH_OPENAI_COMPAT_URL

Endpoint URL for `openai-compatible` embeddings

JDOCMUNCH_OPENAI_COMPAT_MODEL

Model for `openai-compatible` embeddings