LiveDocs MCP
Provides live documentation and code examples for the CrewAI agent framework.
Provides live documentation for the Django web framework.
Provides live documentation for the Docker container platform.
Provides live documentation for the FastAPI web framework.
Provides live documentation for the Flask web framework.
Provides live documentation for Google Gemini models, including Gemini Pro, Flash, and embeddings.
Provides live documentation for LangChain, helping users stay current on framework APIs and usage patterns.
Provides live documentation for LangGraph, including version-aware API details and examples.
Provides live documentation for Milvus vector database, including API usage and examples.
Provides live documentation for the MLflow MLOps lifecycle platform.
Provides live documentation and code examples for OpenAI's APIs, including GPT-4o, embeddings, DALL·E, and Whisper.
Provides live documentation for the pandas data manipulation library.
Provides live documentation for the Polars dataframe library.
Provides live documentation for the Prisma ORM.
Provides live documentation for the Pydantic data validation library.
Provides live documentation for the pytest testing framework.
Provides live documentation for Redis database and cache.
Provides live documentation and code examples for Replicate's API for running open-source models.
Provides live documentation for the Ruff Python linter and formatter.
Provides live documentation for the SQLAlchemy SQL toolkit and ORM.
Provides live documentation for the Supabase backend platform.
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., "@LiveDocs MCP How do I use tool calling in the latest LangChain version?"
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.
📚 LiveDocs MCP
Give your AI the docs it actually needs — fresh from the source, every time.
🔎 The Problem
Every AI engineer has hit this wall:
"Claude is giving me the LangChain v0.1 API but we're on v0.3" "Why is the OpenAI example broken — oh, they changed the client in v1.0" "The CrewAI docs changed again, my code is outdated"
LLMs are trained on a snapshot of the internet. Documentation moves fast. Your AI assistant doesn't.
LiveDocs MCP bridges that gap. It connects Claude (or any MCP-compatible AI) directly to official documentation websites in real time — no stale training data, no hallucinated APIs.
Related MCP server: Context7 MCP
✨ Features
Feature | Description |
🔴Live Docs | Fetches directly from official docs — always current |
📦45+ Libraries | Every major AI engineering library covered |
⚡Smart Cache | 24-hour TTL cache — fast repeat queries, no wasted API calls |
🔁Multi-Library Search | Compare docs across frameworks side-by-side |
💻Code Extraction | Hunts for code-block-rich pages automatically |
🔢Version-Aware | Pin to a specific version (e.g. |
🔑BYOK | Bring Your Own Serper API key per request |
🌐Remote-Ready | Deploy as HTTP/SSE server — share one URL with your whole team |
📦 Supported Libraries (45+)
Key | Library | Description |
| OpenAI | GPT-4o, embeddings, DALL·E, Whisper |
| Anthropic | Claude API — messages, tool use, vision |
| Groq | Ultra-fast LLM inference |
| Mistral AI | Mixtral, Mistral-7B |
| Cohere | Command R, Embed, Rerank |
| Together AI | Open-source model inference |
| Replicate | Run open-source models via API |
| Google Gemini | Gemini Pro, Flash, embeddings |
langchain · langgraph · langsmith · llama_index · haystack · dspy
crewai · autogen · semantic_kernel · smolagents · pydantic_ai
pinecone · weaviate · chromadb · qdrant · milvus · pgvector
huggingface · sentence_transformers
langsmith · weights_biases · mlflow
fastapi · pydantic · django · flask
sqlalchemy · supabase · prisma · redis
uv · ruff · pytest · docker · pandas · polars
🛠️ MCP Tools Reference
Tool | Description |
| Fetch live docs for any library |
| Search across multiple libraries at once |
| Targeted code snippet extraction |
| Browse all 45+ supported libraries |
| View cache hits / entries / TTL |
🚀 Quick Start
Option 1 — Remote Server (Recommended — no install needed)
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"live-docs": {
"url": "https://live-docs-mcp.onrender.com/sse"
}
}
}Config file location:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Option 2 — Local (Self-Hosted)
Prerequisites: Python 3.11+, uv
# 1. Clone
git clone https://github.com/NoumanZahid-85/live-docs-mcp.git
cd live-docs-mcp
# 2. Install dependencies
uv sync
# 3. Configure
cp .env.example .env
# Edit .env and add your SERPER_API_KEY (free at https://serper.dev)
# 4. Test the CLI client
uv run python mcp_client.py
# > Library: openai
# > Query: streaming chat completionClaude Desktop config (local stdio):
{
"mcpServers": {
"live-docs": {
"command": "uv",
"args": ["run", "python", "mcp_server.py"],
"cwd": "/absolute/path/to/live-docs-mcp",
"env": {
"SERPER_API_KEY": "your_serper_api_key"
}
}
}
}🌐 Deploy Your Own Instance
Render (Free Tier)
Fork this repo
Connect to Render → New Web Service → select your fork
Set environment variable
SERPER_API_KEYin the Render dashboardRender auto-detects
render.yamland deploys
Your server will be live at https://your-service.onrender.com/sse.
🏗️ Architecture
graph TD
A[Claude / AI Client] -->|MCP Protocol| B[LiveDocs MCP Server]
B --> C{Cache Hit?}
C -->|Yes - 24h TTL| D[Return Cached Result]
C -->|No| E[Serper Google Search API]
E --> F[Top 5 Doc URLs]
F --> G[Concurrent HTTP Fetch]
G --> H[trafilatura HTML → Text]
H --> I[Code Block Extraction]
I --> J[Cache + Return]
B --> K[list_libraries]
B --> L[cache_stats]
subgraph Tools
B --> M[get_docs]
B --> N[search_docs_multi]
B --> O[get_code_examples]
end🔑 API Keys
Key | Purpose | Free Tier | Get It |
| Google search via Serper | ✅ 2,500 searches/month | |
| LLM answers in CLI client | ✅ Generous free tier |
💡 Example Prompts
Once connected in Claude, try:
"Search the LangChain docs for how to use structured output with tool calling"
"Compare how LangChain and LlamaIndex implement document chunking"
"Get me a code example for streaming with the OpenAI Assistants API"
"What changed in CrewAI v0.7?"
"List all supported vector database libraries"🗂️ Project Structure
live-docs-mcp/
├── mcp_server.py # 🚀 Production MCP server (5 tools)
├── mcp_client.py # 🖥️ Interactive CLI client
├── libraries.py # 📋 Registry of 45+ libraries
├── cache.py # ⚡ TTL in-memory cache
├── utils.py # 🔧 HTML extractor + code parser
├── render.yaml # 🌐 One-click Render deployment
├── pyproject.toml # 📦 Dependencies (uv)
├── .env.example # 🔑 Environment variable template
└── README.md🤝 Contributing
Want to add a library? Edit libraries.py — it takes 5 lines:
"your_library": {
"site": "docs.your-library.com",
"description": "Short description of the library",
"category": "llm_frameworks", # see existing categories
"aliases": ["yl", "yourlib"], # optional short names
},Then open a PR. ✨
📄 License
MIT — free to use, modify, and deploy.
Available Tools
5 toolscache_statsCache StatsA
Return current cache statistics for the LiveDocs MCP server.
Useful for understanding cache hit rates and diagnosing repeated query latency.
Returns: Cache statistics as formatted markdown.
Inputs: no named parameters. Returns: result
get_code_examplesGet Code ExamplesA
Fetch working code examples for a specific library feature from official docs.
Unlike get_docs(), this tool specifically hunts for pages rich in code samples, extracting and formatting fenced code blocks for immediate use.
Inputs: query (required), library (required), language, serper_api_key. Returns: result
get_docsGet DocsA
Fetch real-time, up-to-date documentation from the official docs site of a library.
Solves the core AI-engineer problem: LLMs have outdated training data. This tool fetches live content directly from official documentation websites, so you always get the latest API signatures, parameters, and examples.
Inputs: query (required), library (required), version, serper_api_key. Returns: result
list_librariesList LibrariesA
List all 45+ supported documentation libraries, optionally filtered by category.
Inputs: category. Returns: result
search_docs_multiSearch Docs MultiA
Search the same query across multiple libraries simultaneously.
Ideal for comparing how different frameworks handle the same concept:
"How does LangChain vs LlamaIndex implement RAG?"
"Compare asyncio support in FastAPI vs Django"
"Tool calling: OpenAI vs Anthropic vs Groq"
Inputs: query (required), libraries (required), serper_api_key. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a generally clear role: single-library docs, multi-library search, code examples, library listing, and cache stats. The only minor overlap is between get_docs and get_code_examples, but the descriptions explicitly differentiate them by focusing on prose/docs versus code-rich pages.
Most tools follow a verb_noun pattern: get_docs, search_docs_multi, get_code_examples, list_libraries. cache_stats breaks the pattern by being noun_noun, and search_docs_multi's suffix is slightly irregular, but overall the naming is predictable and readable.
Five tools is well-scoped for a documentation-fetching server. Each tool serves a distinct and useful purpose without redundancy or bloat, and the count feels appropriate for the narrow but valuable domain.
The tool surface covers the core documentation workflows: fetching live docs, searching across libraries, retrieving code examples, discovering supported libraries, and inspecting cache health. No obvious dead ends or missing critical operations for the stated purpose.
Maintenance
Related MCP Connectors
@latest documentation and code examples to 9000+ libraries for LLMs and AI code editors in a singl…
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
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.
Versioned documentation registry and semantic search for AI tools and coding assistants.
Related MCP Servers
- AlicenseCqualityDmaintenanceProvides real-time access to up-to-date library documentation and code examples for any programming library. Helps AI coding assistants deliver accurate, current information instead of relying on outdated training data.110 npmMIT
- AlicenseAqualityDmaintenanceProvides up-to-date, version-specific documentation and code examples for libraries and frameworks directly into AI prompts, eliminating outdated code generation and hallucinated APIs.2MIT
- AlicenseAqualityDmaintenanceProvides LLMs with up-to-date, version-specific documentation and code examples directly from library sources, eliminating outdated training data and hallucinated APIs by fetching current documentation at prompt time.2MIT
- FlicenseNot gradedqualityDmaintenanceProvides real-time, up-to-date documentation for major LLM providers (OpenAI, Anthropic, Google Gemini) to prevent hallucinations and outdated code patterns in AI agents.7-