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

opencode · SEO

How to Use Google keyword search intent in opencode

Returns predicted search intent and probabilities, including other likely intents for each keyword. Use it to sort a keyword list into informational, navigational, commercial, and transactional searches.

Prompts to try with Google keyword search intent in opencode

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

Use Google keyword search intent for 'Shopify login', 'Shopify pricing', 'Shopify vs WooCommerce', and 'how to start an online store'. Save the leading intent, probability, and secondary intents in a JSON research file.

Google keyword search intentopencode
Try asking
  • Use Google keyword search intent to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Google keyword search intent and tell me what changed since last week.

  • Check Google keyword search intent and summarize what you find in three bullet points.

  • Pull the newest data from Google keyword search intent and give me the result as a table.

How to set up Google keyword search intent 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 Google keyword search intent

    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": "dataforseo/keywords/search-intent",
        "input": {
          "keywords": [
            "<keywords>"
          ]
        }
      }'

Then paste one of the prompts above: opencode finds Google keyword search intent on Spiral, shows the price and runs it.

Google keyword search intent providers and prices

Spiral runs Google keyword search intent through Alexandria. Open a card for today's price, with every fee included.

AlexandriaSEO
DataForSEO · Search intent
dataforseo/keywords/search-intent

What can you do with Google keyword search intent in opencode?

Turn the project's content inventory into a keyword research table with DataForSEO demand, difficulty, or intent data. Match returned phrases to existing pages to propose content updates and new briefs.

Choose the next articles to commission

Expand running shoe topics with category ideas and longer phrases. Compare search demand and organic difficulty, then use intent labels to separate buying guides from informational articles.

Plan ecommerce category pages

Research terms around espresso machines, including related product categories and specific buying queries. Use demand, difficulty, and search intent to propose category pages and supporting guides.

Compare keyword opportunities across markets

Research English-language standing desk queries separately for the United States and United Kingdom. Compare discovered phrases, demand, and country-specific difficulty, then classify the shortlisted terms by intent.

Prioritize existing content updates

Take the topics from an existing cycling guide library and look for related searches and more specific phrases. Combine demand, difficulty, and intent with your content inventory to recommend which pages to expand first.

Prepare a paid search research brief

Find category terms and detailed searches around accounting software. Compare demand and advertiser competition, then use intent labels to identify terms worth reviewing for an acquisition campaign.

Build a help center topic backlog

Expand spreadsheet topics into related subjects and detailed questions. Classify informational searches and compare their organic difficulty before proposing tutorial briefs.

Questions about Google keyword search intent in opencode

Can opencode use Google keyword search intent?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Google keyword search intent like any built-in tool.

How much does Google keyword search intent cost in opencode?

Up to $0.17459 per run. 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 Google keyword search intent in opencode?

No. Spiral runs Google keyword search intent on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Google keyword search intent in opencode?

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

Does opencode wait while Google keyword search intent runs?

Google keyword search intent runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

How fresh is DataForSEO's keyword data?

The keyword database follows a monthly refresh cycle tied to Google Ads. Search results used by DataForSEO Labs refresh on a separate cycle of 30 to 90 days, depending on the query and location.

Are search volumes exact counts for each phrase?

Google groups similar keywords and can report their combined search volume. That makes these figures unsuitable for measuring small differences between closely related spellings or phrases.

Does competition mean organic ranking difficulty?

Google Ads competition measures competition among advertisers in paid search. Organic difficulty is a separate DataForSEO score from 0 to 100 for reaching Google's top 10 organic results.

How much monthly history is available?

Google Ads keyword search volume offers up to four years of history. Keyword discovery results include a shorter history covering the previous 12 months.

Does DataForSEO cover every country?

No. DataForSEO says locations in Russia and Belarus are no longer supported across its services.

Get started

Start using Google keyword search intent 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