LocalFree

Doctree MCP server

joesaby/doctree-mcp

BM25 search + tree navigation over markdown docs for AI agents. No embeddings, no LLM calls.

1 GitHub stars1 forks137 npm downloads / month

Install Doctree in Claude Code

Claude Code
claude mcp add doctree -e DOCS_ROOT=... -- npx -y doctree-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "doctree": {
      "command": "npx",
      "args": [
        "-y",
        "doctree-mcp"
      ],
      "env": {
        "DOCS_ROOT": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Doctree MCP server do?

BM25 search + tree navigation over markdown docs for AI agents. No embeddings, no LLM calls.

Is the Doctree MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Doctree run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Doctree to Claude Code?

Run: claude mcp add doctree -e DOCS_ROOT=... -- npx -y doctree-mcp

More search & web scraping MCP servers

View all