io.github.joesaby
doctree-mcp
BM25 search + tree navigation over markdown docs for AI agents. No embeddings, no LLM calls.
stdiocommunityknowledge
Package Details
doctree-mcp
Transportstdio
Runtimebunx
Environment Variables
DOCS_ROOT
Required
Path to your markdown repository root
DOCS_GLOB
Glob pattern for finding markdown files (default: **/*.md)
DOCS_ROOTS
Multiple weighted collections: ./docs:1.0,./api:0.8 (alternative to DOCS_ROOT)
GLOSSARY_PATH
Path to glossary.json for query expansion (default: $DOCS_ROOT/glossary.json)