Python Docs MCP Server
UnclaimedRead-only MCP server for official Python docs: local index, no API keys, exact symbol lookup, version-aware retrieval.
Set up this server
01 / Choose your client
02 / Before you connect
Authentication is not specified. Check the project instructions before connecting.
Project instructions03 / Add the configuration
claude mcp add --transport stdio 'python-docs-mcp-server' -- 'uvx' 'python-docs-mcp-server'04 / Check it in your client
Open your client’s MCP settings and confirm the server connects and lists its tools. A copied configuration does not confirm a working connection.
More in Databases
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
6 of 6 tools
Documented tools (6)
From project documentation. A server handshake does not verify each tool’s description or behavior.
compare_versions
Diff a Python stdlib symbol between two indexed versions. Returns change=added
detect_python_version
Detect the user's local Python version and report whether that version has been indexed.
get_docs
Retrieve a specific documentation page or section by slug and optional anchor. Returns markdown content with budget-enforced truncation and pagination. Retrieved results are cached on disk by Python docs version and request identity.
list_versions
List all indexed Python versions with metadata.
lookup_package_docs
Look up official PyPI package metadata and return package-declared documentation/homepage/source URLs. This is a controlled PyPI metadata lookup, not generic web search.
search_docs
Search Python stdlib docs by query. Supports symbol lookup (asyncio.TaskGroup), module search (json), and free-text search. Returns ranked hits with BM25 scoring and snippet excerpts.
Tool change history
FAQ
Questions about Python Docs MCP Server
- How do I connect Python Docs MCP Server to Claude?
- Run `claude mcp add python-docs-mcp-server -- uvx python-docs-mcp-server` in Claude Code, or add the same command and arguments under mcpServers in Cursor's mcp.json or Claude Desktop's claude_desktop_config.json, then restart the client. The blocks above are ready to paste.
- Is Python Docs MCP Server free?
- The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can Python Docs MCP Server do?
- Python Docs MCP Server documents 6 tools to the agent, including compare_versions, detect_python_version, get_docs. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.