Best for
- Users who want a local document knowledge base that AI coding agents can search.
- Use cases that need local embedding search, with optional Gemini AI search.
The source describes a stdio MCP server with document management, upload processing, hybrid search, optional Gemini search, and an npx client configuration example.
Strongest · Setup experience 13/20 Weakest · Reliability 8/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Node.js
GEMINI_API_KEY
Optional Google Gemini API key, available from Google AI Studio; enables `search_documents_with_ai`.
MCP_BASE_DIR
Optional data storage directory; defaults to `~/.mcp-documentation-server`.
MCP_EMBEDDING_MODEL
Optional local embedding model name; defaults to `Xenova/all-MiniLM-L6-v2`.
START_WEB_UI
Set to `false` to disable the built-in web interface; enabled by default.
WEB_HOST
Optional Web UI bind address; defaults to `127.0.0.1`.
WEB_PORT
Optional Web UI port; defaults to `3080`.
MCP_CACHE_ENABLED
Enables or disables the LRU embedding cache; enabled by default.
MCP_STREAMING_ENABLED
Enables or disables streaming reads for large files; enabled by default.
MCP_STREAM_CHUNK_SIZE
Streaming buffer size in bytes; defaults to `65536`.
MCP_STREAM_FILE_SIZE_LIMIT
File size threshold for switching to streaming, in bytes; defaults to `10485760`.
Add the supplied configuration to your MCP client configuration. The server starts via npx; the README says the Web UI starts by default on local port 3080. Configure GEMINI_API_KEY to use AI search.
{"mcpServers":{"documentation":{"command":"npx","args":["-y","@andrea9293/mcp-documentation-server"]}}}
Works in clients that read an "mcpServers" key. For clients such as VS Code that use a different key, the configurator below converts it.
{
"servers": {
"documentation": {
"command": "npx",
"args": [
"-y",
"@andrea9293/mcp-documentation-server"
]
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.documentation] command = "npx" args = ["-y", "@andrea9293/mcp-documentation-server"]
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add documentation -- npx -y @andrea9293/mcp-documentation-server
Run it in a terminal; replace any <…> placeholders with your own values first.
Confirm `list_documents` and `search_all_documents` appear in your client's tool list. Calling `list_documents` and receiving a document list confirms the connection.
Once connected, you can ask your AI assistant things like:
No matching tools
MCP Documentation Server is a local-first document management and search server for AI coding agents. It supports document management, file uploads, chunking, and semantic search, with a web interface and REST API. Search can use local embeddings; Gemini AI search is also available when a Gemini API key is configured.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision 9a75899000ad Data synced 2026-12-05 Read the FMRS scoring method Markdown