PyPI · Capability
PyPI Index API
The PyPI Index API implements the PEP 503 (HTML) and PEP 691 (JSON) simple repository standards for discovering and downloading Python packages. It provides a machine-readable index of all registered projects and their available distribution files. The API is available in both HTML and JSON formats, with JSON recommended for new integrations. This is the primary API that package installers like pip use to resolve and download dependencies from the Python Package Index.
What You Can Do
GET
Listprojects
— List all projects
/simple/
GET
Getprojectfiles
— Get project distribution files
/simple/{project}/
MCP Tools
listprojects
List all projects
read-only
idempotent
getprojectfiles
Get project distribution files
read-only
idempotent