[Integrations](https://spiral.ai/integrations) › [Gemini](https://spiral.ai/integrations/gemini) › [OECD dataset structure](https://spiral.ai/integrations/gemini/oecd-dataset-structure)

# How to Use OECD dataset structure in Gemini

Returns an OECD dataset's dimensions and codes with available data. Use it to identify valid country, frequency, and measure combinations before requesting observations.

|  |  |
| --- | --- |
| Model | OECD dataset structure |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with OECD dataset structure in Gemini

- Use OECD dataset structure to show which measures and reporting frequencies are available for comparing tax revenue in Canada and France.
- Use OECD dataset structure to look this up and give me the result as a table.
- Pull the latest numbers from OECD dataset structure and tell me what changed since last week.
- Check OECD dataset structure and summarize what you find in three bullet points.
- Pull the newest data from OECD dataset structure and give me the result as a table.

## How to set up OECD dataset structure in Gemini

Pick the way that suits you. Each takes about two minutes.

### Use the Gemini connector

1. **Open Connected Apps**: On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

2. **Add Spiral as a custom app**: Under Custom apps, click Add a custom app and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

3. **Sign in to Spiral and approve**: Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Gemini this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run OECD dataset structure**: One request; the result comes back by polling or a webhook.

```bash
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": "sdmx-oecd-org/datasets/structure_get",
    "input": {
      "dataflow": "<dataflow>"
    }
  }'
```

Then paste one of the prompts above: Gemini finds OECD dataset structure on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini

## OECD dataset structure tools and prices

- [OECD Data Explorer SDMX API · Structure get](https://spiral.ai/tools/alexandria/sdmx-oecd-org/datasets/structure_get) (Alexandria): $0.00873 per call.

## What can you do with OECD dataset structure in Gemini?

Prepare an OECD country comparison that explains what the selected statistics measure. A chat app can find relevant datasets, explain their classifications, and use available observations to answer a focused economic or policy question.

### Compare tax revenue across countries

Prepare a Canada, France, and Germany comparison: find the relevant dataset, inspect its dimensions, decode classifications, and retrieve matching observations. Check update status before refreshing the comparison and recheck individual figures selected for the report.

### Maintain a trade briefing

Build a recurring United States and Japan trade briefing. Locate the dataset, check its definitions and classifications, retrieve comparable periods, inspect update status on later runs, and verify the observations quoted in the briefing.

### Review social expenditure trends

Prepare a Sweden and Canada social expenditure comparison. Find the dataset, inspect available measures, explain classification labels, retrieve matching observations, check for updates, and recheck the figures used in the final table.

### Refresh the evidence behind a policy report

Revisit OECD evidence used in a report on Australia and New Zealand. Confirm the dataset reference and structure, resolve classification labels, check update status, refresh the selected observations, and verify each headline figure individually.

### Create a readable statistical dictionary

Document the dimensions and classification labels behind an OECD analysis so readers can understand the country, sector, and measure codes used in its tables.

### Check coverage before commissioning an analysis

Find candidate OECD datasets for a Mexico, Brazil, and Chile comparison. Inspect their structures and available codes to determine which requested measures can support the comparison.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Gemini guides](https://spiral.ai/integrations/gemini)

## OECD dataset structure in other agents

- [Amp](https://spiral.ai/integrations/amp/oecd-dataset-structure)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/oecd-dataset-structure)
- [Claude](https://spiral.ai/integrations/claude-desktop/oecd-dataset-structure)
- [Claude Code](https://spiral.ai/integrations/claude-code/oecd-dataset-structure)
- [Cline](https://spiral.ai/integrations/cline/oecd-dataset-structure)
- [Codex](https://spiral.ai/integrations/codex/oecd-dataset-structure)
- [Cursor](https://spiral.ai/integrations/cursor/oecd-dataset-structure)
- [Devin](https://spiral.ai/integrations/devin/oecd-dataset-structure)
- [dots](https://spiral.ai/integrations/dots/oecd-dataset-structure)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/oecd-dataset-structure)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/oecd-dataset-structure)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/oecd-dataset-structure)
- [goose](https://spiral.ai/integrations/goose/oecd-dataset-structure)
- [Grok](https://spiral.ai/integrations/grok/oecd-dataset-structure)
- [Grok Build](https://spiral.ai/integrations/grok-build/oecd-dataset-structure)
- [Hermes](https://spiral.ai/integrations/hermes/oecd-dataset-structure)
- [Instinct](https://spiral.ai/integrations/instinct/oecd-dataset-structure)
- [Manus](https://spiral.ai/integrations/manus/oecd-dataset-structure)
- [Muse](https://spiral.ai/integrations/muse/oecd-dataset-structure)
- [Muse Code](https://spiral.ai/integrations/muse-code/oecd-dataset-structure)
- [n8n](https://spiral.ai/integrations/n8n/oecd-dataset-structure)
- [Notion](https://spiral.ai/integrations/notion/oecd-dataset-structure)
- [OpenClaw](https://spiral.ai/integrations/openclaw/oecd-dataset-structure)
- [opencode](https://spiral.ai/integrations/opencode/oecd-dataset-structure)
- [Perplexity](https://spiral.ai/integrations/perplexity/oecd-dataset-structure)
- [Raycast](https://spiral.ai/integrations/raycast/oecd-dataset-structure)
- [VS Code](https://spiral.ai/integrations/vscode/oecd-dataset-structure)
- [Windsurf](https://spiral.ai/integrations/windsurf/oecd-dataset-structure)
- [Zapier](https://spiral.ai/integrations/zapier/oecd-dataset-structure)

## More Gemini guides

- [OECD dataset catalog](https://spiral.ai/integrations/gemini/oecd-dataset-catalog)
- [OECD dataset update status](https://spiral.ai/integrations/gemini/oecd-dataset-update-status)
- [OECD code labels](https://spiral.ai/integrations/gemini/oecd-code-labels)
- [OECD observation lookup](https://spiral.ai/integrations/gemini/oecd-observation-lookup)
- [Nasdaq topic news](https://spiral.ai/integrations/gemini/nasdaq-topic-news)
- [OECD statistical observations](https://spiral.ai/integrations/gemini/oecd-statistical-observations)

## Questions about OECD dataset structure in Gemini

**Can Gemini use OECD dataset structure?**

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run OECD dataset structure like any built-in tool.

**How much does OECD dataset structure cost in Gemini?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini plan is separate.

**Do I need an Alexandria account to use OECD dataset structure in Gemini?**

No. Spiral runs OECD 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 OECD dataset structure in Gemini?**

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

**Does Gemini wait while OECD dataset structure runs?**

OECD dataset structure runs in the background. Gemini starts the run, checks on it and gives you the json when it's ready.

**Does OECD data cover every country?**

Coverage includes OECD countries and selected economies outside the OECD. Availability also depends on the dataset and the particular country, measure, and period combination.

**How often does OECD data change?**

Many datasets update annually, some monthly, and a few short-term economic datasets daily. OECD does not apply one update schedule to all its statistics.

**Why can an OECD country or measure have no results?**

OECD may have no observations for the selected combination of country, measure, and period. A country appearing elsewhere in the source does not establish coverage for that combination.

**What download limit does OECD impose?**

OECD currently permits 60 data downloads per hour and temporarily blocks requests above that limit. The restriction also covers CSV downloads from its browser interface.

**Can an OECD dataset change its structure?**

Yes. New dataflow versions can add, remove, or rename dimensions, so an older selection can require changes before it works with the new structure.

