Documentation Search MCP Server
The Documentation Search MCP Server is a unified platform that combines documentation search, security auditing, and project scaffolding capabilities.
Documentation Search & Learning:
Semantic search across 100+ documentation sources with filtering by content type, difficulty, and code examples
Library auto-completion suggestions with optional security scoring
Structured learning paths and curated code examples tailored to experience levels
Documentation cache management and source health monitoring
Security & Vulnerability Management:
Comprehensive vulnerability scanning for individual libraries and project dependencies using multiple sources (OSV, GitHub Advisories, Safety DB, Snyk)
Security score comparisons and quick security overviews
License compliance checking and continuous security monitoring
Local project scanning from files like
pyproject.tomlandrequirements.txt
Project Development:
Generate starter projects from templates (FastAPI, React)
Manage local development environments and services (PostgreSQL, Redis) using Docker Compose
Configuration management for server settings and local development
The server integrates these tools into a single platform for streamlined developer workflows from documentation research to secure project deployment.
Enables searching through Ansible documentation for automation and configuration management solutions
Offers documentation search across Django web framework, making it easier to find information about models, views, and templates
Provides search capabilities for Docker documentation to help with containerization queries
Enables searching through Express.js documentation for web application development in Node.js
Offers documentation search for FastAPI framework to quickly find information about API development
Provides search across Firebase documentation for app development, authentication, and database queries
Enables searching through Flask documentation for Python web development solutions
Offers documentation search for Git version control system commands and workflows
Provides comprehensive search across JavaScript language documentation
Enables searching through Kubernetes documentation for container orchestration
Offers documentation search for LangChain library to help with language model application development
Provides search capabilities for LangGraph documentation for building complex LLM applications
Enables searching through MongoDB documentation for NoSQL database operations and queries
Offers documentation search for Node.js runtime environment
Provides search capabilities for NumPy library documentation for numerical computing in Python
Enables searching through OpenAI's documentation for API usage and model capabilities
Offers documentation search for Pandas data manipulation and analysis library
Provides search across PostgreSQL documentation for database management and SQL queries
Enables searching through Python programming language documentation
Offers documentation search for React library to quickly find information about components and hooks
Provides search capabilities for SQLAlchemy ORM documentation for Python database interactions
Enables searching through Streamlit documentation for building data applications in Python
Offers documentation search for Supabase platform for backend development
Provides search across Terraform documentation for infrastructure as code solutions
Enables searching through Vercel documentation for deployment and hosting solutions
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Documentation Search MCP Server search for FastAPI authentication examples"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: docs-mcp-server
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 tofalseto disable automatic index downloadsDOCS_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 documentationget_docs- Fetch specific documentationget_learning_path- Generate learning roadmapget_code_examples- Find code snippetsscan_project_dependencies- Vulnerability scansnyk_scan_project- Detailed Snyk analysisgenerate_project_starter- Create project boilerplatemanage_dev_environment- Generate docker-compose filescompare_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.
Available Tools
23 toolsclear_cacheA
Clear the documentation cache to force fresh fetches.
Returns:
Status message about cache clearing
Inputs: no named parameters.
compare_library_securityB
Compare security scores across multiple libraries to help with selection.
Args:
libraries: List of library names to compare
ecosystem: Package ecosystem for all libraries
Returns:
Security comparison with rankings and recommendations
Inputs: libraries (required), ecosystem.
filtered_searchA
Search with advanced filtering options.
Args:
query: The search query
library: The library to search in
content_type: Filter by content type ("tutorial", "reference", "example", "guide")
difficulty_level: Filter by difficulty ("beginner", "intermediate", "advanced")
has_code_examples: Filter for content with code examples (true/false)
version: Library version to search (e.g., "4.2", "stable", "latest"). Default: "latest"
auto_detect_version: Automatically detect installed package version. Default: False
Returns:
Filtered search results matching specified criteria
Inputs: query (required), library (required), version, content_type, +3 more.
generate_project_starterA
Generates a starter project from a template (e.g., 'fastapi', 'react-vite').
Args:
project_name: The name for the new project directory.
template: The project template to use.
Returns:
A summary of the created project structure.
Inputs: template (required), project_name (required).
get_cache_statsA
Get statistics about the current cache usage.
Returns:
Dictionary with cache statistics
Inputs: no named parameters.
get_code_examplesA
Get curated code examples for a specific topic and library.
Args:
library: The library to search for examples
topic: The specific topic or feature
language: Programming language for examples
version: Library version to search (e.g., "4.2", "stable", "latest"). Default: "latest"
auto_detect_version: Automatically detect installed package version. Default: False
Returns:
Curated code examples with explanations
Inputs: topic (required), library (required), version, language, +1 more.
get_current_configB
Returns the current, active configuration of the MCP server. This allows users to view the default config and use it as a template for local overrides.
Inputs: no named parameters.
get_docsB
Search documentation for a given query and one or more libraries.
Args:
query: The query to search for (e.g., "Chroma DB")
libraries: A single library or a list of libraries to search in (e.g., "langchain" or ["fastapi", "django"])
version: Library version to search (e.g., "4.2", "stable", "latest"). Default: "latest"
auto_detect_version: Automatically detect installed package version. Default: False
Returns:
Dictionary with structured summaries and supporting metadata
Inputs: query (required), libraries (required), version, auto_detect_version.
get_environment_configB
Get current environment configuration and settings.
Returns:
Current environment configuration details
Inputs: no named parameters.
get_learning_pathA
Get a structured learning path for a library based on experience level.
Args:
library: The library to create a learning path for
experience_level: Your current level ("beginner", "intermediate", "advanced")
Returns:
Structured learning path with progressive topics and resources
Inputs: library (required), experience_level.
get_security_summaryA
Get quick security overview for a library without detailed vulnerability list.
Args:
library_name: Name of the library
ecosystem: Package ecosystem (default: PyPI)
Returns:
Concise security summary with score and basic recommendations
Inputs: library_name (required), ecosystem.
health_checkA
Check the health and availability of documentation sources.
Returns:
Dictionary with health status of each library's documentation site
Inputs: no named parameters.
manage_dev_environmentC
Manages local development environments using Docker Compose.
Args:
service: The service to set up (e.g., 'postgres', 'redis').
project_path: The path to the project directory.
Returns:
A confirmation message with the next steps.
Inputs: service (required), project_path.
preindex_docsB
Pre-download and persist docs site indexes for Serper-free search.
This caches MkDocs/Sphinx search indexes (and optionally sitemaps) to disk so the server can search supported documentation sites without requiring Serper.
Inputs: libraries (required), persist_path, include_sitemap, max_concurrent_sites.
scan_library_vulnerabilitiesA
Comprehensive vulnerability scan using OSINT sources (OSV, GitHub Advisories, Safety DB).
Args:
library_name: Name of the library to scan (e.g., "fastapi", "react")
ecosystem: Package ecosystem ("PyPI", "npm", "Maven", "Go", etc.)
Returns:
Detailed security report with vulnerabilities, severity levels, and recommendations
Inputs: library_name (required), ecosystem.
scan_project_dependenciesA
Scans project dependencies from files like pyproject.toml or requirements.txt for vulnerabilities.
Args:
project_path: The path to the project directory (defaults to current directory).
Returns:
A comprehensive security report of all project dependencies.
Inputs: project_path.
semantic_searchA
Enhanced semantic search across one or more libraries with AI-powered relevance ranking.
Uses hybrid search combining:
- Vector embeddings for semantic similarity (50% weight)
- Keyword matching for precise results (30% weight)
- Source authority and metadata (20% weight)
Args:
query: The search query.
libraries: A single library or a list of libraries to search in.
context: Optional context about your project or use case.
version: Library version to search (e.g., "4.2", "stable", "latest"). Default: "latest"
auto_detect_version: Automatically detect installed package version. Default: False
use_vector_rerank: Enable vector-based semantic reranking for better relevance. Default: True
Returns:
Enhanced search results with AI-powered relevance scores and metadata, ranked across all libraries.
Inputs: query (required), libraries (required), context, version, +2 more.
snyk_license_checkA
Check license compliance for project dependencies using Snyk.
Args:
project_path: Path to the project directory
policy: License policy to apply ("permissive", "copyleft-limited", "strict")
Returns:
License compliance report with risk assessment
Inputs: policy, project_path.
snyk_monitor_projectB
Set up continuous monitoring for a project with Snyk.
Args:
project_path: Path to the project directory
Returns:
Status of monitoring setup and project details
Inputs: project_path.
snyk_scan_libraryB
Scan a library using Snyk for comprehensive security analysis.
Args:
library_name: Name of the library to scan
version: Version of the library (default: "latest")
ecosystem: Package ecosystem ("pypi", "npm", "maven", etc.)
Returns:
Detailed security report from Snyk including vulnerabilities, licenses, and remediation advice
Inputs: library_name (required), version, ecosystem.
snyk_scan_projectC
Scan entire project dependencies using Snyk.
Args:
project_path: Path to the project directory (default: current directory)
Returns:
Comprehensive security report for all project dependencies
Inputs: project_path.
suggest_librariesA
Suggest libraries based on partial input for auto-completion.
Args:
partial_name: Partial library name to search for (e.g. "lang" -> ["langchain"])
Returns:
List of matching library names
Inputs: partial_name (required).
suggest_secure_librariesB
Enhanced library suggestions that include security scores for informed decisions.
Args:
partial_name: Partial library name to search for
include_security_score: Whether to include security scores (slower but more informative)
Returns:
Library suggestions with optional security information
Inputs: partial_name (required), include_security_score.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 23 tools
The tool set mixes documentation search tools (get_docs, semantic_search, filtered_search) with security scanning (scan_library_vulnerabilities, multiple snyk tools) and other utilities (manage_dev_environment, generate_project_starter), causing confusion. Several search tools have overlapping purposes, and multiple security tools differ only in target (library vs. project, Snyk vs. OSINT).
Tool names use inconsistent patterns: some are verb_noun (clear_cache, get_docs), others are adjective_noun (semantic_search, filtered_search) or brand-specific (snyk_scan_library). While all use underscores, the lack of a consistent verb style harms predictability.
23 tools is excessive for a 'Documentation Search' server. Many tools (e.g., manage_dev_environment, snyk_monitor_project, generate_project_starter) are unrelated to the primary purpose, making the surface feel bloated and unfocused.
For documentation search, the server covers search, filtering, semantic search, examples, and learning paths, but it lacks update or CRUD operations. The inclusion of many security and utility tools suggests the surface is not well-scoped for its stated name, leaving gaps in documentation coverage and adding irrelevant functions.
Maintenance
Related MCP Connectors
Versioned documentation registry and semantic search for AI tools and coding assistants.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Docsy gives AI assistants current, version-specific documentation for libraries, frameworks and SDKs. Resolve library IDs and versions, then search and fetch focused official documentation with original source links using five read-only MCP tools. Hosted Streamable HTTP with OAuth 2.1 sign-in.
A Model Context Protocol server for Wix AI tools
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA simple Model Context Protocol server that enables searching and retrieving relevant documentation snippets from Langchain, Llama Index, and OpenAI official documentation.-
- AlicenseAqualityAmaintenanceA Model Context Protocol (MCP) server that scrapes, indexes, and searches documentation for third-party software libraries and packages, supporting versioning and hybrid search.122,728 npm1,912MIT
- AlicenseAqualityDmaintenanceA flexible Model Context Protocol server that makes documentation or codebases searchable by AI assistants, allowing users to chat with code or docs by simply pointing to a git repository or folder.193MIT
- AlicenseAqualityBmaintenanceA Model Context Protocol server that fetches up-to-date, version-specific documentation and code examples from libraries directly into LLM prompts, helping developers get accurate answers without outdated or hallucinated information.265,524MIT