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

Amp · Public Records

How to Use World Happiness Report country rankings in Amp

Returns an edition's country ranks, three-year average life evaluation scores, and explanatory factors. Use it to compare countries within the same report period.

Prompts to try with World Happiness Report country rankings in Amp

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

Use World Happiness Report country rankings to fetch Finland and Denmark's 2026 ranks and scores, then add a comparison table to my project.

World Happiness Report country rankingsAmp
Try asking
  • Use World Happiness Report country rankings to retrieve the complete 2026 ranking table and save the country names, ranks, and scores as a CSV in my project.

  • Use World Happiness Report country rankings to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from World Happiness Report country rankings and tell me what changed since last week.

  • Check World Happiness Report country rankings and summarize what you find in three bullet points.

How to set up World Happiness Report country rankings in Amp

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

Use Spiral's MCP server

  1. Add the server

    No header and no client ID or secret: Amp registers itself with Spiral.

    amp mcp add spiral https://api.spiral.ai/mcp
  2. Sign in

    Start amp. Amp opens Spiral's sign-in page in your browser: sign in, pick the organization and click Authorize. No API key.

  3. Check it
    amp mcp doctor

Use the Spiral skill

  1. Send Amp 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 World Happiness Report country rankings

    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": "worldhappiness-report/happiness/rankings",
        "input": {
          "cursor": "<cursor>"
        }
      }'

Then paste one of the prompts above: Amp finds World Happiness Report country rankings on Spiral, shows the price and runs it.

World Happiness Report country rankings providers and prices

Spiral runs World Happiness Report country rankings through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
World Happiness Report · Rankings
worldhappiness-report/happiness/rankings

Settings you can ask for

Ask Amp for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Edition2013 to 2031

Report year (2013–2026 published). Required unless cursor is given.

Page size1 to 5020

page_size

Include factorson or off

false skips the per-country detail calls (faster; explained_by and factors are null).

Every API field of World Happiness Report · Rankings is on its tool page: open its card above.

What can you do with World Happiness Report country rankings in Amp?

Build a country comparison page with geography codes, happiness scores, and report citations. A coding agent can turn the returned records into tables, maps, and annual history charts in your project.

Country comparison brief

Compare Finland and Denmark using report-period scores and annual histories. Match their geography codes and attach the edition's citation and appendix links.

Happiness map with country histories

Prepare country labels and codes for a map, add a selected edition's rankings, and show annual histories when readers select a country. Include links to the original report data.

Report update briefing

Check for changes in available editions, geography listings, ranking tables, and annual indicators. Produce a briefing that identifies what changed and links to the supporting appendices.

Classroom comparison worksheet

Build a worksheet comparing Canada, Australia, and New Zealand. Include geography identifiers, report rankings, annual score tables, and source downloads for students to inspect.

Published ranking fact-check

Check claims about countries' positions in the 2026 report against its ranking table. Confirm geography names and locate the original download and citation.

Questions about World Happiness Report country rankings in Amp

Can Amp use World Happiness Report country rankings?

Yes. Add Spiral to Amp as an MCP server, and Amp can find and run World Happiness Report country rankings like any built-in tool.

How much does World Happiness Report country rankings cost in Amp?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Amp plan is separate.

Do I need an Alexandria account to use World Happiness Report country rankings in Amp?

No. Spiral runs World Happiness Report country rankings on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up World Happiness Report country rankings in Amp?

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

Does Amp wait while World Happiness Report country rankings runs?

World Happiness Report country rankings runs in the background. Amp starts the run, checks on it and gives you the json when it's ready.

What does a happiness score measure?

It measures how people evaluate their lives on a scale from 0 to 10, where 0 means the worst possible life and 10 means the best. The country score summarizes those self-assessments.

How recent are the report's rankings?

The 2026 rankings combine survey responses from 2023 through 2025. Read the report year separately from the years measured.

Does the report cover every country?

The 2026 rankings cover 147 countries, compared with 156 in 2013. Coverage changes between editions, so a ranking table is not a fixed worldwide census.

How far back does the underlying data go?

The 2026 statistical appendix describes life evaluation data covering 2005/06 through 2025. Countries and territories do not have observations in every year.

How precise are country ranking positions?

The report publishes 95% confidence intervals for each country's rank. Use those intervals in the original report to assess the uncertainty around a position.

Get started

Start using World Happiness Report country rankings in Amp

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

Paste this into Amp:

Set up Amp

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