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

opencode · News & Media

How to Use CBC News article details in opencode

Fetch a CBC article's full text, headline, byline, publication and update times, and any correction notice. Use it to check what a story actually reports after finding it through search or a regional listing.

Prompts to try with CBC News article details in opencode

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

Use CBC News article details for source ID 9.7378332 and build an article view that shows the headline, byline, publication time, update time, and any correction notice.

CBC News article detailsopencode
Try asking
  • Use CBC News article details to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from CBC News article details and tell me what changed since last week.

  • Check CBC News article details and summarize what you find in three bullet points.

  • Pull the newest data from CBC News article details and give me the result as a table.

How to set up CBC News article details 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    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 article details

    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": "cbc-ca/news/get_article",
        "input": {
          "source_id": "<source_id>"
        }
      }'

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

CBC News article details providers and prices

Spiral runs CBC News article details through Alexandria. Open a card for today's price, with every fee included.

AlexandriaNews & Media
CBC News (cbc.ca) · Get article
cbc-ca/news/get_article

What can you do with CBC News article details 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.

Check a topic summary against the reporting

Search CBC for Bank of Canada coverage, read the relevant articles, and check whether a draft summary preserves the reporting's qualifications and any correction notices.

Review a section's weekly coverage

Browse a week's CBC business reporting and read selected articles to prepare an annotated reading list organized by subject.

Questions about CBC News article details in opencode

Can opencode use CBC News article details?

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

How much does CBC News article details 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 article details in opencode?

No. Spiral runs CBC News article details 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 article details in opencode?

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

Does opencode wait while CBC News article details runs?

CBC News article details 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.

Get started

Start using CBC News article details in opencode

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

Paste this into opencode:

Set up opencode

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