About Library Docs MCP Server
Library Docs MCP Server lets developers search and retrieve current documentation for Langchain, Llama-Index, MCP, and OpenAI. It uses Serper API for site-specific search and BeautifulSoup to parse results.
Key features
- 01Natural-language documentation search
- 02Support for four named libraries
- 03Site-specific search via Serper API
- 04Documentation parsing with BeautifulSoup
- 05Retrieval of current documentation
Use cases
- 01Check recent library changes during development
- 02Find documentation while troubleshooting
- 03Supplement an LLM’s outdated library knowledge
MCP support
It exposes library documentation search and retrieval to MCP clients. The server fetches and parses documentation from supported library sources.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMELibrary 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"
]
}
}
}
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.