Skip to main content
Glama
Library Docs MCP Server

Library Docs MCP Server

by vikramdse

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 API to perform site-specific searches.

  • Parses and returns the documentation using BeautifulSoup.

  • Provides updated documentation – useful for LLM models with knowledge cut-off dates.

Related MCP server: docpilot-mcp

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"
      ]
    }
  }
}

Available Tools

1 tool
get_docsC
Search the docs for a given query and library.
Supports langchain, llama-index, mcp, and openai.

Args:
    query: The query to search for (e.g. "Chroma DB")
    library: The library to search in (e.g. "langchain")

Returns:
    Text from the docs

Inputs: query (required), library (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion or overlap between tools. The tool has a single, clear purpose: searching documentation for specific libraries.

    Naming Consistency5/5

    The single tool name 'get_docs' follows a clear verb_noun pattern, making it predictable and readable. There are no other tools to compare against, so consistency is inherently perfect.

    Tool Count2/5

    A single tool for a documentation search server feels too thin for the apparent scope, which involves multiple libraries (langchain, llama-index, mcp, openai). This minimal set may limit functionality and force agents to rely heavily on this one tool for all tasks.

    Completeness2/5

    The tool surface is severely incomplete for a documentation server. While it supports search, there are obvious gaps such as listing available libraries, browsing documentation sections, or getting metadata about docs. This will likely cause agent failures when more nuanced interactions are needed.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that provides tools to fetch live, version-accurate documentation, changelogs, examples, and method signatures for npm and PyPI packages, preventing AI coding agents from hallucinating stale APIs.
      7 npm
      ISC
    • F
      license
      Not graded
      quality
      D
      maintenance
      Local MCP server that indexes documentation from URLs/files into a vector database, enabling coding agents to search and use up-to-date library and API documentation.
      1
      -