Back to Apps

create-mcp-docs
by agentdeskai
CLI toolkit to turn any documentation website into a searchable MCP server — supports keyword and semantic search.
6 stars
0 views
Updated 8 months ago
Works in:VS Code CopilotCursor
Exposes:Tools
What it does
create-mcp-docs scaffolds a fully functional MCP documentation server from any public docs website. Point it at one or more URLs, pick a search provider, and it crawls, indexes, and wraps everything in a search_docs MCP tool — ready for Claude, Copilot, or any MCP-compatible client to query directly.
Tools
- search_docs — searches the indexed documentation and returns contextual results, automatically choosing between full-document, expanded-chunk, or ranked-chunk strategies based on query relevance and token budget.
Installation
Scaffold a new server with the interactive CLI:
npx create-mcp-docs my-docs-server
Then build the index and start:
cd packages/my-docs-server
pnpm install
pnpm build:index
pnpm start
Add to Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"my-docs": {
"command": "node",
"args": ["/path/to/my-docs-server/dist/server.js"]
}
}
}
Search providers
- FlexSearch — fast keyword search, no API key needed, ideal for precise technical terms.
- Vectra — semantic vector search using OpenAI embeddings; understands natural language and conceptually related content. Requires
OPENAI_API_KEY.
Key features
- Interactive React-based CLI guides setup from URL collection to project generation
- Playwright-powered crawler with Mozilla Readability for clean content extraction
- Document-centric result optimisation: returns full docs, expanded chunks, or ranked snippets based on relevance density
- TypeScript output, fully typed and production-ready
- Late Chunking strategy (Vectra) preserves cross-boundary context
Supported hosts
Works with any MCP client that supports stdio transport.
Quick install
npx create-mcp-docs my-docs-serverInformation
- Pricing
- free
- Published
- 4/4/2026
- Updated
- 8 months ago
- stars
- 6