Python Docs MCP Server
For AI coding agents writing Python, python-docs-mcp-server is the canonical Python stdlib oracle: exact symbols, exact sections, exact versions - offline, always free, always MIT, token-frugal. Its 6 documented tools cover docs, versions. It runs locally over stdio via the published package.
People connecting documentation tools to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.
VERIFIED ACTIVE
LAST COMMIT 2026-08-24 · ★ 7 · #60 OF 183 MAINTAINED DOCUMENTATION · VERIFIED 2026-08-25
MIT · Python servers · how we verify → /methodology
01 · Install Python Docs MCP Server
before you install - you'll need
The README does not document required environment variables for a basic install.
Claude Code
claude mcp add ayhammouda-python-docs-mcp-server -- uvx python-docs-mcp-server Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"ayhammouda-python-docs-mcp-server": {
"command": "uvx",
"args": [
"python-docs-mcp-server"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
pypi package python-docs-mcp-server - check the name against the project README before installing (PyPI has no namespace ownership)
registry namespace io.github.ayhammouda is GitHub-verified and matches the repo owner
03 · What Python Docs MCP Server can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
What you can build
With this server connected, an agent can list all indexed Python versions with metadata, detect the user's local Python version and report whether that version has been indexed, and diff a Python stdlib symbol between two indexed versions. Returns change=added.
Capability map
Tools grouped from the project's README - what Python Docs MCP Server lets an agent do.
read & search
4 tools - e.g. Search Python stdlib docs by query. Supports symbol lookup (asyncio.TaskGroup), module search (json), and free-text search. Returns ranked hits with BM25 scorin; Retrieve a specific documentation page or…
search_docs · get_docs · lookup_package_docs · list_versions
Detect
1 tool - e.g. Detect the user's local Python version and report whether that version has been indexed.
detect_python_version
Compare
1 tool - e.g. Diff a Python stdlib symbol between two indexed versions. Returns change=added
compare_versions
Latest releases
v0.3.1 · 2026-07-05
v0.3.1 - checked-in .mcp.json project config · adopt Lost-in-the-Middle motivation + tokens-not-bytes positioning · [v0.5.0] benchmark - public token/correctness/latency harness vs docs MCPs (human-led) · bump mcp from…
v0.3.0 · 2026-05-31
scaffold autonomous-agent pipeline · refresh six-tool public surface · remove human review deadlock · add zstandard cache prerequisite · [v0.3.0] docs - write ADR-006 (Serialization) · [v0.3.0] docs - write ADR-001…
v0.2.1 · 2026-05-29
fix flaky stdio cache smoke test (EOF race) · serial Sphinx build on Python 3.14+ (forkserver pickling) · v0.2.1
04 · Who maintains Python Docs MCP Server
Python Docs MCP Server is maintained by ayhammouda. It's the only MCP server we track from this author; the repo dates to Apr 2026.
05 · Facts
- repository
- github.com/ayhammouda/python-docs-mcp-server
- category
- documentation - ranked #60 of 183 actively-maintained documentation servers as of 2026-08-25.
- release cadence
- 4 releases in the last 90 days (latest 2026-07-05)
- registry
- io.github.ayhammouda/python-docs-mcp-server (active, first published 2026-05-12 · 7 versions)
- packages
- pypi:python-docs-mcp-server
06 · Python Docs MCP Server FAQ
Is Python Docs MCP Server still maintained?
Yes - as of 2026-08-25, its last commit was 2026-08-24 and it shipped 4 releases in the last 90 days. We re-verify nightly.
What can Python Docs MCP Server do?
With this server connected, an agent can list all indexed Python versions with metadata, detect the user's local Python version and report whether that version has been indexed, and diff a Python stdlib symbol between two indexed versions. Returns change=added.
How do I install Python Docs MCP Server?
Run `uvx python-docs-mcp-server`. The README does not document required environment variables for a basic install. You can also paste the ready-made client config above.
Does Python Docs MCP Server run locally?
Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to Python Docs MCP Server
Alternatives to Python Docs MCP Server
Maintained documentation servers if Python Docs MCP Server isn't the fit.
- Context7 Up-to-date code docs for any prompt ★ 61,171 · 2026-08-24
- Agent Skills Search Server Search and discover Agent Skills from the skills.sh registry. Powered by HAPI MCP server. ★ 24,633 · 2026-08-09
- Repowise Codebase intelligence for AI coding agents - graph, git history, docs, decisions, code health. ★ 6,189 · 2026-08-24
- GitLab MCP GitLab MCP server for projects, merge requests, issues, pipelines, wiki, releases, and more. ★ 1,918 · 2026-08-24
- Microsoft Learn MCP Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs. ★ 1,853 · 2026-08-12
- Pg Aiguide Comprehensive PostgreSQL documentation and best practices, including ecosystem tools ★ 1,821 · 2026-06-26
Pairs well with
Servers that cover what Python Docs MCP Server doesn't - only shown when the pairing reason fits the companion.
More documentation MCP servers · Plesk Dev Docs · Beever Atlas · Docdex · Cartographer · Hexis
More Python MCP servers · Ayn Ops · Yapitalism · Safeagent · B4n1 Web · Invinoveritas · see all