How to Use NASA Exoplanet Archive planet details in Windsurf
Returns physical and orbital data for a named exoplanet from the NASA Exoplanet Archive. Use it to check a specific world, such as Kepler-186 f, when you already know its name.
Prompts to try with NASA Exoplanet Archive planet details in Windsurf
Copy an example into Windsurf, or ask in your own words.
Use NASA Exoplanet Archive planet details for Kepler-186 f and add its returned radius and orbital period to the astronomy example in this project's documentation.
Use NASA Exoplanet Archive planet details for 51 Peg b and update this project's example data with the returned mass and orbital period, preserving the mass type if supplied.
Use NASA Exoplanet Archive planet details to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from NASA Exoplanet Archive planet details and tell me what changed since last week.
Check NASA Exoplanet Archive planet details and summarize what you find in three bullet points.
How to set up NASA Exoplanet Archive planet 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 NASA Exoplanet Archive planet 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": "exoplanetarchive-ipac-caltech-edu/exoplanets/get_planet", "input": { "name": "<name>" } }'
Then paste one of the prompts above: Windsurf finds NASA Exoplanet Archive planet details on Spiral, shows the price and runs it.
NASA Exoplanet Archive planet details providers and prices
Spiral runs NASA Exoplanet Archive planet details through Alexandria. Open a card for today's price, with every fee included.
What can you do with NASA Exoplanet Archive planet details in Windsurf?
Build an exoplanet comparison table in your project using archive masses, radii, and orbital data. A coding agent can turn planet lookups, system records, or search results into labeled views and calculations.
Check an astronomy article
Check a named planet's reported properties, compare it with the other planets around its host star, and find a comparison sample before describing it as unusually small or massive.
Build a classroom comparison
Prepare a lesson around Kepler-186 f, the Kepler-186 system, or a sample of similarly sized planets. Compare returned radii and orbital periods in a table students can read.
Refresh a planetarium script
Replace old planet measurements in a script with current archive values. Check a featured world, review its host system, or choose examples from a nearby-planet search.
Maintain an exoplanet reference app
Populate planet detail views, system comparison tables, and filtered browsing results. Keep Earth-radius units visible and distinguish minimum masses wherever the returned data identifies them.
Find comparisons for a featured planet
Start with a world such as Kepler-186 f, then search for planets in a similar radius range. Use the returned measurements to explain what the examples share.
More on NASA Exoplanet Archive planet details and Windsurf
Overview
NASA Exoplanet Archive planet details in other agents
Questions about NASA Exoplanet Archive planet details in Windsurf
Can Windsurf use NASA Exoplanet Archive planet details?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run NASA Exoplanet Archive planet details like any built-in tool.
How much does NASA Exoplanet Archive planet 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 NASA Exoplanet Archive planet details in Windsurf?
No. Spiral runs NASA Exoplanet Archive planet 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 NASA Exoplanet Archive planet details in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while NASA Exoplanet Archive planet details runs?
NASA Exoplanet Archive planet details runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.
How fresh are the planet and star measurements?
The archive generally adds new planets and updated planetary and stellar data weekly. It sometimes skips a week, so updates do not follow a guaranteed seven-day schedule.
What mass range does the archive classify as planetary?
Its inclusion criteria require a mass, or minimum mass, of no more than 30 Jupiter masses. That boundary helps explain why an object described as a planet elsewhere might be absent.
Where do the measurements come from?
The archive collects parameter sets for planets, their orbits, and their host systems from refereed literature. These are published scientific results rather than a continuous stream of telescope measurements.
Can all values in a planet record be used together in a physical model?
Use caution with composite data: the archive combines values from different references to fill gaps, and the resulting parameter set may not be internally consistent. Its documentation recommends the Planetary Systems table when a self-consistent published solution is needed.
Does a reported planet mass always mean its true mass?
No. The archive distinguishes true mass from the minimum mass measured through radial velocity, expressed as mass times the sine of orbital inclination. Keep that distinction when comparing planets by mass.
Start using NASA Exoplanet Archive planet 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


