PyPI Package Info
pypi.packages.infoRetrieve metadata for any Python package from PyPI: version, summary, license, author, dependencies, classifiers, and Python version requirements. Supports specific version lookup for dependency intelligence.
Instructions
Get metadata for any Python package from PyPI: version, summary, license, author, dependencies, classifiers, Python version requirements. 550K+ packages. Supports specific version lookup. Complements npm (UC-344) for polyglot dependency intelligence.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | Python package name (e.g. requests, flask, numpy, anthropic) | |
| version | No | Specific version (e.g. 2.31.0). Defaults to latest release. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |