← Back to directory
M

MCP Documentation Server

Community
Manage documents and search them semantically for AI coding agents.
Category
Dev Tools #282 of 751
Stars
★ 347 Popular
Transport
stdio (local process)
Runtime
Node.js
Credentials
Optional API key
License
MIT
Last commit
Tools
12
53FMRS · D

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

Reliability
8/20
Security and permissions
10/20
Maintenance
10/20
Documentation
12/20
Setup experience
13/20
Why each score
Reliability 8/20
The README describes a stdio MCP server, its tools, Zod validation, local storage, and search workflow, so the happy path appears plausible. However, only the README and manifest were provided; there is no source, CI, or test evidence to verify initialization, tool behavior, error handling, or dependency failures, so the static-review cap and uncertainty lower the score.
Security and permissions 10/20
The README says data is stored locally by default, Gemini network calls are optional and require a user-supplied API key, and the Web UI binds to 127.0.0.1 by default. It also describes side-effecting features such as deleting documents and processing uploads, without evidence about confirmation, API access control, or data boundaries. No red-line evidence is present in the supplied material, but these gaps limit the assessment.
Maintenance 10/20
The manifest identifies an MIT license and version 1.15.1, and the repository metadata says it is not archived. The supplied material contains no verifiable release history, commit activity, issue response, dependency update record, or security-response channel, so the score remains moderate.
Documentation 12/20
The README provides client installation examples, configuration variables, a tool overview, storage layout, model options, and a basic workflow. It lacks complete tool parameter details, file size or format limits, troubleshooting guidance, security boundaries, and Gemini cost information; the described capabilities also cannot be verified against source.
Setup experience 13/20
A mainstream MCP client npx configuration is provided, along with optional environment variables and the default Web UI address, making the setup path clear. Runtime version requirements and platform compatibility are not documented, and there is no CI or committed-test evidence validating the connection steps, so the score stays below the upper range.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesUses the networkConnects to a database

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.

Not for

  • Use cases that require a hosted cloud service or an external database service.
  • Users who need file formats or client compatibility guarantees not documented in the source.

Required permissions

  • Needs to read and write data under MCP_BASE_DIR; the default is ~/.mcp-documentation-server.
  • Processing uploads requires access to TXT, Markdown, or PDF files in the uploads folder.
  • The Web UI uses local address 127.0.0.1 and port 3080 by default; its host and port can be configured.
  • Gemini AI search requires a user-provided GEMINI_API_KEY.

Risks and side effects

  • Changing the embedding model requires re-adding all documents, because embeddings from different models are incompatible.
  • Setting WEB_HOST to 0.0.0.0 binds the Web UI to all network interfaces.
  • Gemini AI search requires an API key; the source does not describe key handling or data processing for remote calls.

Setup

Before you start

Runtime:Node.js

GEMINI_API_KEY optionalsecret Optional Google Gemini API key, available from Google AI Studio; enables `search_documents_with_ai`.
Other optional settings (9)
MCP_BASE_DIR optional Optional data storage directory; defaults to `~/.mcp-documentation-server`.
MCP_EMBEDDING_MODEL optional Optional local embedding model name; defaults to `Xenova/all-MiniLM-L6-v2`.
START_WEB_UI optional Set to `false` to disable the built-in web interface; enabled by default.
WEB_HOST optional Optional Web UI bind address; defaults to `127.0.0.1`.
WEB_PORT optional Optional Web UI port; defaults to `3080`.
MCP_CACHE_ENABLED optional Enables or disables the LRU embedding cache; enabled by default.
MCP_STREAMING_ENABLED optional Enables or disables streaming reads for large files; enabled by default.
MCP_STREAM_CHUNK_SIZE optional Streaming buffer size in bytes; defaults to `65536`.
MCP_STREAM_FILE_SIZE_LIMIT optional 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.

MCP config · JSON
{"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.

.vscode/mcp.json
{
  "servers": {
    "documentation": {
      "command": "npx",
      "args": [
        "-y",
        "@andrea9293/mcp-documentation-server"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.documentation]
command = "npx"
args = ["-y", "@andrea9293/mcp-documentation-server"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add documentation -- npx -y @andrea9293/mcp-documentation-server

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

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.

Troubleshooting

  1. Check that the MCP client configuration uses npx and the correct npm package identifier.
  2. If the Web UI does not open, check START_WEB_UI, WEB_HOST, and WEB_PORT, and whether the local port is available.
  3. If AI search is unavailable, check that GEMINI_API_KEY is configured; without it, only local embedding search tools are available.
  4. The embedding model downloads on first use; check network availability and available space for model files.

Things to try

Once connected, you can ask your AI assistant things like:

  • Add a document titled TypeScript Guide about interfaces and types.
  • Search all documents for information about error handling.

Tools 12

add_document writes
Add a document with a title, content, and optional metadata.
list_documents read-only
List documents with metadata and content previews.
get_document read-only
Retrieve a document's full content by ID.
delete_document destructive
Delete a document, its chunks, database entries, and associated files.
process_uploads writes
Process files in the uploads folder, including chunking and embedding generation.
get_uploads_path read-only
Return the absolute path to the uploads folder.
list_uploads_files read-only
List files in the uploads folder with size and format information.
get_ui_url read-only
Return the Web UI URL.
Show 4 more tools
search_documents read-only
Run semantic vector search within a specified document.
search_all_documents read-only
Run hybrid full-text and vector search across documents.
get_context_window read-only
Return chunks surrounding a specified chunk index.
search_documents_with_ai read-only
Search with Gemini AI; requires GEMINI_API_KEY.

Use cases

Organize and search framework documentation, API docs, or internal guides.
Import TXT, Markdown, or PDF files into a knowledge base and search them semantically.
Manage documents through the web interface or REST API.

Overview

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.

Similar servers

Source revision 9a75899000ad Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/mcp-documentation-server.svg)](https://followmcp.com/en/servers/mcp-documentation-server)