How to Use NHPR latest stories in opencode
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 opencode
Copy an example into opencode, or ask in your own words.
Use NHPR latest stories to fetch recent environment coverage and build a personal reading view in this project.
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 opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 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: opencode 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.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 10 | 10 | Stories to return, newest first (feeds carry 10). |
| Section | nh-news, politics, environment, education, health, arts-culture, or noticias-en-espanol | nh-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 opencode?
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.
More on NHPR latest stories and opencode
Overview
NHPR latest stories in other agents
Questions about NHPR latest stories in opencode
Can opencode use NHPR latest stories?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run NHPR latest stories like any built-in tool.
How much does NHPR latest stories cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use NHPR latest stories in opencode?
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 opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while NHPR latest stories runs?
NHPR latest stories runs in the background. opencode 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.
Start using NHPR latest stories in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


