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.

Langchain, Llama Index, OpenAI 공식 문서에서 관련 문서 조각을 검색하고 찾아볼 수 있는 간단한 모델 컨텍스트 프로토콜 서버입니다.

  1. 특징
    1. 작동 원리
      1. 시작하기
        1. uv 패키지 관리자 설치
        2. 프로젝트 설정
        3. 환경 변수
        4. 서버 실행

      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 21 days ago
        1
        49
        53
        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 3 months ago
        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 3 days ago
        15
        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 6 days ago
        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