get_package_version
Pack: pypi · Endpoint: https://gateway.pipeworx.io/pypi/mcp
Get metadata for a specific version of a Python package on PyPI. Returns the summary, required Python version, the full dependency list (requires_dist, i.e. what pip would resolve), and the downloadable files for that version. Use to inspect a pinned release like requests 2.31.0.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | Exact PyPI package name, e.g. “requests”. |
version | string | yes | Version string, e.g. “2.31.0”. |
Example call
Arguments
{
"name": "requests",
"version": "2.31.0"
}
curl
curl -X POST https://gateway.pipeworx.io/pypi/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_package_version","arguments":{"name":"requests","version":"2.31.0"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_package_version', {
"name": "requests",
"version": "2.31.0"
});
More examples
{
"name": "django",
"version": "4.2.0"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"pypi": {
"url": "https://gateway.pipeworx.io/pypi/mcp"
}
}
}
See Getting Started for client-specific install steps.