# PyPI Stats Python Package Reporting & MCP | Datapipe

> Python package download trends and version shares with no key. Pull public PyPI daily downloads, recent period totals, Python minor version splits, OS breakdowns and mirror stats with zero credentials.

Page: https://trydatapipe.com/integrations/pypi-stats
Site index: https://trydatapipe.com/llms.txt

## What Datapipe reads from PyPI Stats

- Reads: 18 report fields across 6 datasets
- Setup: Paste a key or token
- Refresh: daily to every 15 minutes
- Changes: none, read-only

### Reports

- **Daily Package Downloads**: Daily Python package download counts from PyPI (excluding mirrors).
- **Recent Period Totals**: Last day, last week and last month download totals for your Python package.
- **Downloads by Python Version**: Recent PyPI downloads grouped by Python minor version (3.10, 3.11, 3.12, 3.13).
- **Downloads by Operating System**: Recent PyPI downloads split by Linux, macOS and Windows.
- **Direct vs Mirror Downloads**: Total recent downloads comparing direct PyPI installs against mirrors.
- **Weekly Download Rollup**: PyPI downloads aggregated by ISO week.

### Metrics and fields

Date, Package, Downloads, Period, Python Version, Operating System, Category, Week Start.

## Changes your assistant can make in PyPI Stats

PyPI Stats is read-only in Datapipe.

## Set up the PyPI Stats MCP connector

1. Add PyPI Stats as a data source in Datapipe.
2. Add the MCP connector address `https://trydatapipe.com/mcp` in ChatGPT or Claude under Plugins, or in Grok under Connectors.
3. Sign in to Datapipe and choose the project your assistant can use.

PyPI daily package downloads, recent totals, Python minor version splits, OS breakdowns, mirror comparisons and weekly rollups. PyPI Stats is read-only in Datapipe.

Assistant setup guide: https://trydatapipe.com/docs?guide=ai-and-mcp

## Every way to use PyPI Stats data

Add PyPI Stats once as a data source in a project. Every option below uses the same connection.

### Spreadsheets and BI tools (every plan)

- Google Sheets: a sheet with your PyPI Stats report that refreshes on its own.
- Excel: a live web query (.iqy) that refreshes the report in Excel.
- Power BI: a live data source file (.pbids) that loads the report.
- Data Studio: charts that read the Google Sheet Datapipe keeps up to date, or a ready-made report template.
- Google Drive: CSV, Excel and optional JSON files in a Drive folder you pick, hourly, daily or weekly.
- CSV and JSON downloads straight from the report.

### Client reports with Report Studio (add-on, free for 30 days)

- Report Studio: build a branded report from PyPI Stats and your other data sources with drag and drop.
- Export the report as PDF or PowerPoint, with your logo on each report.
- Publish it to your white-label client portal.
- Email it on a schedule: after each refresh, weekly or monthly.
- Approve an edition to keep that period's figures fixed.
- Gemini Enterprise: read the data feeds you publish from Report Studio.

### AI assistants (every plan)

- ChatGPT, Claude and Grok: add the MCP connector at https://trydatapipe.com/mcp and ask about PyPI Stats in a sentence, next to your other data sources.
- Your assistant can make the PyPI Stats changes you allow, and those changes can wait for approval.
- With Report Studio, your assistant can draft a report for you to publish.

### Developers (paid plans, from Starter)

- Signed webhooks (HMAC) that send each refresh to your own endpoint.
- The Project API (/api/v1) with scoped project keys to query reports.

### Warehouses and storage (Pro, Agency and Agency Plus)

- BigQuery: A warehouse table for the same columns.
- ClickHouse: Push report rows straight into a ClickHouse table over HTTPS with an API key or user credentials.
- AWS S3: Write fresh report files (NDJSON or CSV) straight into your S3 bucket using IAM access keys.
- Amazon Redshift: Load report rows into Amazon Redshift over HTTPS via the Redshift Data API with IAM access keys.
- Firebolt: Push report rows straight into a Firebolt database over HTTPS using a Service Account ID and secret.
- PostgreSQL: Write fresh report rows straight into a PostgreSQL table using standard database credentials.
- MySQL: Write fresh report rows straight into a MySQL table using standard database credentials.
- Snowflake: Push report rows into Snowflake over HTTPS using a Programmatic Access Token (no OAuth required).
- Databricks SQL: Deliver report rows into Databricks SQL tables using a Personal Access Token and SQL Warehouse ID.
- Cloudflare R2: Write NDJSON or CSV exports directly to your Cloudflare R2 bucket with S3-compatible access keys.

## Works well with PyPI Stats

- [GitHub](https://trydatapipe.com/integrations/github.md): Compare PyPI package download growth with GitHub stars and releases?
- [npm Downloads](https://trydatapipe.com/integrations/npm-downloads.md): Benchmark Python PyPI downloads alongside JavaScript npm Downloads?
- [Google Analytics](https://trydatapipe.com/integrations/google-analytics.md): Match PyPI download spikes with GA4 developer documentation traffic?
- [Google Sheets](https://trydatapipe.com/integrations/google-sheets.md): Export PyPI daily downloads and Python version shares into Sheets?

## Questions

### Do I need a PyPI account or key?

No. PyPI Stats is a public data source that connects with zero credentials.

### Can I track any public Python package on PyPI?

Yes. Pick a popular package from the dropdown or enter any PyPI package name.

### Can I pair PyPI Stats with GitHub or npm Downloads?

Yes. Compare Python and JavaScript SDK adoption side by side.

### Does Datapipe have a PyPI Stats MCP server?

Yes. Add the Datapipe MCP connector in ChatGPT as a custom MCP plugin, or add it as a custom connector in Claude or Grok. PyPI daily package downloads, recent totals, Python minor version splits, OS breakdowns, mirror comparisons and weekly rollups. PyPI Stats is read-only in Datapipe.

### Why use Datapipe if my assistant can already connect to PyPI Stats?

Datapipe puts PyPI Stats in the same project as your other data sources, so one question can compare them over the same dates. PyPI Stats is read-only in Datapipe, so your assistant reads the numbers without changing anything. When you want the answer every week, your assistant can draft a Report Studio report. Once you publish it, Datapipe refreshes and emails it on your schedule.

### How do I connect PyPI Stats to Data Studio?

Add PyPI Stats as a data source in Datapipe, create a report and choose Data Studio (formerly Looker Studio) as the destination. It is included on every plan, there is nothing extra to install, and the report refreshes on its own.

### How much does it cost?

Free to start. Paid plans add more data sources and refresh faster.

### How fresh is the data?

Free and Starter refresh once a day. Pro refreshes every hour. Agency refreshes every 15 minutes on any 50 data sources you pick, Agency Plus on any 100, and hourly on the rest.

### How many data sources does this use?

One for each PyPI Stats account you add to a project. Adding the same account to another project counts again. Reports and destinations do not use extra data sources.

## Links

- [PyPI Stats page](https://trydatapipe.com/integrations/pypi-stats)
- [Start free](https://trydatapipe.com/signup)
- [Pricing](https://trydatapipe.com/pricing)
- [Datapipe facts](https://trydatapipe.com/facts.md)
- [All data sources](https://trydatapipe.com/integrations)
