Spiral gives your agent every tool with one account. Browse the tools →

Gemini CLI · Finance

How to Use Xe currency profile in Gemini CLI

Get reference information about a currency from Xe's Currency Encyclopedia. Use it to explain currency names, symbols, and minor units alongside exchange-rate figures.

Prompts to try with Xe currency profile in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Use Xe currency profile for USD and add its name, symbol, and minor-unit information to my project's currency detail view.

Xe currency profileGemini CLI
Try asking
  • Use Xe currency profile to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Xe currency profile and tell me what changed since last week.

  • Check Xe currency profile and summarize what you find in three bullet points.

  • Pull the newest data from Xe currency profile and give me the result as a table.

How to set up Xe currency profile 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:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Xe currency profile

    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": "xe-com/exchange-rates/currency_profile",
        "input": {
          "currency": "<currency>"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds Xe currency profile on Spiral, shows the price and runs it.

Xe currency profile providers and prices

Spiral runs Xe currency profile through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
XE currency data · Currency profile
xe-com/exchange-rates/currency_profile

What can you do with Xe currency profile in Gemini CLI?

Build a currency research view with recognizable currency labels and Xe exchange-rate context. Coding agents can turn the returned data into selectors, conversion examples, comparison tables, or historical charts in your project.

Compare a multicountry travel budget

Identify CAD, EUR, and JPY by name and symbol, then compare their current USD equivalents and convert sample travel expenses.

Prepare a currency market briefing

Where licensed, identify the currencies in a USD, EUR, GBP, and JPY watchlist, explain their reference details, compare current and past rates, and illustrate the effect on a sample amount.

Study how currency pairs work

Build a personal study notebook that matches currency names to codes and symbols, converts example amounts, and charts how USD/EUR has changed.

Understand an archived market report

Resolve the currency codes in an old report, read their profiles, and compare its publication-date exchange rates with the surrounding historical trend.

Plan a store's currency display

Where licensed, use currency names and symbols to label a store's supported markets, compare current reference rates, and check converted sample amounts before implementation.

Compare month-end currency snapshots

Where licensed, label currencies consistently in an analytical workbook, compare selected month-end tables, and use pair histories to explain movements between snapshots.

Build a currency research application

Where licensed, combine a currency directory and profiles with amount conversion, current comparison tables, dated snapshots, and historical charts.

Questions about Xe currency profile in Gemini CLI

Can Gemini CLI use Xe currency profile?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Xe currency profile like any built-in tool.

How much does Xe currency profile 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 Xe currency profile in Gemini CLI?

No. Spiral runs Xe currency profile on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Xe currency profile in Gemini CLI?

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

Does Gemini CLI wait while Xe currency profile runs?

Xe currency profile runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

How many currencies does Xe cover?

Xe says its converter covers more than 170 currencies. That is source coverage, rather than a promise that every currency has the same historical depth.

How fresh are Xe's current rates?

Xe describes its converter rates as up to the minute. This describes the source display and does not establish a separate refresh guarantee for these endpoints.

Will a transfer use the exchange rate shown by Xe?

Xe's converter shows a mid-market reference rate. Its money-transfer send rate is different and includes a margin.

How far back do Xe's currency charts go?

Xe offers chart periods of up to 10 years using mid-market rates. Its historical tables provide a separate view organized around a base currency and a past date.

What currency information is public on Xe?

Xe publicly lists currency codes and names in its Currency Encyclopedia. Individual profiles include reference details such as the US dollar's symbol and its cent minor unit.

Get started

Start using Xe currency profile in Gemini CLI

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini CLI:

Set up Gemini CLI

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options