PyPI JSON API
PyPI JSON API for retrieving Python project metadata, release versions, file hashes, download URLs, and package information from the Python Package Index.
Connect this API to an AI agent Browse all specs
What you can do with PyPI JSON API via MCP
Every endpoint below becomes a governed tool your AI agent (Claude, ChatGPT, or a customer-facing VX agent) can call — with scoped permissions, sandbox testing, and audit logs.
| Method | Path | Operation | Description |
|---|---|---|---|
| GET | /pypi/{project}/json |
get_pypi_project_json | Get the latest project metadata Method: GET Path: /pypi/{project}/json IMPORTANT: This function has 1 REQUIRED parameter(s) and 0 OPTIONAL parameter(s) REQUIRED parameters MUST be provided OPTIONAL parameters can be omitted if not needed Parameters: Path Parameters: REQUIRED: - project: Python project name |
| GET | /pypi/{project}/{version}/json |
get_pypi_project_version_json | Get metadata for a specific release Method: GET Path: /pypi/{project}/{version}/json IMPORTANT: This function has 2 REQUIRED parameter(s) and 0 OPTIONAL parameter(s) REQUIRED parameters MUST be provided OPTIONAL parameters can be omitted if not needed Parameters: Path Parameters: REQUIRED: - project: Python project name - version: Release version |
| GET | /simple/{project}/ |
get_simple_project | Get the simple repository project index Method: GET Path: /simple/{project}/ IMPORTANT: This function has 1 REQUIRED parameter(s) and 0 OPTIONAL parameter(s) REQUIRED parameters MUST be provided OPTIONAL parameters can be omitted if not needed Parameters: Path Parameters: REQUIRED: - project: Python project name |
Usage guide
The PyPI JSON endpoints are public and do not require an API key or bearer token. Use a descriptive `User-Agent`, cache responses where appropriate, and use the documented project and version routes rather than treating the service as an unrestricted bulk-download backend. Official documentation: https://warehouse.pypa.io/api-reference/json/
How to use this spec
- Create a free VX Agents account (sandbox tools included).
- Open the marketplace and connect “PyPI JSON API” to an agent.
- Expose it as an MCP server for Claude/ChatGPT, or chat with it directly.