python-docs-server MCP Server
Overview
The python-docs-server MCP Server is a TypeScript-based Model Context Protocol server that allows users to fetch Python documentation using the Brave Search API.
To use the server, install the dependencies, build the server, and configure it with Claude Desktop by adding the server configuration to the appropriate JSON file based on your operating system.
- Fetches Python documentation for specific queries using the Brave Search API. - Provides a command-line interface for easy interaction. - Supports debugging through the MCP Inspector tool.
- Quickly retrieving Python documentation for specific libraries or functions.
- Integrating Python documentation fetching capabilities into applications.
- Assisting developers in finding relevant documentation while coding.
Add to your AI client
Use these steps to connect python-docs-server MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"python-docs-server-mcp-server-anuragrai017": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-python-docs-server-mcp-server-anuragrai017"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"python-docs-server-mcp-server-anuragrai017": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-python-docs-server-mcp-server-anuragrai017"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"python-docs-server-mcp-server-anuragrai017": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-python-docs-server-mcp-server-anuragrai017"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"python-docs-server-mcp-server-anuragrai017": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-python-docs-server-mcp-server-anuragrai017"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"python-docs-server-mcp-server-anuragrai017": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-python-docs-server-mcp-server-anuragrai017"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"python-docs-server-mcp-server-anuragrai017": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-python-docs-server-mcp-server-anuragrai017"
]
}
}
}FAQ
What is the main purpose of this server?
The main purpose is to provide a way to fetch Python documentation efficiently using the Brave Search API.
How do I install the server?
You can install it by running `npm install` after cloning the repository.
Can I use this server on Windows?
Yes! The server can be configured to work on both MacOS and Windows.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1041,"uuid":"5dd46cbb-7daa-42c3-ba14-e032b499f336","name":"python-docs-server-MCP-Server","title":"python-docs-server MCP Server","description":null,"avatar_url":"https://avatars.githubusercontent.com/u/80558016?v=4","created_at":"2025-01-28T02:27:37.622+00:00","updated_at":"2025-02-23T07:19:42.141+00:00","status":"created","author_name":"AnuragRai017","author_avatar_url":"https://avatars.githubusercontent.com/u/80558016?v=4","tags":"python-docs-server,MCP-server,documentation-fetcher","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/AnuragRai017/python-docs-server-MCP-Server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]