Documentation-MCP

Documentation-MCP

1

The Documentation MCP Server is designed to enhance AI assistants like Claude, allowing them to search and access documentation from well-known libraries through a standardized protocol. It uses smart extraction techniques to provide contextually relevant information directly within AI conversations.

Documentation MCP Server 📚🔍

A Model Context Protocol (MCP) server that enables Claude to search and access documentation from popular libraries like LangChain, LlamaIndex, and OpenAI directly within conversations.

Features ✨

  • Documentation Search Tool: Search through documentation of popular AI libraries
  • Supported Libraries: LangChain, LlamaIndex, OpenAI
  • Smart Extraction: Intelligently parses HTML content to extract the most relevant information
  • Configurable Results: Limit the amount of text returned based on your needs

How It Works 🛠️

  1. The server uses the Serper API to perform Google searches with site-specific queries
  2. It fetches the content from the search results
  3. BeautifulSoup extracts the most relevant text from main content areas
  4. Claude can access this information through the get_docs tool

System Requirements 🖥️

  • Python 3.11 or higher
  • uv package manager
  • A Serper API key

Setup Instructions 🚀

  1. Install uv Package Manager
  2. Clone and Set Up the Project
  3. Configure the Serper API Key
  4. Configure Claude Desktop
  5. Restart Claude Desktop

Using the Documentation Tool 🧩

Ask Claude to use the documentation tool for searching relevant information.