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.
How to use it
Project documentation lists search_docs for the Python Docs MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Python Docs MCP Server
uvx python-docs-mcp-serverOther tools in Python Docs MCP Server (5)
Diff a Python stdlib symbol between two indexed versions. Returns change=added
Detect the user's local Python version and report whether that version has been indexed.
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 all indexed Python versions with metadata.
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.