mcp -documentation
🔍 FastMCP-powered documentation search engine that provides unified access to multiple framework docs (Next.js, Tailwind, Framer Motion, etc.) with intelligent name resolution and async processing.
claude mcp add --transport stdio picardraphael-mcp-server-documentation python main.py \ --env HTTP_TIMEOUT="Timeout in seconds for HTTP requests (default 30.0)" \ --env MAX_SEARCH_RESULTS="Maximum number of search results to fetch (default 2)"
How to use
This MCP server provides a unified search interface for multiple documentation sources. It aggregates documentation from popular libraries and frameworks such as LangChain, LangGraph, Next.js, Tailwind CSS, FastMCP, and Framer Motion, allowing AI systems to query across these sources with a single API. The server supports intelligent library name handling, so variations like framer, framermotion, or framer-motion are treated equivalently. Searches are powered by a DuckDuckGo-backed strategy with site-specific targeting to yield relevant results quickly. The service is designed for asynchronous operation and parallel content fetching to optimize performance when querying multiple docs in parallel. You can access the main API via the provided Python interface (e.g., calling get_docs with a query and library) to retrieve concise documentation snippets for your AI workflows.
How to install
Prerequisites:
- Python 3.8 or newer
- Python's virtual environment tool (recommended)
- Internet access to install dependencies
Step-by-step installation:
-
Clone the repository git clone <repository-url> cd mcp-server
-
Set up a virtual environment python -m venv .venv
On Windows:
.venv\Scripts\activate
On Unix/macOS:
source .venv/bin/activate
-
Install dependencies pip install -r requirements.txt
-
Configure environment (optional but recommended)
- Create a .env file or export variables: export HTTP_TIMEOUT=30.0 export MAX_SEARCH_RESULTS=2
- If using a .env file, load it in your environment before running the server
-
Run the server python main.py
Note: If you modify DOCS_URLS or LIBRARY_ALIASES in config.py for adding new libraries, restart the server to pick up changes.
Additional notes
Tips and common considerations:
- If you encounter timeouts, increase HTTP_TIMEOUT in config.py or via environment variables.
- Adjust MAX_SEARCH_RESULTS to balance result quality with performance.
- Ensure your environment has network access to fetch documentation pages.
- The server supports multiple libraries; to add a new library, update DOCS_URLS and LIBRARY_ALIASES in config.py and restart.
- For debugging, pytest tests can help verify library name normalization and search behavior: python -m pytest
- If using a container deployment, map environment variables appropriately and ensure Python version compatibility.
Related MCP Servers
supermcp
🚀 SuperMCP - Create multiple isolated MCP servers using a single connector. Build powerful Model Context Protocol integrations for databases (PostgreSQL, MSSQL) with FastAPI backend, React dashboard, and token-based auth. Perfect for multi-tenant apps and AI assistants.
vibe-check
Stop AI coding disasters before they cost you weeks. Real-time anti-pattern detection for vibe coders who love AI tools but need a safety net to avoid expensive overengineering traps.
skill-to
Convert AI Skills (Claude Skills format) to MCP server resources - Part of BioContextAI
ultrathink
MCP server for sequential thinking and complex problem-solving. Built iteratively using itself. Features confidence scoring, assumption tracking, and multi-session support.
scraper
Context-optimized MCP server for web scraping. Reduces LLM token usage by 70-90% through server-side CSS filtering and HTML-to-markdown conversion.
fastmcp-builder
A comprehensive Claude Code skill for building production-ready MCP servers using FastMCP. Includes reference guides, runnable examples, and a complete implementation with OAuth, testing, and best practices.