Doc Search
БесплатноНе проверенEnables searching and retrieving documents from a local folder to ground LLM answers in your files.
Описание
Enables searching and retrieving documents from a local folder to ground LLM answers in your files.
README
A small Model Context Protocol (MCP) server that gives
an LLM grounded search and retrieval over a local folder of documents. The model calls
search_docs to find relevant sources, then get_document to read and cite them, so
answers stay grounded in your files instead of the model's memory.
Built as a focused, forward-deployed pattern: the simplest thing that makes retrieval real and citable, ready to drop into an enterprise workflow and extend with embeddings or evals.
Tools
| Tool | What it does |
|---|---|
search_docs |
Ranks documents in the docs folder against a query and returns top matches with snippets and scores. |
get_document |
Returns the full text of a document by id, for citation or deeper reading. |
Quick start
npm install
npm run build
DOCS_DIR=./docs npm start
The server speaks MCP over stdio, so it is launched by an MCP client rather than used directly.
Use with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"doc-search": {
"command": "node",
"args": ["/absolute/path/to/mcp-doc-search/dist/index.js"],
"env": { "DOCS_DIR": "/absolute/path/to/your/docs" }
}
}
}
Then ask Claude something answerable from your docs, for example: "Search the docs for the KYC retry policy and cite the source."
How it works
- On startup the server indexes every
.md/.txtfile inDOCS_DIR. search_docsscores documents with a term-frequency relevance measure and returns ranked snippets.get_documentreturns full text for citation.
Scoring is intentionally simple. The point is the grounded retrieval contract, which is swappable for vector embeddings without changing the tool interface.
Roadmap
- Vector embeddings + chunking for semantic search
- PDF ingestion with OCR for scanned documents
- A small eval set to measure answer groundedness
License
MIT
Установка Doc Search
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/anujmv/mcp-doc-searchFAQ
Doc Search MCP бесплатный?
Да, Doc Search MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Doc Search?
Нет, Doc Search работает без API-ключей и переменных окружения.
Doc Search — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Doc Search в Claude Desktop, Claude Code или Cursor?
Открой Doc Search на 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 Doc Search with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
