Python Docs MCP Server
未认领Read-only MCP server for official Python docs: local index, no API keys, exact symbol lookup, version-aware retrieval.
01 / 选择客户端
03 / 添加配置
claude mcp add --transport stdio 'python-docs-mcp-server' -- 'uvx' 'python-docs-mcp-server'04 / 在客户端中确认
打开客户端的 MCP 设置,确认服务器已连接并列出工具。复制配置不代表连接成功。
更多Databases服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
6 个工具中显示 6 个
文档中列出的工具 (6)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
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.