How to Use IEA energy statistics in OpenClaw
Returns IEA energy observations with reporting periods, values, units, and source references. Use it to calculate country trends or compare electricity generation, energy consumption, and fuel combustion emissions.
Prompts to try with IEA energy statistics in OpenClaw
Copy an example into OpenClaw, or ask in your own words.
Each month, use IEA energy statistics to summarize the newest available wind, solar, nuclear, and hydro generation for France, comparing each figure with the same month a year earlier.
Each month, use IEA energy statistics to compare Norway's newly available hydro generation with the same month a year earlier and summarize the change in reported output.
Every Monday at 9am: use IEA energy statistics to look this up and give me the result as a table.
Pull the latest numbers from IEA energy statistics and tell me what changed since last week.
Check IEA energy statistics and summarize what you find in three bullet points.
How to set up IEA energy statistics in OpenClaw
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send OpenClaw 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 Spiral's MCP server
- Add the server
On the machine that runs OpenClaw's Gateway:
openclaw mcp add spiral \ --url https://api.spiral.ai/mcp \ --transport streamable-http \ --auth oauth
- Sign in
In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.
openclaw mcp login spiral
- Reload and check
A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.
openclaw mcp reload openclaw mcp doctor spiral --probe
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 IEA energy statistics
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": "iea-org/energy/data", "input": { "countries": [ "<countries>" ], "dataset_id": "<dataset_id>" } }'
Then paste one of the prompts above: OpenClaw finds IEA energy statistics on Spiral, shows the price and runs it.
IEA energy statistics providers and prices
Spiral runs IEA energy statistics through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask OpenClaw for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Year to | 1960 to 2100 | year_to | |
| Frequency | A or M | Must match the dataset (annual highlights: A; monthly electricity statistics and monthly oil prices: M). | |
| Page size | 1 to 1000 | 20 | page_size |
| Year from | 1960 to 2100 | year_from |
Every API field of IEA · Data is on its tool page: open its card above.
What can you do with IEA energy statistics in OpenClaw?
Maintain a recurring electricity briefing for a country watchlist using IEA's monthly series. Check available reporting periods before refreshing the comparison and summarize newly available observations.
Compare national electricity mixes
Find an electricity dataset, check its available years, resolve France and Germany, and compare generation by source over a shared reporting window.
Build an energy consumption benchmark
Identify the relevant energy balance series, verify country coverage and history, and compare total final consumption for Japan, Germany, and France using the returned units.
Prepare a monthly electricity briefing
Resolve the countries in a European market watchlist, confirm the latest available period, and summarize changes in wind, solar, hydro, and nuclear generation.
Compare fuel combustion emissions
Find the emissions dataset and its reporting window, match France and Germany to IEA country codes, and compare reported emissions by sector.
Check a hydro generation shortfall
Check Norway's monthly electricity coverage, retrieve hydro generation for matching months across two years, and calculate the change in reported output.
More on IEA energy statistics and OpenClaw
Overview
IEA energy statistics in other agents
Questions about IEA energy statistics in OpenClaw
Can OpenClaw use IEA energy statistics?
Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run IEA energy statistics like any built-in tool.
How much does IEA energy statistics cost in OpenClaw?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your OpenClaw plan is separate.
Do I need an Alexandria account to use IEA energy statistics in OpenClaw?
No. Spiral runs IEA energy statistics on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up IEA energy statistics in OpenClaw?
About two minutes: add the server, then sign in, then reload and check.
Does OpenClaw wait while IEA energy statistics runs?
IEA energy statistics runs in the background. OpenClaw starts the run, checks on it and gives you the json when it's ready.
Does every IEA dataset cover the same countries?
No. The Energy Statistics Data Browser covers over 170 countries and regions, while Monthly Electricity Statistics advertises 47 countries. Check coverage for the dataset you intend to use.
How often does IEA monthly electricity data change?
Monthly Electricity Statistics is updated monthly. Use the dataset details lookup to check current availability, since the catalog's update date is not populated.
How far back does monthly electricity history go?
Coverage generally starts in January 2010 for OECD countries and January 2015 for non-OECD countries. Confirm the available years for the specific dataset before choosing a comparison period.
Can I retrieve a large historical table in one extraction?
Observation pagination stops at an offset of 200,000. Divide broad requests into smaller country or year ranges before reaching that boundary.
Start using IEA energy statistics in OpenClaw
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into OpenClaw:
set up https://spiral.ai/SKILL.md


