Supports environment variable management for storing API keys required by the MCP server, specifically for storing the Serper API key used for web searches.
Retrieves information from LangChain's official documentation, allowing users to search and access relevant documentation snippets through the get_docs tool.
Used for visualization of the server's architecture and workflow through diagrams in the documentation.
Provides access to OpenAI's official documentation, enabling users to search and retrieve relevant documentation content through the get_docs tool.
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:
Make sure to restart your terminal afterwards to ensure that the uv
command gets picked up.
Project Setup
Create and initialize the project:
Environment Variables
Create a .env
file in the root directory and add the following:
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:
The server will start and be ready to accept connections.
This server cannot be installed
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.
Related MCP Servers
- AsecurityAlicenseAqualityA 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 -13649JavaScriptMIT License
- -securityFlicense-qualityA 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
- -securityAlicense-qualityA 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 -13PythonMIT License
- -securityAlicense-qualityA 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 -PythonMIT License