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

Gemini CLI · News & Media

How to Use NHPR latest stories in Gemini CLI

Get NHPR’s latest stories from a news section, such as politics, education, or environment. Use it for a broad reading list before narrowing your research to a topic.

Prompts to try with NHPR latest stories in Gemini CLI

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

Use NHPR latest stories to fetch recent environment coverage and build a personal reading view in this project.

NHPR latest storiesGemini CLI
Try asking
  • Use NHPR latest stories to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from NHPR latest stories and tell me what changed since last week.

  • Check NHPR latest stories and summarize what you find in three bullet points.

  • Pull the newest data from NHPR latest stories and give me the result as a table.

How to set up NHPR latest stories 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 NHPR latest stories

    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": "nhpr-org/news/latest_stories",
        "input": {
          "limit": 10
        }
      }'

Then paste one of the prompts above: Gemini CLI finds NHPR latest stories on Spiral, shows the price and runs it.

NHPR latest stories providers and prices

Spiral runs NHPR latest stories through Alexandria. Open a card for today's price, with every fee included.

AlexandriaNews & Media

Settings you can ask for

Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 1010

Stories to return, newest first (feeds carry 10).

Sectionnh-news, politics, environment, education, health, arts-culture, or noticias-en-espanolnh-news

NHPR section feed.

Every API field of NHPR New Hampshire Public Radio news and elections · Latest stories is on its tool page: open its card above.

What can you do with NHPR latest stories in Gemini CLI?

Build a personal New Hampshire news reader with links to reporting on elections, housing, and schools. A coding agent can organize NHPR results in your project and use article text to help you assess which stories belong.

Prepare a personal election reading list

Find coverage of New Hampshire's governor and congressional races, review election-tagged stories, and read the reporting behind each selection.

Research housing policy

Start with recent coverage, search for New Hampshire housing proposals, follow relevant topic tags, and examine the articles for policy details.

Follow public school funding debates

Review education coverage and search for school funding reporting. Use topic collections and full articles to separate reported proposals from decisions already made.

Build an environmental reading brief

Find recent environment reporting, investigate PFAS coverage in Merrimack, and read relevant articles alongside NHPR's topic collections.

Prepare questions for a civic discussion

Use State House reporting and election coverage to draft questions about public policy. Read the underlying articles before attributing a position to an elected official.

Questions about NHPR latest stories in Gemini CLI

Can Gemini CLI use NHPR latest stories?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run NHPR latest stories like any built-in tool.

How much does NHPR latest stories 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 NHPR latest stories in Gemini CLI?

No. Spiral runs NHPR latest stories on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up NHPR latest stories in Gemini CLI?

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

Does Gemini CLI wait while NHPR latest stories runs?

NHPR latest stories runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

Does NHPR cover only New Hampshire?

NHPR's website carries local, national, and international reporting. A story appearing on NHPR is therefore not necessarily about New Hampshire.

Is every election story written by NHPR's newsroom?

NHPR's 2026 election collection explicitly includes its politics team and news partners. The collection is broader than NHPR-authored reporting alone.

Can a published NHPR story change later?

Yes. One NHPR story notes that it was first published at 8 a.m. and updated with new information at 2:50 p.m. that day.

How does NHPR handle factual errors?

NHPR's corrections policy calls for timely correction of substantive factual errors. Its published reporting can therefore change when an error is identified.

Can I get unpublished interview recordings or reporting notes?

NHPR's ethics code says it does not share raw audio or reporting material outside a final broadcast or digital publication. These tools are for published coverage.

Get started

Start using NHPR latest stories 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