Описание
Semantic + BM25 Document search MCP server
README
docent
Semantic + BM25 Document search — an experimental MCP server written in Rust that indexes markdown documents, letting agents query why code looks the way it does.
files ──▼── index (in-memory) ──▶ MCP server ◀──── query
(HTTP)
Quick Start
docent init # generate docent.toml config
docent serve # start MCP server on port 7878 (indexes doc_dirs in the background)
Open http://localhost:7878 for the built-in Web UI.
Usage
| Command | Description |
|---|---|
docent init |
Generate a docent.toml config file |
docent serve |
Start the MCP server (streamable HTTP); indexes in the background |
docent list-models |
List supported embedding models |
Flags: --config <path> (default ./docent.toml).
How It Works
- Sources — Reads markdown files from
[index] doc_dirs(default:./). - Section-aware chunking — Splits documents into chunks, preserving heading structure.
- Embedding — Converts chunks to vectors via
fastembed(configurable model). - In-memory index — Builds an in-memory semantic + BM25 index on
servestartup; nothing is persisted to disk. - Auto-refresh — Watches
doc_dirsfor changes (debounced) and incrementally reindexes edited files. Stale results during reindex are flagged viaSearchResult.stale = true. - Semantic + BM25 search — Hybrid scoring with configurable algorithm.
- MCP server — Exposes
search_doctool over streamable HTTP.
Install
TBC
Documentation
Установка Docent
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/cuzfrog/docent-mcpFAQ
Docent MCP бесплатный?
Да, Docent MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Docent?
Нет, Docent работает без API-ключей и переменных окружения.
Docent — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Docent в Claude Desktop, Claude Code или Cursor?
Открой Docent на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Docent with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
