Documentation MCP Server
by Shivansh12t
This is a Documentation MCP (Model Context Protocol) Server implemented with Python SDK. It allows you to integrate documentation retrieval into your AI chat clients like Claude or VSCode Copilot.
View on GitHub
Last updated: N/A
Documentation MCP Server with Python SDK
Prerequisites
uv
package manager, (optional but highly recommended)- claude desktop or cursor ( basically any MCP client )
- Serper Account - For Search Tool (free no Credit Card Required)
Installation
Adding MCP to your Python Project
uv add "mcp[cli]"
Alternatively, for projects using pip for dependencies:
pip install "mcp[cli]"
Developer-QuickStart
Clone the Repository
git clone https://github.com/shivansh12t/docs-mcp-pythonsdk
cd docs-mcp-pythonsdk
Install Dependencies (Optional)
uv pip sync
Create a .env according to template.env
SERPER_API_KEY=<your_api_key>
Add MCP Server to VSCode Copilot chat
- go to
.vscode/mcp.json
- update the args to your absolute path to the mcp server
- It should be up and running in
Agent Mode
- If you are having any issues, visit Use MCP Servers in VSCode Copilot Chat
Add MCP to Client - here Claude Desktop
- Open Claude Desktop, go to settings
shift + ,
Edit Configurations
- add the following json with correct path to
claude_desktop_configurations.json
{
"mcpServers": {
"documentation": {
"command": "uv",
"args": [
"--directory",
"absolute/path/to/the/project",
"run",
"main.py"
]
}
}
}
- Restart Claude & If you see a Hammer Sign near the Chatbox, Congrats your MCP is Up and Running
Use MCP inspector
npx @modelcontextprotocol/inspector uv run main.py