How to Use IEA energy dataset details in Claude Code
Returns one dataset's metadata, including a live check of available years and update information. Use it to confirm the reporting window and coverage before requesting observations.
Prompts to try with IEA energy dataset details in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use IEA energy dataset details for monthly-electricity-statistics and update this project's data availability display with the returned reporting window.
Use IEA energy dataset details to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from IEA energy dataset details and tell me what changed since last week.
Check IEA energy dataset details and summarize what you find in three bullet points.
Pull the newest data from IEA energy dataset details and give me the result as a table.
How to set up IEA energy dataset details in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code 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 IEA energy dataset details
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/dataset", "input": { "dataset_id": "<dataset_id>" } }'
Then paste one of the prompts above: Claude Code finds IEA energy dataset details on Spiral, shows the price and runs it.
IEA energy dataset details providers and prices
Spiral runs IEA energy dataset details through Alexandria. Open a card for today's price, with every fee included.
What can you do with IEA energy dataset details in Claude Code?
Build country energy comparisons into a dashboard using IEA observations and their reported units. Check dataset coverage and available years before joining the results to country records in your project.
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.
Scope an energy research project
Find datasets relevant to electricity and consumption, then compare their frequencies, available years, units, and country coverage before choosing the analysis period.
More on IEA energy dataset details and Claude Code
Overview
IEA energy dataset details in other agents
Questions about IEA energy dataset details in Claude Code
Can Claude Code use IEA energy dataset details?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run IEA energy dataset details like any built-in tool.
How much does IEA energy dataset details cost in Claude Code?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need an Alexandria account to use IEA energy dataset details in Claude Code?
No. Spiral runs IEA energy dataset details 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 dataset details in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while IEA energy dataset details runs?
IEA energy dataset details runs in the background. Claude Code 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 dataset details in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


