How to Use State Department travel advisories in Windsurf
Returns destination advisories with risk levels, advice, dates, and source links. Use it to compare destinations or build a travel risk watchlist.
Prompts to try with State Department travel advisories in Windsurf
Copy an example into Windsurf, or ask in your own words.
Use State Department travel advisories to fetch Germany and Japan, then add a comparison table to this project's travel page with each destination's rating, advice, dates, and source link.
Use State Department travel advisories to build a current destination risk table for this project, keeping the published advice and source links beside each rating.
Use State Department travel advisories to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from State Department travel advisories and tell me what changed since last week.
Check State Department travel advisories and summarize what you find in three bullet points.
How to set up State Department travel advisories 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 State Department travel advisories
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": "travel-state-gov/travel-advisories/advisories", "input": { "level": 1 } }'
Then paste one of the prompts above: Windsurf finds State Department travel advisories on Spiral, shows the price and runs it.
State Department travel advisories providers and prices
Spiral runs State Department travel advisories through Alexandria. Open a card for today's price, with every fee included.
$0.00873 per call.
Settings you can ask for
Ask Windsurf for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Level | 1 to 4 | Keep only advisories at this level: 1 exercise normal precautions, 2 exercise increased caution, 3 reconsider travel, 4 do not travel. |
Every API field of U.S. State Department Travel Advisories (travel.state.gov) · Advisories is on its tool page: open its card above.
What can you do with State Department travel advisories in Windsurf?
Add State Department destination advice to a travel planning app, with the risk explanation beside practical country guidance. A coding agent can turn the returned levels, narrative advice, dates, and embassy information into readable destination pages.
Business trip review
Prepare a Germany travel review with the current advisory, the reasons behind it, and a separate checklist of entry requirements and embassy contacts.
Study abroad destination brief
Compare Japan and Germany for a university program, then prepare destination briefs that separate advisory risks from entry rules, health guidance, and local laws.
Tour itinerary review
Review a Türkiye itinerary using the country rating, warnings for specific areas, and transportation guidance. Identify itinerary stops that need a closer review.
Destination briefing updates
Maintain travel briefings for Germany, Japan, and Türkiye. Compare each new retrieval with the previous one and flag changes to advisory advice or practical destination guidance.
Travel risk desk digest
Create a digest of destinations carrying the strongest travel warnings, with advisory dates and summaries explaining the reasons for each rating.
More on State Department travel advisories and Windsurf
Overview
State Department travel advisories in other agents
Questions about State Department travel advisories in Windsurf
Can Windsurf use State Department travel advisories?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run State Department travel advisories like any built-in tool.
How much does State Department travel advisories 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 State Department travel advisories in Windsurf?
No. Spiral runs State Department travel advisories on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up State Department travel advisories in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while State Department travel advisories runs?
State Department travel advisories runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.
How broad is the State Department's advisory coverage?
The State Department issues an overall advisory for every country, using a scale from 1 through 4. That describes the source's coverage; it does not establish a fixed number of returned records.
How often are travel advisories reviewed?
Level 1 and 2 advisories are reviewed every 12 months. Level 3 and 4 advisories are reviewed at least every six months.
Whose travel needs does this information address?
The Consular Information Program provides advice for U.S. citizens overseas. Its published information includes travel advisories, alerts, and country information pages.
Does one country rating describe every region?
Regional warnings can be stricter than the overall rating. For example, Türkiye's advisory warns against travel within 10 kilometers of its borders with Syria or Iraq.
What practical information accompanies the risk advice?
Country information covers entry requirements, safety, local laws, health, transportation, and embassy contacts. These subjects support departure planning beyond the four-level advisory scale.
Start using State Department travel advisories 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


