[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [CBC News region lookup](https://spiral.ai/integrations/opencode/cbc-news-region-lookup)

# How to Use CBC News region lookup in opencode

Resolve a Canadian place name to CBC's taxonomy path and regional slug. Use it to identify the CBC coverage area before requesting local articles.

|  |  |
| --- | --- |
| Model | CBC News region lookup |
| 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 CBC News region lookup in opencode

- Use CBC News region lookup for Edmonton, Alberta, and add the returned coverage path to my project's location mapping.
- Use CBC News region lookup to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from CBC News region lookup and tell me what changed since last week.
- Check CBC News region lookup and summarize what you find in three bullet points.
- Pull the newest data from CBC News region lookup and give me the result as a table.

## How to set up CBC News region lookup in opencode

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

### Use Spiral's MCP server

1. **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.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 CBC News region lookup**: 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": "cbc-ca/news/lookup_region",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: opencode finds CBC News region lookup on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## CBC News region lookup tools and prices

- [CBC News (cbc.ca) · Lookup region](https://spiral.ai/tools/alexandria/cbc-ca/news/lookup_region) (Alexandria): $0.00873 per call.

## What can you do with CBC News region lookup in opencode?

Build a Canadian news research feature that connects a place to CBC coverage and supporting articles. Use that sequence to populate a regional reading list in your project.

### Prepare a municipal budget briefing

Resolve Edmonton's CBC coverage area, review a week's local articles, search for budget reporting, and read the relevant stories before drafting a linked briefing.

### Research a transit project

Identify Ottawa's coverage area, browse reporting from a chosen period, search for the Confederation Line, and read the articles to assemble a timeline of reported milestones.

### Compare local housing coverage

Resolve Halifax and Calgary, review each area's articles for the same month, search for housing coverage, and compare the explanations in the full stories.

### Build a regional energy reading list

Find the CBC coverage areas for Edmonton and Calgary, browse recent reporting, search for named energy projects, and read the selected articles to write short annotations with links.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## CBC News region lookup in other agents

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

## More opencode guides

- [CBC News article search](https://spiral.ai/integrations/opencode/cbc-news-article-search)
- [CBC News regional and section articles](https://spiral.ai/integrations/opencode/cbc-news-regional-and-section-articles)
- [CBC News article details](https://spiral.ai/integrations/opencode/cbc-news-article-details)
- [Cornell Chronicle article](https://spiral.ai/integrations/opencode/cornell-chronicle-article)
- [BigSoundBank sound search](https://spiral.ai/integrations/opencode/bigsoundbank-sound-search)
- [Cornell Chronicle recent stories](https://spiral.ai/integrations/opencode/cornell-chronicle-recent-stories)

## Questions about CBC News region lookup in opencode

**Can opencode use CBC News region lookup?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run CBC News region lookup like any built-in tool.

**How much does CBC News region lookup 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 CBC News region lookup in opencode?**

No. Spiral runs CBC News region lookup on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up CBC News region lookup in opencode?**

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

**Does opencode wait while CBC News region lookup runs?**

CBC News region lookup runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does this cover news from other Canadian publishers?**

The documented source is cbc.ca. Keyword search, regional listings, and article retrieval draw from CBC's own content services.

**How is CBC's local coverage organized?**

CBC uses its own regional taxonomy, which the place lookup resolves. In January 2026, CBC announced 44 additional regional web pages, so its coverage structure can change.

**How can I distinguish a new story from an updated story?**

CBC article details include separate, exact publication and last-update times. Those timestamps let you distinguish the original publication from a later revision.

**Where does CBC disclose corrections?**

CBC says corrections and clarifications are noted directly on digital posts. Its central corrections page logs changes that significantly alter the audience's understanding, so the article itself remains important when checking a report.

**Does access allow me to republish CBC reporting?**

CBC's terms, reproduced in its November 2024 court filing, say access grants no rights to the content. Reproduction requires authorization or an applicable Copyright Act exception.

