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

      • A
        security
        A
        license
        A
        quality
        A flexible Model Context Protocol server that makes documentation or codebases searchable by AI assistants, allowing users to chat with code or docs by simply pointing to a git repository or folder.
        Last updated -
        1
        36
        49
        JavaScript
        MIT License
      • -
        security
        F
        license
        -
        quality
        A Model Context Protocol server for ingesting, chunking and semantically searching documentation files, with support for markdown, Python, OpenAPI, HTML files and URLs.
        Last updated -
        Python
        • Apple
      • -
        security
        A
        license
        -
        quality
        A Model Context Protocol server that provides AI assistants and language models with access to Laravel 12 documentation, allowing them to list, read, and search through documentation files.
        Last updated -
        13
        Python
        MIT License
        • Linux
        • Apple
      • -
        security
        A
        license
        -
        quality
        A server that provides organized documentation content for various applications using the Model Context Protocol, enabling AI assistants to access quickstart guides and code examples.
        Last updated -
        Python
        MIT License

      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