How to Use PyPI package changes in n8n
Returns PyPI change events with package names, versions, actions, timestamps, and serial numbers. Use it to follow uploads, removals, and ownership changes between checks.
Prompts to try with PyPI package changes in n8n
Copy an example into n8n, or ask in your own words.
Every hour, use PyPI package changes to collect events after the last processed event and report uploads or removals involving requests, urllib3, and certifi.
Every Monday at 9am: use PyPI package changes to look this up and give me the result as a table.
Pull the latest numbers from PyPI package changes and tell me what changed since last week.
Check PyPI package changes and summarize what you find in three bullet points.
Pull the newest data from PyPI package changes and give me the result as a table.
How to set up PyPI package changes in n8n
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send n8n this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Create a key
Create a key under API keys in the console.
- Add an MCP Client node
In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:
https://api.spiral.ai/mcp
- Pick a tool
The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:
{ "provider": "fal", "model": "fal-ai/flux/schnell", "input": { "prompt": "a lighthouse at dawn" }, "wait": true } - Run PyPI package changes in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds PyPI package changes, prices it and runs it each time the step fires.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run PyPI package changes
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "pypi-org/packages/changelog", "input": { "limit": 500 } }'
Then paste one of the prompts above: n8n finds PyPI package changes on Spiral, shows the price and runs it.
PyPI package changes providers and prices
Spiral runs PyPI package changes through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask n8n for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 5000 | 500 | limit |
| Since serial | a number from 0 | Return events with a serial greater than this (use |
Every API field of PyPI · Changelog is on its tool page: open its card above.
What can you do with PyPI package changes in n8n?
Produce a recurring PyPI change report that highlights new releases, publishing changes, and storage growth. Compare successive records for a defined package watchlist or public publishing account.
Plan package mirror capacity
Use PyPI's total storage and largest packages to estimate scale. Inventory files for selected releases and use change events to identify additions and removals that need reconciliation.
Review publishing identity changes
Compare saved file provenance with new artifacts and examine ownership change events. Use publisher project roles and release records to document which packages and versions need review.
Investigate artifact storage growth
Compare storage snapshots, identify packages appearing among the largest, and inspect their file inventories. Use upload and removal events to investigate changes between snapshots.
Triage release notifications
Establish a watchlist from a public publishing account, collect recent release entries, and inspect version details before flagging an upgrade. Use the journal to distinguish releases from other package changes.
More on PyPI package changes and n8n
Overview
PyPI package changes in other agents
Questions about PyPI package changes in n8n
Can n8n use PyPI package changes?
Yes. Add Spiral to n8n as an MCP server, and n8n can find and run PyPI package changes like any built-in tool.
How much does PyPI package changes cost in n8n?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.
Do I need an Alexandria account to use PyPI package changes in n8n?
You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs PyPI package changes on its own Alexandria account.
How long does it take to set up PyPI package changes in n8n?
About two minutes: create a key, then add an MCP Client node, then pick a tool.
Does n8n wait while PyPI package changes runs?
PyPI package changes runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.
How reliable is PyPI's package metadata?
PyPI's JSON metadata uses values supplied during upload and may differ from the uploaded files. The first metadata uploaded for a release is retained even when more files are added to that release.
How quickly do PyPI changes appear?
PyPI caches API responses, including JSON, RSS, and Index responses through its CDN. Its API documentation does not promise that every upload or change appears immediately.
How much release history do PyPI feeds contain?
The upstream implementation returns up to 100 site-wide release updates, 40 newly created projects, or 40 releases for one project. These are entry limits, so the time span depends on publishing activity.
Does PyPI provenance prove a package is safe?
A provenance record links an individual file to its publishing or build origin. PyPI explicitly says that an attestation does not establish that the code or build environment is safe.
Does every PyPI file have provenance?
No. PyPI documents releases with no attestations, especially older releases or projects without attestations configured, and a release can have attestations for only some files.
Start using PyPI package changes in n8n
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into n8n:
set up https://spiral.ai/SKILL.md


