docent
Semantic + BM25 document search — MCP server written in Rust that indexes markdown documents as a local knowledge base.
files ──▼── index (in-memory+cache) ──▶ MCP server ◀──── query
(HTTP)
Agenten stärken
Installation vom Herausgeber. Kein PlugMCP-Endpunkt.
Host a copy with our keys and logs.
Noch kein paketiertes Release in der Registry. Folgen Sie der README des Repositorys.
Remote-URL oder ein Befehl auf Ihrem Rechner? Worin sich die beiden Installationen unterscheiden
Auf PlugMCP ausführen
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
Startendocent index add ./docs # add a directory to the index
docent serve # start the MCP server and web UI
docent serve prints the URL it is listening on; open that URL for the built-in Web UI.
Configuration is stored in ~/.docent/settings.json and created automatically on first run.
*.md). Add roots with docent index add or docent watch, or list them in index.doc_dirs in ~/.docent/settings.json.fastembed using the configured model.~/.docent/index/docent.db; serve loads this into an in-memory merged semantic + BM25 index on startup.serve, all watched roots are reindexed in the background before search is available.SearchResult.stale = true.search_doc tool over streamable HTTP.~/.docent/settings.json is a JSON file with the following sections:
{
"index": {
"embedding_model": "BGESmallENV15Q",
"doc_dirs": [],
"cache_dir": "/home/<user>/.docent/cache/",
"chunk_size": 512,
"chunk_overlap": 64,
"watch": { "enabled": true, "debounce_ms": 5000, "max_batch_size": 64 }
},
"server": { "port": 0 },
"search": {
"ranking": { "same_src_score_decay": 0.9, "file_hint_boost": 1.5 },
"fusion": { "strategy": { "rrf": { "k": 60.0 } } },
"bm25": { "k1": 1.2, "b": 0.75 }
}
}
Pre-built Linux x86_64 binaries are available on the releases page.
curl -sSL https://github.com/cuzfrog/docent-mcp/releases/latest/download/install.sh | bash
This installs docent to ~/.local/bin and, if needed, updates your shell profile to include it in PATH.
curl -sSL https://github.com/cuzfrog/docent-mcp/releases/download/v0.9.0/install.sh | DOCENT_VERSION=v0.9.0 bash
Download the asset for your platform from the latest release, make it executable, and place it in a directory on your PATH:
curl -sSL -o docent https://github.com/cuzfrog/docent-mcp/releases/latest/download/docent-x86_64-unknown-linux-gnu
chmod +x docent
mv docent ~/.local/bin/
cargo build --release
The binary is then available at target/release/docent.
Semantic + BM25 Document search MCP server
Tools
Noch keine Tool-Liste. Remote-Server erhalten eine nach dem ersten Health-Check.
FAQ
Kopieren Sie auf dieser Seite die stdio-Konfiguration für Cursor, Claude Desktop, Claude Code oder VS Code. Sie nutzt die Installation des Herausgebers, keinen PlugMCP-Proxy.
In diesem Eintrag ist keine erforderliche Umgebungsvariable aufgeführt.
Docent läuft lokal über stdio.
Zuletzt geprüft: 2026-10-28. Semantic + BM25 Document search MCP server