Cursor MCP Rank Tracking: In-Editor Search Intelligence
Cursor MCP rank tracking integrates TrackSERPs directly into Cursor's AI coding environment using the Model Context Protocol. By adding our remote Streamable HTTP server or local npm runner to .cursor/mcp.json, developers can query top-100 Google positions, verify ranking URLs, and audit SERP features alongside their codebase without leaving the editor.
Key facts
- Cursor configures MCP servers via .cursor/mcp.json in workspace roots or global settings (~/.cursor/mcp.json).Source: cursor.com
- TrackSERPs supports remote Streamable HTTP connections with Bearer token authentication in Cursor.Source: modelcontextprotocol.io
- Cursor Composer agents can inspect ranking URLs to verify redirect maps and meta tags during frontend refactors.Source: cursor.com
Search intelligence inside your AI code editor
Engineers responsible for marketing sites, e-commerce stores, and editorial platforms frequently make architectural changes that impact organic search performance. Upgrading Next.js routes, refactoring URL breadcrumbs, changing page title templates, or modifying canonical tags can trigger immediate ranking fluctuations.
Cursor, the AI-first code editor built on VS Code, natively supports the Model Context Protocol. By configuring the TrackSERPs MCP server in Cursor, you give Cursor Composer and Agent mode direct access to production Google ranking positions.
Instead of guessing whether an SEO change succeeded weeks later, developers can audit live ranking URLs, inspect current SERP snippet titles, and detect cannibalizing pages without leaving their IDE.
Configuration options for Cursor
Configure TrackSERPs in Cursor by creating .cursor/mcp.json in your project root, or in ~/.cursor/mcp.json for global access across all repositories.
Option 1: Hosted remote server (Recommended)
Connect to the TrackSERPs hosted Streamable HTTP endpoint:
{
"mcpServers": {
"trackserps": {
"url": "https://api.trackserps.com/mcp",
"headers": {
"Authorization": "Bearer ts_test_your_key_here"
}
}
}
}
Replace the key with your ts_live_ production API key from Settings → API → API Keys, or keep a ts_test_ sandbox key for local testing.
Option 2: Local command runner (npm)
Alternatively, run the local stdio runner using Node.js:
{
"mcpServers": {
"trackserps": {
"command": "npx",
"args": ["-y", "@trackserps/mcp"],
"env": {
"TRACKSERPS_API_KEY": "ts_test_your_key_here"
}
}
}
}
After saving the configuration, open Cursor Settings → Features → MCP and click the refresh icon next to trackserps to confirm that all 19 tools show active green status.
Practical prompt scenarios in Cursor
With TrackSERPs connected, Cursor Composer can cross-reference code changes with search rankings.
Scenario 1: Auditing ranking URLs during a page rename
"We are migrating our blog routes from /blog/[slug] to /guides/[slug]. Call TrackSERPs to find which blog URLs currently rank in Google's top 20 for example-plumbing.com, and draft a redirect map in next.config.js."
Tools executed:
list_projects→ Locates project forexample-plumbing.com.get_rankings(project_id: "...",limit: 100) → Pulls all ranking pages and identifies URLs matching/blog/.- Cursor generates redirect entries mapping old paths to new target routes based on real live positions.
Scenario 2: Investigating title tag and snippet mismatches
"Check the current organic rank and SERP title for our target keyword 'water heater repair' on example-plumbing.com. Does the title in our metadata.ts match what Google actually displays in the search result?"
Tools executed:
get_keyword_historyorget_rankings→ Retrieves the live ranking snippet title, URL, and position.- Cursor compares the live SERP snippet against your local React component metadata.
Scenario 3: Checking mobile vs. desktop position differences
"Does example-plumbing.com rank differently on mobile versus desktop for our top 5 commercial terms? Check whether any mobile rankings drop below the fold."
Tools executed:
get_rankings(device: "desktop") → Fetches desktop rankings.get_rankings(device: "mobile") → Fetches mobile rankings.- Cursor highlights discrepancies caused by mobile-first responsive layout issues.
To explore other editor setups, check out our guides for VS Code Copilot, Claude Code CLI, and the complete TrackSERPs MCP server documentation.
Frequently asked questions
Where do I create the Cursor MCP configuration file?
Which transport should I use in Cursor: command or url?
Can Cursor Composer read my actual website code and ranking data at the same time?
Do Cursor queries cost credits?
Sources & references
- Cursor Documentation — Model Context Protocol (MCP)(checked 2026-11-11)
- TrackSERPs Model Context Protocol (MCP) Guide(checked 2026-11-11)