get_download_stats

Pack: pypi · Endpoint: https://gateway.pipeworx.io/pypi/mcp

Get recent download counts for a Python package (last day, last week, last month) from pypistats.org. Gauges how popular a pip package is.

Parameters

NameTypeRequiredDescription
namestringyesExact PyPI package name, e.g. “requests”.

Example call

Arguments

{
  "name": "requests"
}

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_download_stats","arguments":{"name":"requests"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_download_stats', {
  "name": "requests"
});

More examples

{
  "name": "pandas"
}

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.

Regenerated from source · build September 1, 2026