Skip to main content
Glama
vikramdse

Library Docs MCP Server

by vikramdse

Servidor MCP de documentos de la biblioteca

Este es un servidor MCP (Protocolo de contexto de modelo) que le permite buscar y obtener documentación para bibliotecas populares como Langchain, Llama-Index, MCP y OpenAI utilizando la API de Serper.

Características

  • Busque en la documentación de la biblioteca utilizando una consulta en lenguaje natural.

  • Admite Langchain, Llama-Index, MCP y OpenAI (actualice el código para agregar otras bibliotecas).

  • Utiliza la Serper API para realizar búsquedas específicas del sitio.

  • Analiza y devuelve la documentación utilizando BeautifulSoup .

  • Proporciona documentación actualizada , útil para modelos LLM con fechas límite de conocimiento.

Related MCP server: docpilot-mcp

¿Por qué utilizar este servidor con LLM?

Muchos modelos LLM, incluidos los utilizados en Claude Desktop y plataformas similares, tienen una fecha límite de conocimiento y podrían no tener acceso a la documentación más reciente de la biblioteca. Este servidor MCP soluciona este problema mediante:

  • Obtención de documentación en tiempo real de fuentes oficiales.

  • Proporcionar información actualizada para el desarrollo y resolución de problemas.

  • Mejorar la precisión y relevancia de las respuestas al trabajar con nuevas actualizaciones de la biblioteca.

Configuración con Claude Desktop

Para utilizar este servidor con Claude Desktop , actualice el archivo claude_desktop_config.json con la siguiente configuración:

{
  "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
ParametersJSON Schema
NameRequiredDescriptionDefault
queryYes
libraryYes

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It mentions 'Supports langchain, llama-index, mcp, and openai,' adding some context about supported libraries. However, it fails to disclose critical behavioral traits such as search scope (e.g., full-text vs. titles), result format details, pagination, rate limits, or error handling, leaving significant gaps for a search tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized and structured: it starts with a clear purpose statement, followed by library support, and then details args and returns in a bullet-like format. Every sentence adds value, with no redundant information, though the 'Returns' section could be more specific, slightly reducing efficiency.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (2 parameters, no annotations, no output schema), the description is minimally adequate. It covers purpose, parameters, and return type at a high level, but lacks depth in behavioral transparency, usage guidelines, and output details (e.g., result structure or examples). It meets basic needs but has clear gaps for effective agent use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the schema provides no parameter details. The description compensates by explaining both parameters: 'query' as 'The query to search for' with an example, and 'library' as 'The library to search in' with an example and list of supported values. This adds meaningful semantics beyond the bare schema, but it doesn't fully detail constraints or formats, meeting the baseline for partial compensation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Search the docs for a given query and library.' It specifies the verb ('search'), resource ('docs'), and scope ('query and library'). However, without sibling tools, it cannot demonstrate differentiation, so it doesn't reach a score of 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides minimal guidance: it lists supported libraries ('langchain, llama-index, mcp, and openai'), which implies when to use it for those libraries. However, it lacks explicit when/when-not instructions, prerequisites, or alternatives, offering only basic context without exclusions or detailed usage scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

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

  1. 1 tool update
    • First observedget_docs

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 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.
    9 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
    -