Library Docs MCP Server
Search and fetch documentation for popular libraries like Langchain, Llama-Index, and OpenAI using the Serper API, providing updated information for LLMs.
Library Docs MCP Server
This is an MCP (Model Context Protocol) server that allows you to search and fetch documentation for popular libraries like Langchain, Llama-Index, MCP, and OpenAI using the Serper API.
Features
- Search library documentation using a natural language query.
- Supports Langchain, Llama-Index, MCP, and OpenAI (Update the code to add other libraries).
- Uses the
Serper APIto perform site-specific searches. - Parses and returns the documentation using
BeautifulSoup. - Provides updated documentation – useful for LLM models with knowledge cut-off dates.
Why Use This Server with LLMs?
Many LLM models, including those used in Claude Desktop and similar platforms, have a knowledge cut-off date and may not have access to the latest library documentation. This MCP server solves that problem by:
- Fetching real-time documentation from official sources.
- Providing up-to-date information for development and troubleshooting.
- Improving the accuracy and relevance of responses when working with new library updates.
Setting Up with Claude Desktop
To use this server with Claude Desktop, update the claude_desktop_config.json file with the following configuration:
{
"mcpServers": {
"docs-mcp-server": {
"command": "C:\\Users\\Vikram\\.local\\bin\\uv.exe",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"F:\\My Projects\\AI\\docs-mcp-server\\server.py"
]
}
}
}
Related Servers
SerpApi
Provides search capabilities and data retrieval from SerpAPI and YouTube for AI assistants.
NRTSearch
Exposes Lucene-based search indexes to AI assistants through the NRTSearch MCP server.
RAG Documentation MCP Server
Retrieve and process documentation using vector search to provide relevant context for AI assistants.
Gemini Web Search
Performs web searches using the Gemini Web Search Tool via the local gemini-cli.
Package Registry Search
Search and get up-to-date information about NPM, Cargo, PyPi, and NuGet packages.
Search MCP Server
A server providing web and similarity search functionalities, designed for Claude Desktop. It requires external embedding and API services.
DigiKey
Search for electronic components and products using the DigiKey Product Search API.
Tavily Search
A comprehensive search agent powered by the Tavily API for in-depth and reliable search results across various topics.
Minima
Local RAG (on-premises) with MCP server.
Minecraft Wiki MCP
A server for browsing and searching the official Minecraft Wiki.