Skip to main content
Glama

MPC Docs Server

MPC Docs Server

This is a simple MCP (Model Context Protocol) server for retrieving information from the official documentation of Langchain, Llama Index, and OpenAI. It provides a tool that can be used by MCP-compatible applications to search and retrieve relevant documentation snippets.

Features

  • Documentation Retrieval: Fetches content from the official documentation of Langchain, Llama Index, and OpenAI.
  • MCP Compatibility: Implements an MCP server, allowing it to be easily integrated with other MCP-compatible applications.
  • Simple Tool: Exposes a get_docs tool that accepts a query and library name, returning relevant documentation snippets.

How It Works

Getting Started

Installing uv Package Manager

On MacOS/Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

Make sure to restart your terminal afterwards to ensure that the uv command gets picked up.

Project Setup

Create and initialize the project:

# Create a new directory for our project uv init mcp-server cd mcp-server # Create virtual environment and activate it uv venv source .venv/bin/activate # On Windows use: .venv\Scripts\activate # Install dependencies uv add "mcp[cli]" httpx python-dotenv bs4

Environment Variables

Create a .env file in the root directory and add the following:

SERPER_API_KEY=YOUR_SERPER_API_KEY

You'll need a SERPER API key to use the web search functionality. You can obtain one from Serper.dev. We are using the Serper API to search the web for relevant documentation.

Running the Server

Start the MCP server:

uv run main.py

The server will start and be ready to accept connections.

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A simple Model Context Protocol server that enables searching and retrieving relevant documentation snippets from Langchain, Llama Index, and OpenAI official documentation.

  1. Features
    1. How It Works
      1. Getting Started
        1. Installing uv Package Manager
        2. Project Setup
        3. Environment Variables
        4. Running the Server

      Related MCP Servers

      • -
        security
        F
        license
        -
        quality
        A Model Context Protocol server utilizing Claude AI for generating intelligent queries and offering documentation assistance based on API documentation analysis.
        Last updated -
        3
        2
        TypeScript
      • -
        security
        A
        license
        -
        quality
        A server that enables Large Language Models to discover and interact with REST APIs defined by OpenAPI specifications through the Model Context Protocol.
        Last updated -
        958
        95
        TypeScript
        MIT License
        • Apple
      • -
        security
        F
        license
        -
        quality
        A customized MCP server that enables integration between LLM applications and documentation sources, providing AI-assisted access to LangGraph and Model Context Protocol documentation.
        Last updated -
        Python
        • Linux
        • Apple
      • -
        security
        A
        license
        -
        quality
        A Model Context Protocol (MCP) server that scrapes, indexes, and searches documentation for third-party software libraries and packages, supporting versioning and hybrid search.
        Last updated -
        231
        129
        TypeScript
        MIT License
        • Apple

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/joaowinderfeldbussolotto/MCP-Websearch-Server'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server