1. Conduid
  2. Documentation
  3. Docmcp
MCP server · Documentation

Docmcp

Index any documentation website and search it from AI coding assistants via the Model Context Protocol (MCP)

Unclaimed MIT docs
39Low

Scored 4 days ago · breakdown

About Docmcp

Docmcp is an MCP server published by pieeee in the Documentation category: index any documentation website and search it from AI coding assistants via the Model Context Protocol (MCP).

The repository has 11 stars and 2 forks, with the last commit 5 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/pieeee/docmcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Docmcp

Powered by Claude · Grounded in docs

I know everything about Docmcp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.

1 check has not been run yet.

Releases

v0.2.2v0.2.2 · 11 May 2026Full Changelog: https://github.com/pieeee/docmcp/compare/v0.2.1...v0.2.2
v0.2.1v0.2.1 · 11 May 2026Full Changelog: https://github.com/pieeee/docmcp/compare/v0.2.0...v0.2.1
v0.2.0v0.2.0 · 5 Mar 2026Full Changelog: https://github.com/pieeee/docmcp/compare/v0.1.0...v0.2.0
v0.1.0v0.1.0 · 5 Mar 2026What's Changed ci: bump actions/checkout from 4 to 6 by @dependabot[bot] in https://github.com/pieeee/docmcp/pull/1 ci: bump actions/setup-node from 4 to 6 by @dependabot[bot] in https://github.com/pieeee/docmcp/pull/2 ci: bump…

README

DocMCP

Index any documentation website and search it from AI coding assistants via the Model Context Protocol (MCP).

Features

  • Crawl & Index: Automatically crawl documentation sites via sitemap or recursive links
  • Hybrid Search: Combines BM25 keyword search with vector embeddings for best results
  • MCP Integration: Works with Claude Code, Claude Desktop, Cursor, and any MCP-compatible tool
  • Multiple Providers: Anthropic (Voyage), OpenAI, or BM25-only (zero setup)
  • Cross-Platform: Works on macOS, Linux, and Windows

Installation

npm install -g @pieeee/docmcp

Requirements

  • Node.js 20+
  • One of: Anthropic API key, OpenAI API key, or use BM25-only mode (no API needed)

Quick Start

# Initial setup
docmcp init

# Index a documentation site
docmcp add https://tailwindcss.com/docs

# List indexed docs
docmcp list

MCP Configuration

Claude Code

claude mcp add docmcp -- docmcp serve

Or add to your project's .mcp.json:

{
  "mcpServers": {
    "docmcp": {
      "command": "docmcp",
      "args": ["serve"]
    }
  }
}

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "docmcp": {
      "command": "docmcp",
      "args": ["serve"]
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "docmcp": {
      "command": "docmcp",
      "args": ["serve"]
    }
  }
}

CLI Commands

Command Description
docmcp init Setup wizard - configure embedding provider and data directory
docmcp add <url> Crawl and index a documentation site
docmcp list Show all indexed documentation
docmcp remove <name> Remove indexed documentation
docmcp serve Start MCP server (stdio transport)

Add Command Options

docmcp add <url> [options]

Options:
  -n, --name <name>           Override auto-detected doc name
  -d, --depth <number>        Max crawl depth (default: 10)
  -m, --max-pages <number>    Max pages to crawl (default: unlimited)
  -i, --include <pattern...>  Only crawl URLs matching pattern (glob)
  -e, --exclude <pattern...>  Skip URLs matching pattern (glob)
  --delay <ms>                Delay between requests (default: 200)
  --concurrency <number>      Parallel requests (default: 3)
  --no-sitemap                Skip sitemap, force recursive crawl
  --openapi                   Treat URL as OpenAPI/Swagger JSON spec

OpenAPI/Swagger Support

You can index OpenAPI specs directly:

docmcp add https://api.example.com/openapi.json --openapi
docmcp add https://petstore.swagger.io/v2/swagger.json --openapi

This parses the spec and indexes all endpoints, parameters, and schemas for search.

MCP Tools

When connected as an MCP server, DocMCP exposes these tools:

Tool Description
search_docs Search indexed documentation with hybrid BM25 + vector search
list_docs List all indexed documentation sources

search_docs

Search your indexed documentation:

search_docs(query: "how to center a div", doc?: "Tailwind", limit?: 5)

Parameters:

  • query (required): Search query
  • doc (optional): Filter to specific documentation
  • limit (optional): Max results (default: 5)

Embedding Providers

Provider API Key Required Notes
anthropic ANTHROPIC_API_KEY Uses Voyage AI embeddings (recommended)
openai OPENAI_API_KEY Uses text-embedding-3-small
bm25only None Keyword search only, zero setup

Set your API key as an environment variable or enter it during docmcp init.

Data Storage

All data is stored in ~/.docmcp/:

~/.docmcp/
├── config.json    # Configuration (API keys stored here)
└── db/
    └── docs.db    # SQLite database with FTS5 + vector search

Platform Support

Platform Status Notes
macOS (Intel) Full
macOS (Apple Silicon) Full
Linux (x64) Full
Linux (ARM64) Full
Windows (x64) Full May require build tools for native modules

Windows Prerequisites

If installation fails on Windows due to native module compilation:

  1. Install Visual Studio Build Tools
  2. Or run: npm install --global windows-build-tools
  3. Retry: npm install -g docmcp

How It Works

  1. Crawl: DocMCP crawls documentation sites using sitemap or recursive link following
  2. Parse: HTML is cleaned and converted to Markdown, preserving code blocks
  3. Chunk: Content is split at heading boundaries into ~512 token chunks
  4. Index: Chunks are stored in SQLite with FTS5 (BM25) and vector embeddings
  5. Search: Queries use hybrid search combining keyword and semantic matching

Contributing

See CONTRIBUTING.md for development setup and guidelines.

License

MIT - see LICENSE for details.

README fetched from the repository 2 days ago. The original is authoritative.

Questions

About Docmcp

How do I install Docmcp?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Docmcp safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 5 of the 5 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Docmcp still maintained?

Yes — the latest release is v0.2.2 (11 May 2026), and the last commit was 5 months ago. The repository has 11 stars and 4 open issues.