How to Use PyPI package details in Windsurf
Returns a package's latest metadata, declared dependencies, Python requirements, release list, and reported vulnerabilities. Use it for an initial package review before examining a specific version.
Prompts to try with PyPI package details in Windsurf
Copy an example into Windsurf, or ask in your own words.
Use PyPI package details for requests and compare its declared Python requirement with this project's pyproject.toml. Explain any mismatch.
Use PyPI package details to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from PyPI package details and tell me what changed since last week.
Check PyPI package details and summarize what you find in three bullet points.
Pull the newest data from PyPI package details and give me the result as a table.
How to set up PyPI package details in Windsurf
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - Sign in
Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.
devin mcp login spiral
- Check it
Spiral is listed under This computer in Customize › MCPs. From the terminal:
devin mcp list
Use the Spiral skill
- Send Windsurf 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 PyPI package details
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/project", "input": { "url": "<url>" } }'
Then paste one of the prompts above: Windsurf finds PyPI package details on Spiral, shows the price and runs it.
PyPI package details providers and prices
Spiral runs PyPI package details through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Windsurf for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Include description | on or off | Also return the long description (README, often tens of KB). |
Every API field of PyPI · Project is on its tool page: open its card above.
What can you do with PyPI package details in Windsurf?
Build a package review report beside your dependency files using PyPI release metadata, artifact hashes, and publishing evidence. For registry tooling, use change events, publisher project lists, and storage totals to test ingestion and scope.
Review a dependency upgrade
Compare current package metadata with a proposed release, check available artifacts, inspect their provenance, and use recent release entries to organize the review.
Build a publishing portfolio inventory
Start with a public publishing account's project roles, then attach package descriptions, exact-release records, recent activity, and available file provenance to each project.
Prepare an ecosystem briefing
Combine newly created projects and release entries with package descriptions. Add a public publisher's portfolio and storage totals to explain publishing activity and repository scale.
Check a package data pipeline
Validate that ingestion keeps project records, exact releases, and file inventories separate. Check storage units and ranking limits, and confirm provenance stays attached to the correct artifact.
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.
Prepare an artifact approval record
Record the selected release's files and hashes, attach available publisher attestations, and compare the package's current metadata. Use recent releases to identify the next version requiring review.
More on PyPI package details and Windsurf
Overview
PyPI package details in other agents
Questions about PyPI package details in Windsurf
Can Windsurf use PyPI package details?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run PyPI package details like any built-in tool.
How much does PyPI package details cost in Windsurf?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.
Do I need an Alexandria account to use PyPI package details in Windsurf?
No. Spiral runs PyPI package details on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up PyPI package details in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while PyPI package details runs?
PyPI package details runs in the background. Windsurf 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 details in Windsurf
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Windsurf:
set up https://spiral.ai/SKILL.md


