You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37-3Lines changed: 37 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -164,12 +164,13 @@ Contributor commands and validation steps live in
164
164
165
165
## Tools
166
166
167
-
The server currently exposes four MCP tools:
167
+
The server currently exposes five MCP tools:
168
168
169
169
| Tool | Description |
170
170
|------|-------------|
171
171
|`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. |
172
-
|`get_docs`| Retrieve a specific documentation page or section by slug and optional anchor. Returns markdown content with budget-enforced truncation and pagination. |
172
+
|`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. |
173
+
|`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. |
173
174
|`list_versions`| List all indexed Python versions with metadata. |
174
175
|`detect_python_version`| Detect the user's local Python version and report whether it matches an indexed documentation version. |
175
176
@@ -184,10 +185,43 @@ Use this server when you need:
184
185
185
186
Use a generic fetcher or broader docs MCP when you need:
186
187
187
-
- third-party package docs outside the Python stdlib
0 commit comments