# PyPI Package Reporting Tool & MCP Connector | Datapipe

> Track Python package downloads, versions and releases from PyPI. Combine PyPI package metadata and PyPI Stats download analytics in one data source. Follow daily installs, Python version shares, operating systems, release artifacts and known vulnerabilities.

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

## What Datapipe reads from PyPI

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

### Reports

- **PyPI daily downloads**: Daily package downloads from PyPI Stats in the report dates (up to 180 days), split by mirror traffic.
- **PyPI recent downloads**: Current inventory of rolling last-day, last-week and last-month downloads for each tracked package, not filtered by the report date.
- **PyPI downloads by Python major version**: Daily package downloads broken down by Python major version in the report dates.
- **PyPI downloads by Python minor version**: Daily package downloads broken down by Python minor version (such as 3.11 or 3.12) in the report dates.
- **PyPI downloads by operating system**: Daily package downloads broken down by operating system (Linux, Windows, macOS) in the report dates.
- **PyPI package overview**: Current inventory for each tracked package: latest version, license, Python requirement, release count, total file size and known vulnerabilities, not filtered by the report date.
- **PyPI release history**: Package versions released in the report dates with wheel counts, source distributions, file sizes and yanked status.
- **PyPI release files**: Individual distribution files uploaded in the report dates with filename, package type, Python tag and byte size.
- **PyPI largest packages**: Current inventory of the largest packages hosted on PyPI by storage size and share of total PyPI storage, not filtered by the report date.

### Metrics and fields

Date, Package, Mirror Traffic, Downloads, Last Day Downloads, Last Week Downloads, Last Month Downloads, Python Major Version, Python Minor Version, Operating System, Latest Version, Summary.

## Changes your assistant can make in PyPI

PyPI is read-only in Datapipe.

## Set up the PyPI MCP connector

1. Add PyPI 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.

Daily PyPI downloads by mirror, Python major and minor version and OS, rolling recent totals, package metadata, releases, distribution files and vulnerability counts. PyPI is read-only in Datapipe.

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

## Every way to use PyPI data

Add PyPI 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 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 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 in a sentence, next to your other data sources.
- Your assistant can make the PyPI 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

- [GitHub](https://trydatapipe.com/integrations/github.md): Do PyPI daily downloads jump after new GitHub releases or pull requests?
- [Google Analytics](https://trydatapipe.com/integrations/google-analytics.md): Do documentation sessions in Google Analytics rise alongside PyPI installs?
- [Search Console](https://trydatapipe.com/integrations/google-search-console.md): Do Search Console clicks for your package name track with PyPI downloads?
- [Google Sheets](https://trydatapipe.com/integrations/google-sheets.md): Which Python minor versions hold the largest share of PyPI downloads?

## Questions

### Do I need a PyPI token?

No. Both PyPI registry metadata and PyPI Stats download counts are public.

### How far back do daily downloads go?

PyPI Stats retains up to 180 days of daily download history per package.

### Can I exclude mirror traffic?

Yes. Filter the daily downloads dataset by Mirror traffic equals without_mirrors.

### Are vulnerability counts included?

Yes. The package overview dataset reports the count of known vulnerabilities published by PyPI.

### Does Datapipe have a PyPI 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. Daily PyPI downloads by mirror, Python major and minor version and OS, rolling recent totals, package metadata, releases, distribution files and vulnerability counts. PyPI is read-only in Datapipe.

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

Datapipe puts PyPI in the same project as your other data sources, so one question can compare them over the same dates. PyPI 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 to Data Studio?

Add PyPI 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 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 page](https://trydatapipe.com/integrations/pypi)
- [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)
