How to Use IMF dataset structure in Windsurf
Returns the dimensions, concepts, and codes that describe an IMF dataset. Use it to understand a series and check available country, indicator, and frequency combinations before retrieving figures.
Prompts to try with IMF dataset structure in Windsurf
Copy an example into Windsurf, or ask in your own words.
Use IMF dataset structure to inspect WEO dimensions and indicator definitions, then document how this project's country comparison should identify its series.
Use IMF dataset structure to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from IMF dataset structure and tell me what changed since last week.
Check IMF dataset structure and summarize what you find in three bullet points.
Pull the newest data from IMF dataset structure and give me the result as a table.
How to set up IMF dataset structure 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 IMF dataset structure
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": "data-imf-org/datasets/structure", "input": { "dataflow_id": "<dataflow_id>" } }'
Then paste one of the prompts above: Windsurf finds IMF dataset structure on Spiral, shows the price and runs it.
IMF dataset structure providers and prices
Spiral runs IMF dataset structure through Alexandria. Open a card for today's price, with every fee included.
What can you do with IMF dataset structure in Windsurf?
Build a country comparison table with IMF series definitions beside the figures. A coding agent can turn dataset discovery, metadata, observations, or WEO projections into documented inputs for your project's analysis.
Country growth comparison
Find the relevant IMF datasets, inspect their series definitions, and compare annual growth figures for the United States, Germany, and Japan. Add WEO projections from a single edition to extend the comparison.
Inflation research brief
Identify IMF inflation datasets and their available series, retrieve historical observations, and add WEO inflation projections for Brazil and Mexico. Label the historical measures and projected measures separately.
Fiscal comparison for a budget review
Locate fiscal datasets and inspect definitions before comparing government indicators for France, Italy, and Spain. Retrieve historical values and WEO projections for the measures available across all three countries.
External balance briefing
Find balance-of-payments datasets, check current-account series definitions, and retrieve historical observations for India and Indonesia. Add WEO current-account projections to show the outlook alongside the history.
Dataset coverage assessment
Search IMF sources for a proposed comparison of Canada, Australia, and Japan. Inspect their dimensions and available series, then retrieve sample observations to establish which comparisons the data supports.
WEO forecast revision review
Locate WEO releases, inspect indicator definitions, and compare US and German growth projections between the April 2025 and October 2025 editions. Show the change for the same forecast year.
More on IMF dataset structure and Windsurf
Overview
IMF dataset structure in other agents
Questions about IMF dataset structure in Windsurf
Can Windsurf use IMF dataset structure?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run IMF dataset structure like any built-in tool.
How much does IMF dataset structure 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 IMF dataset structure in Windsurf?
No. Spiral runs IMF dataset structure on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up IMF dataset structure in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while IMF dataset structure runs?
IMF dataset structure runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.
How often does IMF update WEO?
The full WEO database is published twice a year, in April and October. Use its edition to identify the forecast exercise behind the figures.
How far back does WEO go, and how far ahead does it forecast?
WEO history starts in 1980. Many indicators and country groups have five-year forecasts, while some have only two forecast years.
Does every country have a complete WEO history?
No. Some countries have incomplete or unavailable observations for certain years, so a country comparison may have gaps even within WEO's coverage period.
What economic subjects does WEO cover?
WEO includes national accounts, inflation, unemployment, balance of payments, fiscal indicators, and trade. It provides country figures and country-group aggregates.
Why can valid IMF codes still return no observations?
SDMX datasets need not contain every possible combination of dimension codes. Availability constraints identify which combinations are present, so valid country and indicator codes alone do not establish coverage.
Start using IMF dataset structure 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


