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

VS Code · SEO

How to Use Google long-tail keywords in VS Code

Returns longer search phrases containing your seed words, with search volume, CPC, and advertiser competition. Use it to expand a specific topic into detailed queries; the seed words can appear in a different order.

Prompts to try with Google long-tail keywords in VS Code

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

Use Google long-tail keywords for 'standing desk' in the United States, in English. Compare the returned phrases and search volumes with our existing article titles and draft a content gap report.

Google long-tail keywordsVS Code
Try asking
  • Use Google long-tail keywords to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Google long-tail keywords and tell me what changed since last week.

  • Check Google long-tail keywords and summarize what you find in three bullet points.

  • Pull the newest data from Google long-tail keywords and give me the result as a table.

How to set up Google long-tail keywords in VS Code

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS Code 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 long-tail keywords

    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/suggestions",
        "input": {
          "keyword": "<keyword>"
        }
      }'

Then paste one of the prompts above: VS Code finds Google long-tail keywords on Spiral, shows the price and runs it.

Google long-tail keywords providers and prices

Spiral runs Google long-tail keywords through Alexandria. Open a card for today's price, with every fee included.

AlexandriaSEO
DataForSEO · Keyword suggestions
dataforseo/keywords/suggestions

Settings you can ask for

Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 700100

Items to return, 1 to 700. DataForSEO allows 1000 (its default is 100); this connector stops at 700 so a call stays within 100 credits. Omitted, 100 is sent.

Offseta number from 0

Items to skip, for the next page. Default 0.

Exact matchon or off

Keep the seed phrase intact. Default false.

Location codea number

DataForSEO location code, such as 2840 for the United States. Use this or location_name.

Ignore synonymson or off

Return only core keywords. Default false.

Include serp infoon or off

Add serp_info for each keyword. Default false.

Include seed keywordon or off

Add data for the seed keyword under seed_keyword_data. Default false.

Every API field of DataForSEO · Keyword suggestions is on its tool page: open its card above.

What can you do with Google long-tail keywords in VS Code?

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.

Schedule seasonal content

Discover searches around Christmas decorations, then inspect monthly search history for the shortlisted terms. Use the observed seasonal pattern to propose publication months.

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 long-tail keywords in VS Code

Can VS Code use Google long-tail keywords?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Google long-tail keywords like any built-in tool.

How much does Google long-tail keywords cost in VS Code?

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 VS Code plan is separate.

Do I need an Alexandria account to use Google long-tail keywords in VS Code?

No. Spiral runs Google long-tail keywords 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 long-tail keywords in VS Code?

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

Does VS Code wait while Google long-tail keywords runs?

Google long-tail keywords runs in the background. VS Code 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 long-tail keywords in VS Code

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

Paste this into VS Code:

Set up VS Code

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