documentation-search-mcp
Documentation search MCP server with external configuration
Documentation
Documentation Search MCP Server
MCP server for searching documentation, scanning dependencies for vulnerabilities, and generating project boilerplate. Works with Claude Desktop, Cursor, and other MCP clients.
**๐ Read the comprehensive tutorial** for detailed examples and workflows.
Features
- Search 190+ curated documentation sources with optional semantic vector search
- Scan Python projects for vulnerabilities (Snyk, Safety, OSV)
- Generate FastAPI and React project starters
- Learning paths and code examples
Installation
# Recommended: use uvx (install uv from https://docs.astral.sh/uv)
uvx documentation-search-enhanced@1.9.0
# Or with pip in a virtual environment
pip install documentation-search-enhanced==1.9.0
# Optional: AI semantic search (Python 3.12 only, adds ~600MB)
pip install documentation-search-enhanced[vector]==1.9.0Configuration
Claude Desktop
Find your uvx path: `which uvx`
Edit `~/Library/Application Support/Claude/claude_desktop_config.json`:
{
"mcpServers": {
"documentation-search-enhanced": {
"command": "/Users/yourusername/.local/bin/uvx",
"args": ["documentation-search-enhanced@1.9.0"],
"env": {
"SERPER_API_KEY": "optional_key_here"
}
}
}
}Replace `/Users/yourusername/.local/bin/uvx` with your actual uvx path.
Codex CLI
# Find your uvx path first
which uvx
# Then add with full path (replace with your actual path)
codex mcp add documentation-search-enhanced \
-- /Users/yourusername/.local/bin/uvx documentation-search-enhanced@1.9.0
# Or if uvx is in PATH:
codex mcp add documentation-search-enhanced \
-- uvx documentation-search-enhanced@1.9.0With SERPER API Key (enables live web search):
codex mcp add documentation-search-enhanced \
--env SERPER_API_KEY=your_key_here \
-- /Users/yourusername/.local/bin/uvx documentation-search-enhanced@1.9.0Without SERPER API Key (uses prebuilt index from GitHub Releases):
codex mcp add documentation-search-enhanced \
-- /Users/yourusername/.local/bin/uvx documentation-search-enhanced@1.9.0If you get a timeout on first run, pre-download dependencies:
uvx documentation-search-enhanced@1.9.0Environment Variables
- `SERPER_API_KEY` - Optional. Enables live web search. Without it, uses prebuilt index from GitHub Releases.
- `DOCS_SITE_INDEX_AUTO_DOWNLOAD` - Set to `false` to disable automatic index downloads
- `DOCS_SITE_INDEX_PATH` - Custom path for documentation index
Set `server_config.features.real_time_search=false` in your config to disable live crawling.
Semantic Search (Optional)
The `[vector]` extra adds semantic search using sentence-transformers (all-MiniLM-L6-v2) with hybrid reranking:
- 50% semantic similarity (cosine)
- 30% keyword matching
- 20% source authority
Only works on Python 3.12 (PyTorch limitation). Python 3.13 users get keyword-based search.
To disable vector search even when installed:
semantic_search(query="FastAPI auth", libraries=["fastapi"], use_vector_rerank=False)Available Tools
Core MCP tools:
- `semantic_search` - Search documentation
- `get_docs` - Fetch specific documentation
- `get_learning_path` - Generate learning roadmap
- `get_code_examples` - Find code snippets
- `scan_project_dependencies` - Vulnerability scan
- `snyk_scan_project` - Detailed Snyk analysis
- `generate_project_starter` - Create project boilerplate
- `manage_dev_environment` - Generate docker-compose files
- `compare_library_security` - Compare library vulnerabilities
Development
git clone https://github.com/anton-prosterity/documentation-search-mcp.git
cd documentation-search-mcp
uv sync --all-extras
uv run python -m documentation_search_enhanced.mainTesting
uv run pytest --ignore=pytest-test-project # Core tests
uv run ruff check src # Linting
uv run ruff format src --check # Format checkConfiguration
Use the `get_current_config` tool to export current settings to `config.json`. Validate with:
uv run python src/documentation_search_enhanced/config_validator.pyContributing
See `CONTRIBUTING.md` for guidelines. Use Conventional Commits for commit messages.
License
MIT License - see `LICENSE` for details.
Frequently asked questions
What is documentation-search-mcp?
documentation-search-mcp is Documentation search MCP server with external configuration
How do I install documentation-search-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is documentation-search-mcp open source?
Yes โ it is hosted on GitHub at https://github.com/anton-prosterity/documentation-search-mcp and has 6 stars.
Related MCP tools
Damn Vulnerable MCP Server Python-based implementation. Trusted by 1200+ developers. Trusted by 1200+ developers. Trusted by 1200+ developers.
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases Python-based implementation. Trusted by 900+ developers.
Query MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning...
Model Context Protocol with Neo4j Python-based implementation. Trusted by 700+ developers. Trusted by 700+ developers. Trusted by 700+ developers.
An MCP server that provides control over Android devices via adb Python-based implementation. Trusted by 500+ developers.
A Model Context Protocol (MCP) server for PostgreSQL databases with enhanced capabilities for AI agents. Python-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP