Documentation Search
Local retrieval-only RAG over any markdown docs repo, with cited passages
Documentation Search is an open-source MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- macOS, Windows, Linux
- Runs
- Locally
- Version
- 0.4.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mcp-docs-ask -- uvx mcp-docs-askAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp-docs-ask": {
"command": "uvx",
"args": [
"mcp-docs-ask"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mcp-docs-ask": {
"command": "uvx",
"args": [
"mcp-docs-ask"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-docs-ask": {
"command": "uvx",
"args": [
"mcp-docs-ask"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp-docs-ask": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-docs-ask"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mcp-docs-ask -- uvx mcp-docs-askOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp-docs-ask]
command = "uvx"
args = ["mcp-docs-ask"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-docs-ask": {
"command": "uvx",
"args": [
"mcp-docs-ask"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp-docs-ask": { "command": "uvx", "args": [ "mcp-docs-ask" ] } } }Or run: gemini mcp add -s user mcp-docs-ask uvx -- mcp-docs-ask
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp-docs-ask": { "command": "uvx", "args": [ "mcp-docs-ask" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp-docs-ask": { "command": "uvx", "args": [ "mcp-docs-ask" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp-docs-ask": { "command": "uvx", "args": [ "mcp-docs-ask" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp-docs-ask": { "command": "uvx", "args": [ "mcp-docs-ask" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp-docs-ask": { "command": "uvx", "args": [ "mcp-docs-ask" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp-docs-ask": { "command": "uvx", "args": [ "mcp-docs-ask" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp-docs-ask": { "command": "uvx", "args": [ "mcp-docs-ask" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Documentation Search
This server indexes a folder or git repository of Markdown and hands back the passages that best match a question, leaving the answer to the MCP host. There is no answer-generating model and no API key: embeddings come from sentence-transformers models that run on your machine, and the weights are downloaded once on first use.
Configuration is a JSON file listing documentation collections. Each can point at a local path or a git URL with a branch, tag or SHA, and can include or exclude globs. Optional layers split a repo by path, for example guides versus API reference, so a search can be narrowed. Chunks follow headings, and passages come back with their heading path and numbered citations within a character budget.
The index rebuilds itself when files, config or the embedding model change, and private git sources use the credentials already on the machine. It needs Python 3.13 or newer and uv, and the README recommends different embedding models for English-only, Chinese-only and multilingual docs.
Tools this server provides (3)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 3 tools reads data; 2 names don't say.
From the server's own tool labels and tool names; not verified by us.
- list_docsName suggests: reads
- Lists configured docs collections, layer filters and index state
- ask_docs
- Retrieves grounded passages and citations for a question
- reindex
- Syncs the git source if any and rebuilds the vector index
What it does
- Any Markdown source
- Indexes a local path or a git URL, fetched on reindex.
- Local embeddings
- Runs sentence-transformers on your machine without API keys.
- Layers
- Splits a repo by path globs so searches can target guides or API reference.
- Cited passages
- Returns full chunks with heading paths and numbered citations.
- Self-refreshing index
- Rebuilds when files, config or the embedding model change.
- Model choice
- Lets you pick English, Chinese or multilingual embedding models per collection.
Good for
- Search a product's docs repo from an editor assistant
- Query internal team notes kept as Markdown
- Narrow questions to API reference or how-to guides
- Get citations to the exact source file for each answer
Pricing
Open source
Free open source
Documentation Search FAQ
Does Documentation Search generate answers?
No. It does retrieval only; the host model writes the answer from the returned passages.
Does Documentation Search need API keys?
No. Embeddings run locally with sentence-transformers.
What are the requirements?
Python 3.13 or newer, uv, and git if the source is a git URL.
How do I access a private repo?
Use git credentials already on the machine, such as gh auth login or SSH; no tokens go in the config.
Is Documentation Search free?
Yes. Documentation Search is open source, so you can use and self-host it for free.
How do I add Documentation Search to Claude Code?
Run this command in your terminal: claude mcp add mcp-docs-ask -- uvx mcp-docs-ask
What are the best alternatives to Documentation Search?
The closest alternatives to Documentation Search are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


