How to Use Google long-tail keywords in Claude 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 Claude Code
Copy an example into Claude 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.
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 Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- 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: Claude 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.
Settings you can ask for
Ask Claude Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 700 | 100 | 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. |
| Offset | a number from 0 | Items to skip, for the next page. Default 0. | |
| Exact match | on or off | Keep the seed phrase intact. Default false. | |
| Location code | a number | DataForSEO location code, such as 2840 for the United States. Use this or location_name. | |
| Ignore synonyms | on or off | Return only core keywords. Default false. | |
| Include serp info | on or off | Add serp_info for each keyword. Default false. | |
| Include seed keyword | on 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 Claude 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.
More on Google long-tail keywords and Claude Code
Overview
Google long-tail keywords in other agents
Questions about Google long-tail keywords in Claude Code
Can Claude Code use Google long-tail keywords?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Google long-tail keywords like any built-in tool.
How much does Google long-tail keywords cost in Claude 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 Claude Code plan is separate.
Do I need an Alexandria account to use Google long-tail keywords in Claude 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 Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while Google long-tail keywords runs?
Google long-tail keywords runs in the background. Claude 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.
Start using Google long-tail keywords in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


