How to Use Xe currency conversion in Google Antigravity
Get a converted amount and exchange-rate statistics for one currency pair. Use it to estimate a foreign-currency amount and put the current rate in context.
Prompts to try with Xe currency conversion in Google Antigravity
Copy an example into Google Antigravity, or ask in your own words.
Use Xe currency conversion to convert 250 EUR to USD, then add the result and available pair statistics to my project's conversion example.
Use Xe currency conversion to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Xe currency conversion and tell me what changed since last week.
Check Xe currency conversion and summarize what you find in three bullet points.
Pull the newest data from Xe currency conversion and give me the result as a table.
How to set up Xe currency conversion in Google Antigravity
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Open the MCP config
* Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit ~/.gemini/config/mcp_config.json.
- Add the server
Add Spiral under mcpServers:
{ "mcpServers": { "spiral": { "serverUrl": "https://api.spiral.ai/mcp" } } } - Sign in
In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.
Use the Spiral skill
- Send Google Antigravity 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 Xe currency conversion
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/convert", "input": { "to": "<to>", "from": "<from>" } }'
Then paste one of the prompts above: Google Antigravity finds Xe currency conversion on Spiral, shows the price and runs it.
Xe currency conversion providers and prices
Spiral runs Xe currency conversion through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Google Antigravity for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Amount | a number | Amount of |
Every API field of XE currency data · Convert is on its tool page: open its card above.
What can you do with Xe currency conversion in Google Antigravity?
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.
Explain exchange-rate changes in an invoice estimate
Where licensed, compare a EUR invoice's current USD equivalent with its value on the invoice date. Add the pair's history to show how the reference rate moved between those dates.
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.
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.
Build a currency research application
Where licensed, combine a currency directory and profiles with amount conversion, current comparison tables, dated snapshots, and historical charts.
More on Xe currency conversion and Google Antigravity
Xe currency conversion in other agents
Questions about Xe currency conversion in Google Antigravity
Can Google Antigravity use Xe currency conversion?
Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run Xe currency conversion like any built-in tool.
How much does Xe currency conversion cost in Google Antigravity?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Google Antigravity plan is separate.
Do I need an Alexandria account to use Xe currency conversion in Google Antigravity?
No. Spiral runs Xe currency conversion 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 conversion in Google Antigravity?
About two minutes: open the MCP config, then add the server, then sign in.
Does Google Antigravity wait while Xe currency conversion runs?
Xe currency conversion runs in the background. Google Antigravity 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.
Start using Xe currency conversion in Google Antigravity
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Google Antigravity:
set up https://spiral.ai/SKILL.md


