MCP server for searching AI library documentation

MCP server for searching AI library documentation

docs-mcp-server-rohitkrish46•byrohitkrish46

An MCP server that lets language models search and fetch up-to-date documentation content from external sources via a get_docs tool.

License: Not specified•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Exposes a get_docs tool accepting a query and a library name for one of langchain, llama-index, or openai.
  • •Uses the Serper API to query Google and retrieve top documentation pages for a search query.
  • •Parses fetched HTML with BeautifulSoup to extract clean readable text, stripping tags, ads, and navigation.
  • •Follows a workflow of searching documentation pages, fetching and parsing clean content, then returning results to the LLM.

BEST FOR

  • •LLM agents such as Claude or GPT that need to query library documentation in real time.
  • •Fetching up-to-date documentation content dynamically for LangChain, LlamaIndex, and OpenAI.

ABOUT DOCS-MCP-SERVER-ROHITKRISH46

MCP server for searching AI library documentation is cataloged as an MCP server attributed to rohitkrish46. An MCP server that lets language models search and fetch up-to-date documentation content from external sources via a get_docs tool. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for searching AI library documentation are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How can more documentation libraries be supported?

More libraries can be added by updating the docs_urls dictionary.

Upstream README

View this exact version on GitHub

README.md · b11b9d7f545b · Fetched 2026-11-13 10:44:32 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

MCP Docs Search Server

A lightweight MCP server that searches and retrieves relevant documentation content from popular AI libraries like LangChain, LlamaIndex, and OpenAI using a combination of web search and content parsing.

This project allows Language Models to query and fetch up-to-date documentation content dynamically, acting as a bridge between LLMs and external doc sources.

Model Context Protocol (MCP)

The Model Context Protocol is an open standard that enables developers to build secure, two-way connections between their data sources and AI-powered tools. The architecture is straightforward: developers can either expose their data through MCP servers or build AI applications (MCP clients) that connect to these servers.

LLMs in Isolation

LLMs alone are limited — their true potential is unlocked when integrated with tools and services via frameworks like MCP.

LLM_on_its_own

  1. LLMs without tools, LLMs are static and have limited utility.

  2. With tools, they become interactive, but orchestration can be messy.

  3. With MCP, LLMs gain a scalable, plug-and-play interface to real-world services, making them much more practical and powerful in production environments.

MCP Ecosystem

The MCP Server acts as the translator/interface between LLMs and services.

MCP (Modular Capability Provider) standardizes how LLMs interact with external tools/services — promoting interoperability, modularity, and cleaner interfaces.

MCP_ecosystem

This structure decentralizes responsibility:

  1. Tool providers build and maintain their own MCP Server implementation.

  2. LLMs just need to speak the MCP protocol.

MCP

Purpose and Vision:

  • Standardize communication between LLMs and external tools

  • Avoid bespoke integrations

  • Encourage a scalable ecosystem of services (like a plugin architecture)

Features

Web Search Integration

Uses the Serper API to query Google and retrieve the top documentation pages related to a given search query.

Clean Content Extraction

Parses HTML content using BeautifulSoup to extract clean, human readable text stripping away unnecessary tags, ads, or navigation content.

Seamless LLM Tooling

Exposes a structured get_docs tool that can be used within LLM agents (e.g., Claude, GPT) to query specific libraries in real time.

Tool

get_docs(query: str, library: str)

This is the core tool provided by the MCP server. It accepts:

query: The search term or phrase.

library: One of langchain, llama-index, or openai.

Workflow

  1. Searches for relevant documentation pages
  2. Fetches and parses clean text content
  3. Sends the result back to the LLM for further reasoning and responses

Setup

  1. Clone the repository
git clone https://github.com/your-username/mcp-docs-search.git
cd mcp-docs-search
  1. Create a virtual Envoirment using uv and activate it
uv venv .venv

.\.venv\Scripts\activate
  1. Install dependencies
uv add "mcp[cli]" httpx
uv pip install beautifulsoup4
  1. Set your environment variables Create a .env file and add your Serper API key:
SERPER_API_KEY=your_serper_api_key

Claude Desktop Integration

To integrate this server as a tool within Claude Desktop:

Open Claude Desktop → File > Settings > Developer > Edit Config.

Update your claude_desktop_config.json to include the following:

{
    "mcpServers": {
        "documnetation": {
            "command": "uv",
            "args": [
                "--directory",
                "your_reository_where_the_repo_exists",
                "run",
                "main.py"
            ]

        }
    }
}

🔁 Important: Restart Claude Desktop after saving the config to load the new to

Once integrated successfully, you'll see your custom MCP tool appear within the Claude UI:

image

Use it to query docs in real time:

MCP_tool_working

Working_MCP

Debugging in Real Time

One can also debug the tool that we created using the following command.

Remember to install NodeJs18+

npx @modelcontextprotocol/inspector uv run main.py

and follow to the port where the connection is setup.

image

Supported Libraries / Docs

LangChain LlamaIndex OpenAI

More libraries can be easily added by updating the docs_urls dictionary.

Future Enhancements

  • Add support for additional libraries like HuggingFace, PyTorch, TensorFlow, etc.

  • Implement caching to reduce redundant fetches and improve performance.

  • Introduce a scoring/ranking mechanism based on relevance or token quality.

  • Unit testing and better exception handling for production readiness.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for searching AI library documentation from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/docs-mcp-server-rohitkrish46)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research