overall

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

Fetch daily PyPI download timeseries for a package from pypistats.org, optionally filtered to exclude mirror traffic (mirrors=false). Returns per-day download counts.

Parameters

NameTypeRequiredDescription
packagestringyes
mirrorsbooleanno

Example call

Arguments

{
  "package": "django"
}

curl

curl -X POST https://gateway.pipeworx.io/pypi-stats/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"overall","arguments":{"package":"django"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('overall', {
  "package": "django"
});

More examples

{
  "package": "pandas",
  "mirrors": false
}

Response shape

FieldTypeDescription
dataarrayDaily download statistics
packagestringPackage name
typestringResponse type
Full JSON Schema
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "description": "Daily download statistics",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "Date of the observation"
          },
          "downloads": {
            "type": "integer",
            "description": "Number of downloads"
          }
        }
      }
    },
    "package": {
      "type": "string",
      "description": "Package name"
    },
    "type": {
      "type": "string",
      "description": "Response type"
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "pypi-stats": {
      "url": "https://gateway.pipeworx.io/pypi-stats/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026