Prakash2459/webscraped-docs-mcp
3.1
If you are the rightful owner of webscraped-docs-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The MCP Web-Scraped Documentation Server is a fast and efficient server designed to search and retrieve documentation from LangChain, LlamaIndex, and OpenAI through a unified API.
MCP Web-Scraped Documentation Server
A fast MCP (Model Context Protocol) server for searching and retrieving documentation from LangChain, LlamaIndex, and OpenAI official sources via a unified API.
Features
- Unified API for documentation search
- Supports LangChain, LlamaIndex, and OpenAI
- Returns up-to-date documentation snippets
- Asynchronous and efficient
Supported Libraries
- LangChain: python.langchain.com/docs
- LlamaIndex: docs.llamaindex.ai/en/stable
- OpenAI: platform.openai.com/docs
Usage
- Start the server:
python main.py - Use the
get_docstool to query documentation:query: Search term (e.g., "Chroma DB")library: One oflangchain,llama-index, oropenai
Example
result = await get_docs("memory", "langchain")
Environment Variables
SERPER_API_KEY: API key for Google Serper search
Installation
- Create a uv virtual environment:
uv venv .venv - Activate the virtual environment:
- On Windows:
.venv\Scripts\activate - On macOS/Linux:
source .venv/bin/activate
- On Windows:
- Install dependencies:
uv sync - Set up
.envfile with your Serper API key.
MCP Server Configuration Example
Add the following to your MCP configuration (e.g., mcp.json):
{
"servers": {
"documentation": {
"command": "uv",
"args": [
"--directory",
"D:/projects/mcp/documentation",
"run",
"main.py"
]
}
}
}
License
MIT