MCP-Server-Tutorial

deepmihir/MCP-Server-Tutorial

3.1

If you are the rightful owner of MCP-Server-Tutorial and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This project implements a custom MCP server that enables Claude to search through documentation for popular Python libraries.

The MCP Server for Documentation Search is a specialized server designed to facilitate efficient searching through documentation for popular Python libraries such as LangChain, LlamaIndex, and OpenAI. By leveraging the Model Control Protocol (MCP), this server integrates seamlessly with Claude Desktop, allowing users to perform targeted searches within documentation. The server utilizes the Google Search API via Serper to locate relevant documentation pages and employs web scraping techniques to extract necessary content. This setup is particularly beneficial for developers and technical writers who need quick access to specific information within extensive documentation. The server is built to run on Python 3.10 or higher and requires the MCP SDK 1.2.0 or higher, along with the 'uv' package manager for managing dependencies and running the server.

Features

  • Search documentation for specific queries across supported libraries
  • Integration with Google Search API via Serper for finding relevant documentation pages
  • Web scraping capabilities to extract content from documentation pages
  • Designed to work with Claude Desktop through MCP

Usages

usage with Claude Desktop

{
    "mcpServers": {
        "mcp-server": {
            "command": "uv",  
            "args": [
                "--directory",
                "/ABSOLUTE/PATH/TO/YOUR/mcp-server",
                "run",
                "main.py"
            ]
        }
    }
}