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.
How to use it
lookup_package_docs is exposed by the Python Docs MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the lookup_package_docs tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
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.
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.