python-docs-mcp-server 0.3.0__py3-none-any.whl → 0.3.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-docs-mcp-server
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: The canonical Python stdlib oracle for AI coding agents — exact symbols, exact sections, exact versions, offline, always free, always MIT, token-frugal.
5
5
  Author-email: Aymen Hammouda <hammouda.aymen@gmail.com>
6
6
  License-Expression: MIT
@@ -48,6 +48,13 @@ Built for the moment your agent needs `asyncio.TaskGroup` signatures, `pathlib.P
48
48
 
49
49
  ## Why this exists
50
50
 
51
+ There is a difference between long context and usable context. Research like the
52
+ [*Lost in the Middle*](https://arxiv.org/abs/2307.03172) study (Liu et al., 2023)
53
+ found that models struggle to use relevant information buried in the middle of a
54
+ long input. Pasting an entire documentation page into the model invites that
55
+ failure. Returning the exact symbol, section, and version keeps the answer in a
56
+ short, high-signal context instead.
57
+
51
58
  Generic docs retrieval is a rough fit for Python stdlib questions:
52
59
 
53
60
  - `asyncio.TaskGroup` should resolve to the actual symbol, not a fuzzy page hit
@@ -140,6 +147,26 @@ cache. It can take several minutes.
140
147
 
141
148
  ## Configure your MCP client
142
149
 
150
+ ### Claude Code
151
+
152
+ This repository includes a project-scoped `.mcp.json` for clients that support
153
+ checked-in MCP server configuration. It points at the published package:
154
+
155
+ ```json
156
+ {
157
+ "mcpServers": {
158
+ "python-docs": {
159
+ "type": "stdio",
160
+ "command": "uvx",
161
+ "args": ["python-docs-mcp-server"]
162
+ }
163
+ }
164
+ }
165
+ ```
166
+
167
+ Build the local documentation index with the first-run command above before
168
+ expecting docs queries to return corpus-backed results.
169
+
143
170
  ### Claude Desktop
144
171
 
145
172
  Add this to your Claude Desktop configuration file:
@@ -32,8 +32,8 @@ mcp_server_python_docs/services/version_resolution.py,sha256=rULBoqq97t0ZfSWSy-e
32
32
  mcp_server_python_docs/storage/__init__.py,sha256=YNeNr7FW9Vgvo79oXgKXE3eGP0WwWDqRgTZ7lg7MFW4,62
33
33
  mcp_server_python_docs/storage/db.py,sha256=Lys8HN3IvgmNpr_qyocUQghcZnwHf2lz9eq_BFmwi54,5634
34
34
  mcp_server_python_docs/storage/schema.sql,sha256=4cXPktPQSLfbjkSjirpf0dA2CphlO9UCIKUxnLiIm_g,5637
35
- python_docs_mcp_server-0.3.0.dist-info/METADATA,sha256=_3VIV56ywUeSNOWBiexQl2RbhI8MO49wLmFsAQDPW34,13913
36
- python_docs_mcp_server-0.3.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
37
- python_docs_mcp_server-0.3.0.dist-info/entry_points.txt,sha256=-1arbtjZhF5mtnJNAh_90UBr1f4AqJxT3Tmfy9p7NMI,142
38
- python_docs_mcp_server-0.3.0.dist-info/licenses/LICENSE,sha256=-AHGWRwcvoeP4bkY1W2ok_qaI1Mg0Zx2qYgR1k-3CHY,1071
39
- python_docs_mcp_server-0.3.0.dist-info/RECORD,,
35
+ python_docs_mcp_server-0.3.1.dist-info/METADATA,sha256=OGvwbikJSXf2KSdeA5grj0PwDRhjDECRtmW_Wk6N_MA,14808
36
+ python_docs_mcp_server-0.3.1.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
37
+ python_docs_mcp_server-0.3.1.dist-info/entry_points.txt,sha256=-1arbtjZhF5mtnJNAh_90UBr1f4AqJxT3Tmfy9p7NMI,142
38
+ python_docs_mcp_server-0.3.1.dist-info/licenses/LICENSE,sha256=-AHGWRwcvoeP4bkY1W2ok_qaI1Mg0Zx2qYgR1k-3CHY,1071
39
+ python_docs_mcp_server-0.3.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.29.0
2
+ Generator: hatchling 1.30.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any