PyPI data API
3 endpoints for PyPI: package, downloads, versions. One API key, one JSON schema, as MCP tools or REST.
Endpoints
Call any of them over MCP with call_endpoint and its path, or over REST.
| Endpoint | Returns | Credits | Cache |
|---|---|---|---|
| packageGET /v1/pypi/package | One PyPI package or image: version, license, size and its published counters. | 1 | 10 min |
| downloadsGET /v1/pypi/downloads | Download counts for one PyPI package, as a total or a per-day series. | 1 | 30 min |
| versionsGET /v1/pypi/versions | Version history of one PyPI package, newest first, with publish date, downloads and runtime requirements. | 1 | 10 min |
Connect your agent over MCP
Remote MCP server: https://data.openkrill.app/mcp with your key in the x-api-key header.
claude mcp add --transport http krilldata \
https://data.openkrill.app/mcp \
--header "x-api-key: YOUR_API_KEY"{
"mcpServers": {
"krilldata": {
"url": "https://data.openkrill.app/mcp",
"headers": {
"x-api-key": "YOUR_API_KEY"
}
}
}
}{
"mcpServers": {
"krilldata": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://data.openkrill.app/mcp",
"--header",
"x-api-key:${API_KEY}"
],
"env": {
"API_KEY": "YOUR_API_KEY"
}
}
}
}