Documentation search MCP server

Documentation search MCP server

python-mcp-server-sawantudayan•bysawantudayan

An MCP server that searches and extracts documentation for LangChain, LlamaIndex, and OpenAI using the Serper API.

License: Not specified•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Searches web documentation for LangChain, LlamaIndex, or OpenAI via the Serper API.
  • •Extracts and returns text from the relevant documentation pages using HTTP requests and BeautifulSoup.
  • •Exposes a get_docs tool that fetches the latest documentation for a query and library.
  • •Includes a dummy_tool that confirms the server is up and running.

BEST FOR

  • •Looking up the latest LangChain documentation for a specific topic.
  • •Fetching relevant documentation content for LlamaIndex or OpenAI through an MCP client.

ABOUT PYTHON-MCP-SERVER-SAWANTUDAYAN

Documentation search MCP server is cataloged as an MCP server attributed to sawantudayan. An MCP server that searches and extracts documentation for LangChain, LlamaIndex, and OpenAI using the Serper API. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Documentation search MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which libraries' documentation can be searched?

LangChain, LlamaIndex, and OpenAI documentation are supported.

What API key is required to run the server?

A Serper API key is needed and is loaded from a .env file.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 25995ba9df1f · 采集于 2026-11-13 13:18:01 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Python MCP Server - Documentation Search

mcp_server.jpg

This is a simple MCP (Minimal Command Protocol) server that allows users to search for documentation from popular libraries such as LangChain, LlamaIndex, and OpenAI using the Serper API. The server fetches search results and extracts the relevant documentation from the web using HTTP requests and BeautifulSoup.

Features

  • Supports searching documentation for LangChain, LlamaIndex, and OpenAI.
  • Uses Serper API to perform web searches.
  • Extracts and returns the text from the relevant documentation pages.
  • Can be used interactively through MCP protocol.

Requirements

  • Python 3.12 or higher.
  • Serper API Key for performing web searches.
  • MCP library for the server and tool execution.
  • BeautifulSoup4 and httpx for HTTP requests and HTML parsing.

Installation

Step 1: Install Python Dependencies

To set up the project, clone this repository and install the required dependencies.

git clone <repository-url>
cd <repository-directory>
pip install -r requirements.txt

Or, if you're not using a requirements.txt file:

pip install httpx beautifulsoup4 mcp python-dotenv

Step 2: Set Up Environment Variables

Create a .env file in the root directory of the project with your Serper API Key.

SERPER_API_KEY=your-serper-api-key-here

Make sure the .env file is loaded using the dotenv package.

Step 3: Run the Server

Once the environment is set up, run the server using the following command:

uv run main.py

The server will start and wait for input.

Usage

Once the server is running, you can use it to query the latest documentation for specific libraries. Here’s an example of how to query the tool:

Example Query

Start your server with uv run main.py.

In another terminal or from within an interactive MCP client, invoke the get_docs tool to search for documentation:

 get_docs("Chroma DB", "langchain")

This will search for "Chroma DB" in the LangChain documentation and return the relevant content.

Available Libraries

  • LangChain: Documentation at langchain.com
  • LlamaIndex: Documentation at llamaindex.ai
  • OpenAI: Documentation at platform.openai.com

Code Overview

main.py

  • FastMCP: Initializes the MCP server.
  • Tools: The server has two tools:
  • dummy_tool: A simple tool that confirms the server is up and running.
  • get_docs: Fetches the latest documentation for a given query and library (LangChain, LlamaIndex, OpenAI).
  • search_web(): Handles searching using the Serper API.
  • fetch_url(): Fetches a URL and extracts the text content using BeautifulSoup.

dotenv and logging

  • Loads the Serper API Key from the .env file.
  • Provides debug-level logging for better visibility into server actions and potential issues.`````

Troubleshooting

  • Missing API Key: Make sure the Serper API Key is set correctly in the .env file. You’ll get an error if it's missing.
  • Timeout Issues: If a search or URL fetch times out, try increasing the timeout values or checking the network connectivity.
  • Package Installation Issues: Ensure all dependencies are installed and the correct Python environment is activated.

Contributor

Udayan Sawant

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Documentation search MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/python-mcp-server-sawantudayan)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research