mcp-doc-search
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-doc-searchSearch docs for onboarding checklist and retrieve the full document"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-doc-search
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 |
| Ranks documents in the docs folder against a query and returns top matches with snippets and scores. |
| Returns the full text of a document by id, for citation or deeper reading. |
Related MCP server: RAG Database MCP Server
Quick start
npm install
npm run build
DOCS_DIR=./docs npm startThe 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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/anujmv/mcp-doc-search'
If you have feedback or need assistance with the MCP directory API, please join our Discord server