# Track keyword rankings with Windsurf

> Ask Windsurf's Cascade agent to add Google keywords, read rank changes and compare competitors through StoreSEO, without leaving your theme project.

Tracking keyword rankings with Windsurf means asking the Cascade agent in your editor to add keywords to StoreSEO's Google rank tracker, read their latest positions and history, and compare them with up to five competitor domains while your Shopify theme stays open beside it.

## How do you set up Windsurf for this?

### 1. Add StoreSEO to mcp_config.json

In the Cascade panel, open the ... menu and click the Open MCP config file icon in the MCPs section. Add the entry under mcpServers and save. Remote servers use serverUrl.

```json
{
  "mcpServers": {
    "storeseo": {
      "serverUrl": "https://mcp.storeseo.com/mcp"
    }
  }
}
```

### 2. Sign in to your store

Windsurf supports OAuth for remote servers. When it asks you to sign in to storeseo, a browser window opens: pick your Shopify store and approve access. Then ask this to confirm the connection.

```text
Use StoreSEO to show me my store's SEO score breakdown.
```

### 3. Or connect with an access token (optional)

Generate a token in StoreSEO under Settings, AI Toolkit and send it as a header. mcp_config.json reads environment variables with the env syntax, so the token can stay out of the file.

```json
{
  "mcpServers": {
    "storeseo": {
      "serverUrl": "https://mcp.storeseo.com/mcp",
      "headers": {
        "Authorization": "Bearer ${env:STORESEO_TOKEN}"
      }
    }
  }
}
```

Then ask: "Use StoreSEO to look up the exact country and language names for rank tracking in Germany and German, then show me the keyword rows you would add before you add anything."

## How does this work in Windsurf?

You sit in the Cascade panel with a theme repository open, and you type something like track linen shirts and linen shirt for men in the United States on mobile. Cascade calls storeseo_start first, then storeseo_list_rank_locations and storeseo_list_rank_languages, because the tracker only accepts the exact country and language names from those lists. It shows you the proposed keyword rows, with country, language and device spelled out, and waits for your yes before it calls storeseo_add_keywords. The editor shows each tool call in the chat, so you can see which lookup produced which name.

Adding a keyword only queues the first Google check. Positions arrive in the background, so a keyword added a minute ago may show no rank yet, and Cascade should say so instead of guessing. Later you ask how the tracked keywords moved, and Cascade reads storeseo_list_keywords for the latest position, the change, SERP features and competitor positions, then storeseo_get_keyword_history for a dated trail on one keyword. Because the work happens in the editor, you can ask Cascade to put a keyword's history next to the product copy it is editing, or to write the movers into a notes file in the project.

Competitors work the same way. storeseo_list_competitors shows the domains you track, and storeseo_add_competitors takes new ones after your yes, up to five in total. Rank and competitor tracking are Pro plan tools, so on another plan Cascade should explain the upgrade instead of calling them. Everything here checks Google only; AI answer engines are not tracked by this job.

### Example session (illustrative)

**You:** Track linen shirt and linen shirt for men in the United States on mobile.
→ `storeseo_start` (read-only)
→ `storeseo_list_rank_locations` (read-only)
→ `storeseo_list_rank_languages` (read-only)
**Agent:** StoreSEO accepts United States and English for that market. Shall I add linen shirt and linen shirt for men as mobile keywords on Google? Each one counts against your plan's keyword limit.
**You:** Yes, add both.
→ `storeseo_add_keywords` (needs approval)
**Agent:** Both are queued. Positions show up in storeseo_list_keywords once the first checks finish; ask me again in a few minutes.

## What StoreSEO does: keyword rank tracking

StoreSEO checks your Google rank for tracked keywords by country, language and device, records the history and compares competitor domains. Keyword clusters group related keywords around a product's focus keyword with search volume and difficulty.

Tools: `storeseo_list_rank_locations`, `storeseo_list_rank_languages`, `storeseo_add_keywords`, `storeseo_list_keywords`, `storeseo_get_keyword_history`, `storeseo_list_competitors`, `storeseo_add_competitors`, `storeseo_delete_keyword`, `storeseo_delete_competitor`, `storeseo_generate_keyword_cluster`, `storeseo_get_keyword_cluster`

Requires: Rank and competitor tracking are Pro plan tools. Keyword clusters spend AI Content Optimizer credit.

1. **Pick the market.** The agent looks up the exact country and language names the tracker accepts, because new keywords must use them verbatim.
2. **Add keywords.** After your yes it adds keywords with a country, language and device. Checks run in the background, so positions appear later.
3. **Read ranks and history.** It lists your keywords with the latest Google position, change, SERP features and competitor positions, and reads the dated history for any keyword.
4. **Compare competitors.** Up to five competitor domains are tracked alongside your keywords. To change one, it is deleted and the new domain added.
5. **Build a cluster.** For a product with a focus keyword, StoreSEO generates a cluster of related keywords in the background; the agent states the estimated credit first and polls until it is ready.

## Keyword rank tracking reference

| Setting or limit | What applies |
|---|---|
| Search engine | Google; AI search engines are not tracked |
| Locations | 213 countries, country level only |
| Languages | 127 languages |
| Devices | Desktop or mobile |
| Competitors | Up to five domains; no edit, delete and re-add |
| Keyword limit | Counts against your plan's keyword limit |
| Deleting a keyword | Removes its entire rank history; cannot be undone |
| Keyword cluster | Built around the product's existing focus keyword, sorted by search volume, with relevance and difficulty |
| Plan | Pro plan for rank and competitor tools |

## Rules Windsurf follows

- On a plan without rank tracking, the agent explains the upgrade instead of calling the rank tools.
- Country and language names come from the lookup tools, never typed from memory.
- Deleting a keyword or competitor erases its history for good, so the agent confirms each one.
- A cluster needs a focus keyword set in the StoreSEO app; the agent states the estimated credit and waits for your yes.

**In Windsurf:** Cascade can use at most 100 MCP tools at once across every server, and StoreSEO uses 44 of them, so a heavy MCP setup can leave no room for the rank tools. Check the MCPs section and disable what you do not need. Windsurf's MCP page also says its mcp_config.json applies to the legacy Cascade agent, while the Devin Local agent reads other files, so confirm which agent you are in. The page does not describe Cascade's tool approval, so treat a keyword delete, which erases that keyword's whole rank history, as something to read carefully before you say yes.

## What can you ask Windsurf to do?

- Use StoreSEO to look up the exact country and language names for rank tracking in Germany and German, then show me the keyword rows you would add before you add anything.
- List my tracked keywords sorted by overall position, and flag any that dropped since the last check. Read only.
- Read the rank history for organic cotton tote and write a short note about its trend into rank-notes.md in this project.
- Track shopify linen shirts and linen shirt for men in the United States on mobile.
- How have my tracked keywords moved this month, and where do my competitors rank?
- Show the rank history for organic cotton tote since July.
- Add example-competitor.com as a competitor.
- Build a keyword cluster for my best seller and tell me the estimated credit first.
- Which tracked keywords dropped out of the top ten?

## Frequently asked questions

### Why does Cascade say my new keyword has no position yet?

Adding a keyword with storeseo_add_keywords only queues the first Google check. The position appears in the keyword list when that background check completes, so ask Cascade to read the list again a little later.

### Can Windsurf track keywords on a free StoreSEO plan?

The MCP server connects on any active plan, but the rank and competitor tools are Pro plan tools. On other plans Cascade should explain that instead of calling them.

### Which plan do I need for keyword tracking through an agent?

Rank tracking and competitor tracking are Pro plan tools. On other plans the agent should explain that instead of calling them. Keyword clusters work on plans with AI Content Optimizer credit.

### Does StoreSEO track rankings in AI search engines?

No. The rank tracker checks Google results by country, language and device. AI visibility is handled by the GEO score, llms.txt and agents.md jobs instead.

### Why are new keywords pending?

Rank checks run in the background. Adding a keyword queues the first check, and its position appears in the keyword list once that check completes.

### What is a keyword cluster?

A group of related keywords built around a product's focus keyword, sorted by search volume and scored for relevance and difficulty. It shows which wider terms the product page can target.

## Keyword rank tracking with other agents

- [Track keyword rankings with Claude](https://storeseo.com/agent/claude/keyword-tracking)
- [Track keyword rankings with ChatGPT](https://storeseo.com/agent/chatgpt/keyword-tracking)
- [Track keyword rankings with Claude Code](https://storeseo.com/agent/claude-code/keyword-tracking)
- [Track keyword rankings with Claude Cowork](https://storeseo.com/agent/claude-cowork/keyword-tracking)
- [Track keyword rankings with Cursor](https://storeseo.com/agent/cursor/keyword-tracking)
- [Track keyword rankings with Codex](https://storeseo.com/agent/codex/keyword-tracking)
- [Track keyword rankings with Gemini CLI](https://storeseo.com/agent/gemini-cli/keyword-tracking)
- [Track keyword rankings with GitHub Copilot](https://storeseo.com/agent/github-copilot/keyword-tracking)
- [Track keyword rankings with Grok](https://storeseo.com/agent/grok/keyword-tracking)
- [Track keyword rankings with ChatGPT dots](https://storeseo.com/agent/chatgpt-dots/keyword-tracking)
- [Track keyword rankings with Grok Bot](https://storeseo.com/agent/grok-bot/keyword-tracking)
- [Track keyword rankings with Muse](https://storeseo.com/agent/muse/keyword-tracking)
- [Track keyword rankings with Manus](https://storeseo.com/agent/manus/keyword-tracking)
- [Track keyword rankings with OpenClaw](https://storeseo.com/agent/openclaw/keyword-tracking)
- [Track keyword rankings with Hermes Agent](https://storeseo.com/agent/hermes-agent/keyword-tracking)
- [Track keyword rankings with Paperclip](https://storeseo.com/agent/paperclip/keyword-tracking)
- [Track keyword rankings with NanoClaw](https://storeseo.com/agent/nanoclaw/keyword-tracking)
- [Track keyword rankings with OpenCode](https://storeseo.com/agent/opencode/keyword-tracking)
- [Track keyword rankings with Zed](https://storeseo.com/agent/zed/keyword-tracking)
- [Track keyword rankings with Kiro](https://storeseo.com/agent/kiro/keyword-tracking)
- [Track keyword rankings with Antigravity](https://storeseo.com/agent/antigravity/keyword-tracking)
- [Track keyword rankings with Kimi Code](https://storeseo.com/agent/kimi/keyword-tracking)

## More Windsurf guides

- [Windsurf and StoreSEO overview](https://storeseo.com/agent/windsurf)
- [Audit your store's SEO with Windsurf](https://storeseo.com/agent/windsurf/seo-audit)
- [Optimize meta tags and content with Windsurf](https://storeseo.com/agent/windsurf/optimize-meta)
- [Optimize images and alt text with Windsurf](https://storeseo.com/agent/windsurf/image-seo)
- [Get products ready for AI search with Windsurf](https://storeseo.com/agent/windsurf/ai-search-readiness)
- [Publish llms.txt and agents.md with Windsurf](https://storeseo.com/agent/windsurf/llms-txt-agents-md)
- [Set up structured data with Windsurf](https://storeseo.com/agent/windsurf/structured-data)
- [Manage sitemaps and indexing with Windsurf](https://storeseo.com/agent/windsurf/sitemaps)
- [Read Search Console and Analytics with Windsurf](https://storeseo.com/agent/windsurf/google-reports)
- [Write SEO blog post drafts with Windsurf](https://storeseo.com/agent/windsurf/blog-posts)

## Related documentation

- [Set up the keyword rank tracker](https://storeseo.com/docs/how-to-set-up-your-storeseo-keyword-rank-tracker)
- [Keyword cluster generator](https://storeseo.com/docs/storeseo-keyword-cluster-generator)
- [What is a focus keyword?](https://storeseo.com/docs/what-is-a-focus-keyword)

---

Canonical: https://storeseo.com/agent/windsurf/keyword-tracking
Last updated: October 2026.

Approval: Reads run straight away; StoreSEO tells the agent to preview and wait for your yes before it writes, spends credit or publishes, and your client's tool-approval setting is the hard stop.

Every agent guide: https://storeseo.com/agent · Connect the MCP server: https://storeseo.com/docs/connect-storeseo-mcp-to-your-ai-assistant · Pricing: https://storeseo.com/pricing · Install StoreSEO: https://apps.shopify.com/storeseo
