[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Eurostat city purchasing power parities](https://spiral.ai/integrations/opencode/eurostat-city-purchasing-power-parities)

# How to Use Eurostat city purchasing power parities in opencode

Returns half-year purchasing power parities for EU capitals and duty stations, with Brussels set to 1. Use it for city comparisons based on the EU officials’ consumption basket, including or excluding rents.

|  |  |
| --- | --- |
| Model | Eurostat city purchasing power parities |
| 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 Eurostat city purchasing power parities in opencode

- Use Eurostat city purchasing power parities to fetch Berlin and Paris for both halves of 2025, including rents, and create a table labeled Brussels=1.
- Use Eurostat city purchasing power parities to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Eurostat city purchasing power parities and tell me what changed since last week.
- Check Eurostat city purchasing power parities and summarize what you find in three bullet points.
- Pull the newest data from Eurostat city purchasing power parities and give me the result as a table.

## How to set up Eurostat city purchasing power parities in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 Eurostat city purchasing power parities**: 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": "ec-europa-eu/indicators/city_price_parities",
    "input": {
      "since": "<since>"
    }
  }'
```

Then paste one of the prompts above: opencode finds Eurostat city purchasing power parities on Spiral, shows the price and runs it.

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

## Eurostat city purchasing power parities tools and prices

- [Eurostat (ec.europa.eu) · City price parities](https://spiral.ai/tools/alexandria/ec-europa-eu/indicators/city_price_parities) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| since |  | — | First half-year period to include (2025-S1). Pattern: ^[0-9]{4}-S[12]$. |
| until |  | — | Pattern: ^[0-9]{4}-S[12]$. |
| cities |  | — | geo codes of the dataset (BE_CAP, DE_CAP, FR_CAP, ...). Omit for all cities. |
| coicop | TOTAL, TOT_X_CP041_042 | TOTAL | TOTAL or TOT_X_CP041_042 (total except actual rents). |

## What can you do with Eurostat city purchasing power parities in opencode?

Build a European comparison table that keeps country price indices and city purchasing power parities on clearly labeled scales. A coding agent can inspect Eurostat’s dimensions and turn selected observations into charts in your project.

### Prepare an office location comparison

Build a brief for Berlin, Paris, and Madrid with national consumption price levels and separate city purchasing power comparisons. Identify the series and check their units before presenting the results.

### Write a relocation planning brief

Compare France, Germany, and Spain at the country level, then add Paris, Berlin, and Madrid using the EU officials’ city consumption basket. Explain the different populations and reference scales.

### Examine the effect of excluding rents

Compare Berlin and Paris purchasing power parities with rents included and excluded for the same half-year. Show how the published comparison changes when housing costs are treated differently.

### Check a European cost comparison before publication

Locate the cited series, inspect its definitions, and retrieve the relevant country or city observations. Check that the article distinguishes Brussels=1 city parities from EU27=100 country indices.

### Build a statistics teaching example

Use France and Germany, plus Paris and Berlin, to demonstrate dataset discovery, statistical dimensions, and reference scales. Have students explain why country price indices and city purchasing power parities answer different questions.

### Produce a revision bulletin

Recheck selected country indices and city parities against previously saved observations. Report new periods separately from changes to existing periods, since Eurostat serves the latest dataset version.

## Overview

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

## Eurostat city purchasing power parities in other agents

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

## More opencode guides

- [EODHD ticker lookup](https://spiral.ai/integrations/opencode/eodhd-ticker-lookup)
- [Eurostat country price level indices](https://spiral.ai/integrations/opencode/eurostat-country-price-level-indices)
- [EODHD stock split history](https://spiral.ai/integrations/opencode/eodhd-stock-split-history)
- [Eurostat dataset metadata](https://spiral.ai/integrations/opencode/eurostat-dataset-metadata)
- [EODHD historical prices](https://spiral.ai/integrations/opencode/eodhd-historical-prices)
- [Eurostat dataset observations](https://spiral.ai/integrations/opencode/eurostat-dataset-observations)

## Questions about Eurostat city purchasing power parities in opencode

**Can opencode use Eurostat city purchasing power parities?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Eurostat city purchasing power parities like any built-in tool.

**How much does Eurostat city purchasing power parities cost in opencode?**

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

**Do I need an Alexandria account to use Eurostat city purchasing power parities in opencode?**

No. Spiral runs Eurostat city purchasing power parities on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Eurostat city purchasing power parities in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while Eurostat city purchasing power parities runs?**

Eurostat city purchasing power parities runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**How often does Eurostat refresh its database?**

Eurostat refreshes datasets at 11:00 and 23:00 CET when new data or structural changes are available. Those refresh times do not mean every statistical series receives new observations twice daily.

**Can I retrieve the figures exactly as originally published?**

Eurostat serves the latest dataset version and does not maintain documented past versions in this database. An older reference year can therefore contain revised observations.

**How far back do detailed purchasing power comparisons go?**

All 64 analytical categories in prc_ppp_ind_1 are available from 2022 for the 36 participating countries. Earlier estimates for 1995–2021 cover GDP and its main components.

**Can I reuse Eurostat data in a commercial report?**

Eurostat generally permits commercial reuse with source acknowledgment, subject to its exceptions. Its notice excludes commercial reuse of data for countries outside the EU, EFTA, and official acceding or candidate countries, including US, Japanese, and Chinese data.

