DOC-Intelligence-MCP-SERVER
Enables LLMs to dynamically search, scrape, and query official documentation of libraries like uv, OpenAI, LangChain, and LlamaIndex via Google Serper and Groq.
README
DOC-Intelligence-MCP-SERVER
A Model Context Protocol (MCP) server that enables LLMs (like Claude) to dynamically search, scrape, and query libraries' official documentation using Google Serper and Groq.
Features
- Google Serper API Integration: Searches documentation sites for up-to-date information.
- Fast Web Scraping: Extracts page content cleanly using
trafilatura. - LLM Content Cleaning: Automatically cleans and strips HTML bloat from documentation pages using Groq (
llama-3.1-8b-instant). - Claude Integration: Instantly works as a tool within Claude Desktop or any other MCP client.
Supported Libraries (Configured Domains)
uv(docs.astral.sh/uv)openai(platform.openai.com/docs)langchain(python.langchain.com/docs)llama-index(docs.llamaindex.ai/en/stable)
Setup
1. Requirements
Ensure you have uv installed.
2. Configure Environment Variables
Copy .env.example to .env and fill in your API keys:
cp .env.example .env
Inside .env:
SERPER_API_KEY: Get one from Serper.devGROQ_API_KEY: Get one from Groq Console
3. Run Locally (Testing)
You can run the test client to verify operations:
uv run client.py
Claude Desktop Integration
To add this tool to your Claude Desktop client, edit your configuration file:
- Windows Path:
%APPDATA%\Claude\claude_desktop_config.json - macOS Path:
~/Library/Application Support/Claude/claude_desktop_config.json
Choose one of the integration methods below:
Option 1: Run directly from GitHub (Quickest, no cloning required)
This runs the MCP server directly from GitHub. Add this JSON snippet under "mcpServers":
{
"mcpServers": {
"docs-intelligence": {
"command": "uv",
"args": [
"run",
"https://raw.githubusercontent.com/SARAN-KUMAR-S/DOC-Intelligence-MCP-SERVER/main/mcp_server.py"
],
"env": {
"SERPER_API_KEY": "YOUR_SERPER_API_KEY",
"GROQ_API_KEY": "YOUR_GROQ_API_KEY"
}
}
}
}
[!IMPORTANT] Replace
YOUR_SERPER_API_KEYandYOUR_GROQ_API_KEYwith your actual credentials.
Option 2: Clone and Run Locally (Best for making code changes)
If you cloned the repository locally, create a .env file containing your API keys in the root directory, and configure the path under "mcpServers":
{
"mcpServers": {
"docs-intelligence": {
"command": "uv",
"args": [
"--directory",
"ABSOLUTE_PATH_TO_CLONED_FOLDER",
"run",
"mcp_server.py"
]
}
}
}
[!NOTE] Replace
ABSOLUTE_PATH_TO_CLONED_FOLDERwith the full path where you cloned this repository (e.g.C:\\Users\\Username\\DOC-Intelligence-MCP-SERVER). The local.envfile in that folder will be loaded automatically.
Restart Claude Desktop, and the get_docs tool will be ready to use!
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.