[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [UN Tourism statistical files](https://spiral.ai/integrations/gemini-cli/un-tourism-statistical-files)

# How to Use UN Tourism statistical files in Gemini CLI

Finds the source files behind UN Tourism statistics, including arrivals, spending, domestic travel, accommodation, employment, and tourism GDP. Use it to locate the published workbooks behind a research question.

|  |  |
| --- | --- |
| Model | UN Tourism statistical files |
| Available through | Alexandria |
| Category | Maps & Reviews |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with UN Tourism statistical files in Gemini CLI

- Use UN Tourism statistical files to locate the inbound arrivals and expenditure workbooks for a Spain tourism study. Add the source references to this project's data documentation.
- Use UN Tourism statistical files to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from UN Tourism statistical files and tell me what changed since last week.
- Check UN Tourism statistical files and summarize what you find in three bullet points.
- Pull the newest data from UN Tourism statistical files and give me the result as a table.

## How to set up UN Tourism statistical files in Gemini CLI

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

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI 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 UN Tourism statistical files**: 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": "untourism-int/statistics/files",
    "input": {
      "file_ids": [
        "<file_ids>"
      ]
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds UN Tourism statistical files on Spiral, shows the price and runs it.

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

## UN Tourism statistical files tools and prices

- [UN Tourism · Files](https://spiral.ai/tools/alexandria/untourism-int/statistics/files) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| file_ids |  | — | Restrict to these file ids. Omit for all files. |
| series_group | inbound, outbound, domestic, industries, employment, macro, null | — | Restrict to one series group. |

## What can you do with UN Tourism statistical files in Gemini CLI?

Build a country comparison table that separates overnight arrivals, day visits, and tourism spending. A coding agent can connect the project's tourism measures to UN Tourism indicators, source files, and annual observations.

### Compare destination recovery

Identify the overnight-arrivals measure, locate its source workbook, and compare Spain, France, and Italy from 2019 through the latest available common year.

### Study regional visitor demand

Find the arrivals-by-origin measure and supporting file, then compare the reported origin-region mix for Japan and Thailand.

### Separate overnight tourism from day visits

Find the overnight and same-day arrival measures, identify their published files, and examine how the two series differ for Spain and Portugal.

### Compare domestic travel patterns

Locate domestic-trip measures and workbooks, then compare overnight and same-day trips in France, Germany, and Italy for years with reported observations.

### Examine inbound and outbound spending

Identify expenditure measures and source workbooks, then compare Spain's inbound and outbound travel components without mixing them with passenger transport.

### Build a source-backed tourism research table

Match indicator definitions to published files and country-year observations for Greece, Croatia, and Portugal. Present comparable arrivals and spending measures with their reported units.

## Overview

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

## UN Tourism statistical files in other agents

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

## More Gemini CLI guides

- [UN Tourism indicator search](https://spiral.ai/integrations/gemini-cli/un-tourism-indicator-search)
- [USCG PSIX register status](https://spiral.ai/integrations/gemini-cli/uscg-psix-register-status)
- [UN Tourism country statistics](https://spiral.ai/integrations/gemini-cli/un-tourism-country-statistics)
- [USCG PSIX vessel details](https://spiral.ai/integrations/gemini-cli/uscg-psix-vessel-details)
- [U-Haul truck rental search](https://spiral.ai/integrations/gemini-cli/u-haul-truck-rental-search)
- [USCG PSIX vessel register](https://spiral.ai/integrations/gemini-cli/uscg-psix-vessel-register)

## Questions about UN Tourism statistical files in Gemini CLI

**Can Gemini CLI use UN Tourism statistical files?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run UN Tourism statistical files like any built-in tool.

**How much does UN Tourism statistical files cost in Gemini CLI?**

$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 CLI plan is separate.

**Do I need an Alexandria account to use UN Tourism statistical files in Gemini CLI?**

No. Spiral runs UN Tourism statistical files on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up UN Tourism statistical files in Gemini CLI?**

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

**Does Gemini CLI wait while UN Tourism statistical files runs?**

UN Tourism statistical files runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

**Where do UN Tourism statistics come from?**

UN Tourism collects country submissions through a questionnaire aligned with IRTS 2008. The documented observations are organized by reporting country and year.

**How current are the statistics?**

The statistics database page lists July 21, 2026, as its latest update. That date describes the database update and does not establish the latest observation year for every measure.

**Do international arrivals include day visitors?**

UN Tourism separates overnight arrivals from same-day arrivals, with a cruise-passenger breakdown. Select the overnight measure when your question concerns tourists staying at least one night.

**How detailed are the origin regions?**

The inbound arrivals page names six origin regions: Africa, Americas, East Asia and the Pacific, Europe, Middle East, and South Asia. An origin-region breakdown answers a different question from a ranking of individual origin countries.

**Are domestic trips combined with international arrivals?**

UN Tourism publishes domestic trips separately from international arrivals. Domestic trips have their own overnight and same-day breakdown.

