Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyData and databases

MCP Documentation Server

Lets your AI agent store your own documents and search them by meaning, all on your own machine.

344 stars on GitHubby andrea9293License MITUpdated 3 months ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

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

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Add this PDF to my documents and tell me when it is ready.
Search all my documents for what we decided about the refund policy.

What it is

This server keeps a local knowledge base of your documents. You add text, Markdown or PDF files, and the agent can search them with a mix of keyword and meaning-based search. It also starts a web page on port 3080 where you can browse and manage the documents.

What it can do

  • add_document: add a document
  • list_documents and get_document: browse and read
  • delete_document: remove a document
  • process_uploads: process files from the uploads folder
  • search_documents: search inside one document
  • search_all_documents: search across everything
  • get_context_window: fetch nearby chunks for context
  • search_documents_with_ai: AI search with Gemini

When to use

  • β€ΊWhen you want your agent to answer from your own internal guides or API docs.
  • β€ΊWhen you want to search a pile of PDFs and notes without any cloud service.
  • β€ΊWhen you want a simple web page to browse your knowledge base.

What you need

Nothing besides Node.js. A Gemini API key is optional and only enables the AI search tool.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes. It is MIT licensed.

Does it need the cloud?

No. It runs offline with a local vector database and local embeddings.

Which files can I add?

Text, Markdown and PDF files.

Is there a web interface?

Yes. It starts at http://localhost:3080 by default, and you can turn it off with START_WEB_UI=false.

Where is my data stored?

In ~/.mcp-documentation-server by default, or the folder in MCP_BASE_DIR.

Can I change the embedding model?

Yes, but you must add all documents again, because embeddings from different models do not match.

If it does not work

  • β€ΊThe first run downloads an embedding model of about 80 to 420 MB, so allow time.
  • β€ΊIf port 3080 is in use, set WEB_PORT to another number.
  • β€ΊAfter changing MCP_EMBEDDING_MODEL, re-add your documents.

5 new skills a week. 1 minute to read.