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

opencode · Finance

How to Use CNBC market quotes in opencode

Returns market quotes from CNBC. Use it to add market context to company or economic news.

Prompts to try with CNBC market quotes in opencode

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

Use CNBC market quotes for AAPL and MSFT and populate this project's market-context panel with the returned quotes.

CNBC market quotesopencode
Try asking
  • Use CNBC market quotes to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from CNBC market quotes and tell me what changed since last week.

  • Check CNBC market quotes and summarize what you find in three bullet points.

  • Pull the newest data from CNBC market quotes and give me the result as a table.

How to set up CNBC market quotes 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 CNBC market quotes

    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": "cnbc-com/news/quotes",
        "input": {
          "symbols": [
            "<symbols>"
          ]
        }
      }'

Then paste one of the prompts above: opencode finds CNBC market quotes on Spiral, shows the price and runs it.

CNBC market quotes providers and prices

Spiral runs CNBC market quotes through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
CNBC · Quotes
cnbc-com/news/quotes

What can you do with CNBC market quotes in opencode?

Build a CNBC research view for a company or market beat inside your project. A coding agent can turn retrieved CNBC data into a searchable reading list or market-context panel.

Prepare an earnings briefing

Build a Microsoft earnings brief from company searches, topic coverage, business-section stories, article text, and relevant videos. Resolve the ticker and add a quote, then check whether earnings coverage appears in CNBC's popularity ranking.

Compare semiconductor coverage

Compare CNBC reporting on Nvidia, AMD, and Intel using searches, technology-section stories, topic feeds, article text, and video details. Match each company to its ticker, add quote context, and identify overlap with the most-popular ranking.

Assemble a Federal Reserve briefing

Collect Federal Reserve searches, economy-section coverage, topic stories, article text, and video details. Identify relevant Treasury or index symbols, add CNBC quotes, and compare the coverage with CNBC's most-popular stories.

Research a public company's news context

Prepare an Amazon research packet using company searches, related topic feeds, business-section coverage, article text, and videos. Resolve the listed security, include its quote, and flag stories also appearing in CNBC's popularity ranking.

Questions about CNBC market quotes in opencode

Can opencode use CNBC market quotes?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run CNBC market quotes like any built-in tool.

How much does CNBC market quotes 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 CNBC market quotes in opencode?

No. Spiral runs CNBC market quotes on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up CNBC market quotes in opencode?

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

Does opencode wait while CNBC market quotes runs?

CNBC market quotes runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Where does the CNBC data come from?

Alexandria identifies CNBC's own content GraphQL and Queryly search systems as its sources.

Does CNBC cover international securities?

CNBC explicitly lists the Toronto Stock Exchange and selected other international markets. Its coverage is selective rather than a complete worldwide securities directory.

Are all CNBC market quotes real time?

CNBC's general disclaimer warns that market data is delayed at least 15 minutes. Its Treasury-specific documentation separately says U.S. Treasury prices update without delay as new prices arrive.

Is everything in a CNBC news section public content?

Pro stories can appear outside the dedicated Pro section and carry a green PRO label. CNBC describes more than 50 additional articles each week as Pro exclusives.

Does CNBC provide reader comments alongside articles?

CNBC says its articles are not open to public comments. Article coverage therefore does not include a public reader discussion thread.

Get started

Start using CNBC market quotes 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