get_package_version

Pack: pypi · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_package_version for the schema, then POST the same URL with its arguments for the data.

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

NameTypeRequiredDescription
namestringyesExact PyPI package name, e.g. “requests”.
versionstringyesVersion 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 — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the pypi pack
{
  "mcpServers": {
    "pypi": {
      "url": "https://gateway.pipeworx.io/pypi/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 16, 2026