[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [NHPR news search](https://spiral.ai/integrations/gemini-cli/nhpr-news-search)

# How to Use NHPR news search in Gemini CLI

Find NHPR reporting by keyword, including candidates, races, and ballot questions. Use it when you know the subject you want to investigate rather than a particular story URL.

|  |  |
| --- | --- |
| Model | NHPR news search |
| Available through | Alexandria |
| Category | News & Media |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with NHPR news search in Gemini CLI

- Use NHPR news search to find reporting about PFAS in Merrimack, New Hampshire, and add a linked reading list to this project's research notes.
- Use NHPR news search to find New Hampshire school funding coverage and organize the relevant links by issue in this project's research notes.
- Use NHPR news search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from NHPR news search and tell me what changed since last week.
- Check NHPR news search and summarize what you find in three bullet points.

## How to set up NHPR news search 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:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run NHPR news search**: One request; the result comes back by polling or a webhook.

```bash
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/search_news",
    "input": {
      "query": "<query>"
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## NHPR news search tools and prices

- [NHPR New Hampshire Public Radio news and elections · Search news](https://spiral.ai/tools/alexandria/nhpr-org/news/search_news) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 50 | 1 | Result page, 10 results each. |
| sort | newest, relevance, oldest | newest | newest (default) puts the latest coverage first; relevance is NHPR's own ranking and can surface archive audio from the 1990s. |

## What can you do with NHPR news search 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.

### Compare candidate policy coverage

Find candidate guides and interviews, review governor-tagged coverage, and compare how NHPR reports positions on housing and education.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## NHPR news search in other agents

- [Amp](https://spiral.ai/integrations/amp/nhpr-news-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/nhpr-news-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/nhpr-news-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/nhpr-news-search)
- [Cline](https://spiral.ai/integrations/cline/nhpr-news-search)
- [Codex](https://spiral.ai/integrations/codex/nhpr-news-search)
- [Cursor](https://spiral.ai/integrations/cursor/nhpr-news-search)
- [Devin](https://spiral.ai/integrations/devin/nhpr-news-search)
- [dots](https://spiral.ai/integrations/dots/nhpr-news-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/nhpr-news-search)
- [Gemini](https://spiral.ai/integrations/gemini/nhpr-news-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/nhpr-news-search)
- [goose](https://spiral.ai/integrations/goose/nhpr-news-search)
- [Grok](https://spiral.ai/integrations/grok/nhpr-news-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/nhpr-news-search)
- [Hermes](https://spiral.ai/integrations/hermes/nhpr-news-search)
- [Instinct](https://spiral.ai/integrations/instinct/nhpr-news-search)
- [Manus](https://spiral.ai/integrations/manus/nhpr-news-search)
- [Muse](https://spiral.ai/integrations/muse/nhpr-news-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/nhpr-news-search)
- [n8n](https://spiral.ai/integrations/n8n/nhpr-news-search)
- [Notion](https://spiral.ai/integrations/notion/nhpr-news-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/nhpr-news-search)
- [opencode](https://spiral.ai/integrations/opencode/nhpr-news-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/nhpr-news-search)
- [Raycast](https://spiral.ai/integrations/raycast/nhpr-news-search)
- [VS Code](https://spiral.ai/integrations/vscode/nhpr-news-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/nhpr-news-search)
- [Zapier](https://spiral.ai/integrations/zapier/nhpr-news-search)

## More Gemini CLI guides

- [NHPR latest stories](https://spiral.ai/integrations/gemini-cli/nhpr-latest-stories)
- [NHPR stories by tag](https://spiral.ai/integrations/gemini-cli/nhpr-stories-by-tag)
- [NHPR article](https://spiral.ai/integrations/gemini-cli/nhpr-article)
- [NOAA Kp index](https://spiral.ai/integrations/gemini-cli/noaa-kp-index)
- [NASA media search](https://spiral.ai/integrations/gemini-cli/nasa-media-search)
- [NOAA aurora forecast](https://spiral.ai/integrations/gemini-cli/noaa-aurora-forecast)

## Questions about NHPR news search in Gemini CLI

**Can Gemini CLI use NHPR news search?**

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

**How much does NHPR news search 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 news search in Gemini CLI?**

No. Spiral runs NHPR news search 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 news search in Gemini CLI?**

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

**Does Gemini CLI wait while NHPR news search runs?**

NHPR news search 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.

