Docs MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Docs MCP ServerHow do I use Docker volumes?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Docs MCP Server
A Model Context Protocol (MCP) server that provides a search-and-retrieve tool (get_docs) to query and extract clean, relevant information from official documentation sites for modern developer libraries and tools.
Features
Google Serper API Integration: Queries official documentation sites with specific
site:constraints.HTML Content Extraction: Automatically scrapes the top organic search results and converts raw HTML into clean plain text using
trafilatura(ignoring navigation menus, tables, and footers).Supported Documentation Libraries:
langchain(python.langchain.com/docs/)chromadb(docs.trychroma.com/)openai(platform.openai.com/docs/)uv(docs.astral.sh/uv/)docker(docs.docker.com/get-started/)redis(redis.com/docs/get-started/)
Ready-to-Use Client: Includes a sample client that runs the MCP server via
stdiotransport and utilizes Groq (llama-3.1-8b-instant) to synthesize answers from the retrieved documentation context.
Getting Started
1. Requirements
Ensure you have the following installed:
uv (Python package manager)
Python 3.10+
2. Environment Configuration
Create a .env file in the root directory and add your API keys:
SERPER_API_KEY=your_serper_api_key_here
GROQ_API_KEY=your_groq_api_key_hereUsage
Run the Client Demonstration
The client starts the MCP server as a subprocess, calls the get_docs tool for a query, and feeds the context to Groq to generate a final answer:
uv run client.pyRun the MCP Server directly
To run the stdio server standalone:
uv run mcp_server.pyDebugging with the MCP Inspector
You can inspect the server, list tools, and execute them using the interactive MCP Inspector:
npx @modelcontextprotocol/inspector uv run mcp_server.pyClaude Desktop Integration
To make this server's tool available to your Claude Desktop client, edit your configuration file:
Path:
~/Library/Application Support/Claude/claude_desktop_config.json
Add the following to the mcpServers object:
{
"mcpServers": {
"docs-search": {
"command": "uv",
"args": [
"--directory",
"/Users/roystondsouza/Desktop/mcp-server",
"run",
"mcp_server.py"
],
"env": {
"SERPER_API_KEY": "your_serper_api_key_here",
"GROQ_API_KEY": "your_groq_api_key_here"
}
}
}
}Note: Replace your_serper_api_key_here and your_groq_api_key_here with your actual API keys, or ensure your local environment contains them.
Project Structure
mcp_server.py: The MCP server implementation exposing theget_docstool.client.py: The client script that initializes the stdio session, executes the tool, and queries Groq.utils.py: Contains HTML text extraction and LLM interaction helpers.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/roystondz/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server