# PyPI

`dev.mcpharbor.gateway/pypi`, version 1.0.0

PyPI Python package registry search: versions, dependencies, downloads, compatibility

- MCP endpoint: `https://gateway.mcpharbor.dev/mcp/pypi` for this server alone, or `https://gateway.mcpharbor.dev/mcp` for every server
- Authentication: `Authorization: Bearer <your gateway API key>`
- Price per tool call: $0.0001 (100 micro-USD)
- Registry entry: <https://gateway.mcpharbor.dev/v0.1/servers/dev.mcpharbor.gateway%2Fpypi/versions/latest>
- Every tool, machine-readable: <https://gateway.mcpharbor.dev/llms-full.txt>

## Provider

We proxy this provider under the terms below, re-checked on a schedule. If a re-check ever
says no, the server and its tools leave the catalog and this page disappears with them.

| Fact | Value |
| --- | --- |
| Terms of use | <https://policies.python.org/pypi.org/Terms-of-Service/> |
| Terms verified on | 2026-09-19 |
| API documentation | <https://docs.pypi.org/api/json/> |
| Upstream API key | none required |
| Rate limit | 600 requests per minute |
| Website | <https://docs.pypi.org/api/json/> |
| Compliance notes | Keyless JSON API, heavily CDN-cached. |

## Attribution

This provider asks for no attribution. Their terms still apply: see the table above.

## Tools (10)

Every call below costs $0.0001 (100 micro-USD). Listing them costs nothing.

| Tool | Description | Price per call | Documentation |
| --- | --- | --- | --- |
| `pypi__check_package_python_compatibility` | Check if a package is compatible with a specific Python version. This tool analyzes a package's Python version requirements and determines if it's compatible with your target Python version. Args: ... | $0.0001 | [pypi__check_package_python_compatibility](https://gateway.mcpharbor.dev/docs/tools/pypi__check_package_python_compatibility) |
| `pypi__download_package` | Download a PyPI package and all its dependencies to local directory. This tool downloads a Python package and all its dependencies, providing comprehensive package collection for offline installati... | $0.0001 | [pypi__download_package](https://gateway.mcpharbor.dev/docs/tools/pypi__download_package) |
| `pypi__get_download_statistics` | Get download statistics for a PyPI package. This tool retrieves comprehensive download statistics for a Python package, including recent download counts, trends, and analysis. Args: package_name: T... | $0.0001 | [pypi__get_download_statistics](https://gateway.mcpharbor.dev/docs/tools/pypi__get_download_statistics) |
| `pypi__get_download_trends` | Get download trends and time series for a PyPI package. This tool retrieves detailed download trends and time series data for a Python package, providing insights into download patterns over the la... | $0.0001 | [pypi__get_download_trends](https://gateway.mcpharbor.dev/docs/tools/pypi__get_download_trends) |
| `pypi__get_package_compatible_python_versions` | Get all Python versions compatible with a package. This tool analyzes a package and returns which Python versions are compatible with it, along with recommendations. Args: package_name: The name of... | $0.0001 | [pypi__get_package_compatible_python_versions](https://gateway.mcpharbor.dev/docs/tools/pypi__get_package_compatible_python_versions) |
| `pypi__get_package_dependencies` | Get dependency information for a PyPI package. This tool retrieves comprehensive dependency information for a Python package, including runtime dependencies, development dependencies, and optional ... | $0.0001 | [pypi__get_package_dependencies](https://gateway.mcpharbor.dev/docs/tools/pypi__get_package_dependencies) |
| `pypi__get_package_info` | Query comprehensive information about a PyPI package. This tool retrieves detailed information about a Python package from PyPI, including metadata, description, author information, dependencies, a... | $0.0001 | [pypi__get_package_info](https://gateway.mcpharbor.dev/docs/tools/pypi__get_package_info) |
| `pypi__get_package_versions` | Get version information for a PyPI package. This tool retrieves comprehensive version information for a Python package, including all available versions, release details, and distribution formats. ... | $0.0001 | [pypi__get_package_versions](https://gateway.mcpharbor.dev/docs/tools/pypi__get_package_versions) |
| `pypi__get_top_downloaded_packages` | Get the most downloaded PyPI packages. This tool retrieves a list of the most popular Python packages by download count, helping you discover trending and widely-used packages in the Python ecosyst... | $0.0001 | [pypi__get_top_downloaded_packages](https://gateway.mcpharbor.dev/docs/tools/pypi__get_top_downloaded_packages) |
| `pypi__resolve_dependencies` | Resolve all dependencies for a PyPI package recursively. This tool performs comprehensive dependency resolution for a Python package, analyzing the complete dependency tree including transitive dep... | $0.0001 | [pypi__resolve_dependencies](https://gateway.mcpharbor.dev/docs/tools/pypi__resolve_dependencies) |

## Price

- $0.0001 (100 micro-USD) per tool call.
- Billed on: each tools/call that reaches the upstream and returns a result.
- Free: server/discover, tools/list, registry endpoints, docs files.
- Payment: prepaid credits, drawn down per call. A call your balance cannot cover is refused with HTTP 402 before any upstream is contacted.
- A charged call that then fails upstream is refunded automatically.
- Retries are ordinary calls. There is no client idempotency key, so repeating a request that was already charged buys a second call - see [agent.txt](https://gateway.mcpharbor.dev/agent.txt), section 7.
