How to Use npm, PyPI and crates.io downloads in Perplexity
Get daily download counts for an npm, PyPI, or crates.io package. Use the dated series to compare recent activity or investigate spikes; PyPI Stats and crates.io provide shorter histories than a full year.
Prompts to try with npm, PyPI and crates.io downloads in Perplexity
Copy an example into Perplexity, or ask in your own words.
Use npm, PyPI and crates.io downloads for requests and httpx on PyPI over the past month. Compare their daily patterns and weekly totals.
Use npm, PyPI and crates.io downloads to look this up and give me the result as a table.
Pull the latest numbers from npm, PyPI and crates.io downloads and tell me what changed since last week.
Check npm, PyPI and crates.io downloads and summarize what you find in three bullet points.
Pull the newest data from npm, PyPI and crates.io downloads and give me the result as a table.
How to set up npm, PyPI and crates.io downloads in Perplexity
Pick the way that suits you. Each takes about two minutes.
Use the Perplexity connector
- Add a remote connector
In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.
Use the Spiral skill
- Send Perplexity 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 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 npm, PyPI and crates.io downloads
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": "package-registry-metadata-download-stats/packages/downloads", "input": { "name": "<name>", "registry": "npm" } }'
Then paste one of the prompts above: Perplexity finds npm, PyPI and crates.io downloads on Spiral, shows the price and runs it.
npm, PyPI and crates.io downloads providers and prices
Spiral runs npm, PyPI and crates.io downloads through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Perplexity for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Registry | npm, pypi, or crates | npm, pypi or crates. Maven Central publishes no download statistics, so maven is refused here. | |
| Period | last-week, last-month, or last-year | last-month | How many trailing days to return: last-week (7), last-month (30) or last-year (365, capped by what the source keeps: pypistats ~180 days, crates.io 90). |
Every API field of Package registries · Daily downloads is on its tool page: open its card above.
What can you do with npm, PyPI and crates.io downloads in Perplexity?
Compare public packages in a table with dated evidence for a library decision. A chat app can explain registry metadata, release activity, downloads, or public dependent counts without treating those measures as interchangeable.
Compare library candidates
Review axios and got on npm using current package details, release histories, daily downloads, and version-specific dependent counts. Keep download activity and public package adoption as separate columns.
Prepare a support retirement review
For an older release of requests, assemble its publication date and deprecation status, public dependent counts, current package record, and recent package download trend. Use the evidence to frame a support discussion.
Prepare an open-source funding brief
Build a review of serde or tokio with project links, release cadence, download activity, and public dependent counts. Give reviewers concrete evidence for choosing projects to support.
Review activity around a release
Place a package's release dates beside daily downloads, its current record, and dependent counts for selected versions. Report changes around the release without attributing package-wide downloads to that version.
Investigate download spikes
Compare daily downloads for pandas with its publication timeline to identify spikes that coincide with releases and spikes that need another explanation.
More on npm, PyPI and crates.io downloads and Perplexity
Overview
npm, PyPI and crates.io downloads in other agents
Questions about npm, PyPI and crates.io downloads in Perplexity
Can Perplexity use npm, PyPI and crates.io downloads?
Yes. Add Spiral to Perplexity as an MCP server, and Perplexity can find and run npm, PyPI and crates.io downloads like any built-in tool.
How much does npm, PyPI and crates.io downloads cost in Perplexity?
$0.001746 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Perplexity plan is separate.
Do I need an Alexandria account to use npm, PyPI and crates.io downloads in Perplexity?
No. Spiral runs npm, PyPI and crates.io downloads on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up npm, PyPI and crates.io downloads in Perplexity?
About two minutes: add a remote connector, then sign in to Spiral and approve.
Does Perplexity wait while npm, PyPI and crates.io downloads runs?
npm, PyPI and crates.io downloads runs in the background. Perplexity starts the run, checks on it and gives you the json when it's ready.
Does the data include private package usage?
deps.dev counts only public dependents. Its counts describe the visible package ecosystem, so they cannot establish how many private applications use a package.
How quickly does package data update?
deps.dev says commonly used packages are usually current within about an hour, while inactive packages can have older data. npm processes download logs once daily shortly after midnight UTC.
Are package publication dates always available?
No. deps.dev returns publication timestamps when they are available from the package registry.
What does the default release mean?
In deps.dev, it identifies the release installed when no version is specified. Use that flag when your question concerns the default installation.
Can the release history identify deprecated versions?
deps.dev version records include a deprecation flag. That identifies a release marked as deprecated, rather than establishing whether every older release should be replaced.
Start using npm, PyPI and crates.io downloads in Perplexity
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Perplexity:
set up https://spiral.ai/SKILL.md


