SERP Tracking for AI Agents and Assistants
An AI agent answers ranking questions reliably when it reads stored, scheduled SERP data instead of guessing. TrackSERPs gives Claude, ChatGPT, Cursor and other MCP clients 19 tools over your tracked projects: rankings, movement, history, SERP snapshots, competitors, share of voice and AI Overview citations. Reads cost no credits, and every credit-spending tool needs a write scope you can withhold.
Key facts
- The MCP specification says there SHOULD always be a human in the loop with the ability to deny tool invocations.Source: modelcontextprotocol.io
- MCP servers MUST rate limit tool invocations and implement access controls, and clients SHOULD prompt for confirmation on sensitive operations.Source: modelcontextprotocol.io
- Google says AI Overviews are only shown when its systems judge them additive to classic Search, so they often don't trigger.Source: developers.google.com
Why a tracked data source beats asking a chatbot to check rankings
If you type "where do we rank for project management software?" into a chat window, one of three things happens. The model answers from memory, which is fiction. It runs a web search or opens a results page, which gives you one snapshot from wherever that tool runs, with no history and no way to repeat it tomorrow. Or it says it cannot know. None of these is a ranking report.
A rank tracker fixes the parts that matter. It runs the same keyword checks on a schedule, for a fixed engine, location and device. It stores the top 100 results every time. It keeps history, so "did we drop?" has an answer with dates. An agent that reads that stored data is doing arithmetic on facts, not guessing.
This page is for the person deciding whether to wire that up: an SEO lead who wants Claude to write the Monday brief, an agency operator who wants an assistant answering client questions, a growth engineer building an agent that reacts to ranking changes. It covers what an agent can actually ask, what it costs, and how to stop it spending money you did not intend. Setup is on the MCP integration page and the AI agent integration page, so this page does not repeat it.
What the agent can read: the 19 MCP tools
The MCP server exposes 19 tools, the same set over the hosted remote endpoint and the local @trackserps/mcp package. Grouped by the question they answer:
| Question the agent is asking | Tool | Needs | Credits |
|---|---|---|---|
| What projects and keywords exist? | list_projects | read key | 0 |
| Where do we rank now, and how did that change in 7 and 30 days? | get_rankings (optional tag, device and competitor columns) | read key | 0 |
| What were the biggest gains, losses, new entries and drop-outs? | get_ranking_movement | read key | 0 |
| How has one keyword moved over time? | get_keyword_history | read key | 0 |
| What does the stored top-100 look like on a given date, and is there an AI Overview? | get_serp_snapshot | read key | 0 |
| Which URLs moved between two dates? | compare_serp | read key | 0 |
| Who are the tracked competitors, and what is the share of voice? | list_competitors, get_share_of_voice | read key | 0 |
| How much search volume does a keyword have? | get_search_volume | read key | 0 |
| Which location code is Austin, Texas? | find_location | read key | 0 |
| How many credits and API calls are left? | get_usage | read key | 0 |
| What did a check run or lookup return? | get_run_status, get_lookup, list_lookups | read key | 0 |
| Add a competitor to a project | add_competitor | projects:write | 0 |
| Create a project | create_project | projects:write | 0 until checks run |
| Add keywords | add_keywords | keywords:write | dry run by default |
| Re-check a project or specific keywords | run_check | runs:write | dry run by default |
| One-off rank lookup for a phrase | check_rank | runs:write | 1 per phrase |
Two details are worth knowing before you design a workflow. First, get_serp_snapshot and compare_serp read stored snapshots, so they are free and they work for any date that has a check. Second, get_share_of_voice uses a fixed published click-through curve and can weight keywords equally or by search volume. The agent is not inventing a market-share number, it is reporting a calculation you can reproduce with the share of voice guide.
Ten questions an agent can answer from this data
These are the jobs buyers actually ask for. Each one maps to real tools, so none depends on the model improvising.
- "What changed in rankings this week?" The agent calls
get_ranking_movementfor the last seven days and lists the biggest gains and losses plus keywords that entered or left the top 100. - "Why did
team calendar softwaredrop?" It pullsget_keyword_history, thencompare_serpbetween the last good date and today. The comparison shows which URLs moved up, moved down, entered or dropped, so the answer names the pages that overtook you. - "Which competitor gained the most share this month?"
get_share_of_voicefor the date range returns a series per domain. The agent reports the start and current share for each and the change. - "Did the AI Overview cite us for our category keywords?"
get_rankingsreturns an AI Overview column per keyword, andget_serp_snapshotlists the cited reference domains and URLs for a date. See the AI Overview citations guide for how to read them. - "Which keywords are ranking with the wrong page?" With tracked URLs set, the ranking URL for each keyword is in
get_rankings. The agent flags keywords where the URL differs from the page you intended. - "Which keywords are worth tracking in this city?"
find_locationresolves the place,get_search_volumegives monthly volume, and the agent proposes a shortlist. It can then runadd_keywordsas a dry run so you see what would be created and the monthly credit impact before anything is saved. - "Give me a client-ready summary." The agent combines movement, share of voice and AI Overview data into prose. You review it, and it still links back to numbers in the app.
- "Are we about to run out of credits?"
get_usagereturns the monthly and top-up balance and the API quota. An agent can check this before it proposes a large re-check. - "Is this one new keyword already ranking?"
check_rankcreates a lookup for a phrase and domain. It reports a lookup ID, andget_lookupreturns the position and top results once the queued check finishes. - "What did we rank last quarter versus now for these twelve keywords?"
get_keyword_historyper keyword with start and end dates, summarised as a table.
A worked example: a Monday brief
Say the project acme-plumbing-austin tracks 60 keywords for acmeplumbing.com in Austin on mobile, checked weekly. You give your assistant a read-only key and this instruction:
Every Monday, summarise
acme-plumbing-austin. Use ranking movement for the last 7 days, top 5 gains and losses. Add share of voice for us and competitors over 30 days. List keywords where an AI Overview appeared and we were not cited. Quote the numbers from the tools. Do not run checks or add keywords.
The agent calls list_projects to find the ID, get_ranking_movement with top: 5, get_share_of_voice with a 30-day range, and get_rankings to read the AI Overview column. It writes eight lines. Total credit spend: zero. Total API calls: four. Because the last instruction forbids writes and the key has no write scope, the instruction and the key agree.
Spend controls: how to let an agent work without a surprise bill
The MCP specification puts the responsibility on both sides. Servers must implement access controls and rate limiting, and clients should ask users to confirm sensitive operations. TrackSERPs implements the server half in layers, so you do not depend on a client's prompt UI alone.
| Control | What it does | Where to set it |
|---|---|---|
| Read-only key | A key with only read scope cannot call run_check, check_rank, add_keywords, create_project or add_competitor. | API key settings, or the scopes you approve in the OAuth consent screen |
| Optional write scopes | OAuth connectors request read scopes plus runs:write by default, and projects:write and keywords:write are optional. Untick what the agent does not need. | OAuth consent screen |
| Dry run by default | add_keywords and run_check report created versus existing keywords, credits that would be held and the balance after, and change nothing until confirm: true. | Built into the tools |
| Project restriction | A key can be limited to specific projects, so an agent on one client's data cannot read another's. | API key settings |
| IP allowlist and expiry | Keys can carry an IP allowlist and an expiry date, which suits the local package or a server-side agent. | API key settings |
| Monthly credit allowance | A run is refused if the account cannot hold the credits. The dry run returns allowed and a reason. | Plan and top-ups |
| Rate limit and call quota | Per-key requests per minute and account calls per month cap a runaway loop. | Plan |
| Test keys | ts_test_ keys return synthetic demo data at zero credit cost, which is the safe way to build and debug an agent. | API key settings |
Be clear on the one gap. check_rank has no dry run. It creates a lookup and holds 1 credit per phrase as soon as it is called. The only protections are the runs:write scope, your client's tool confirmation prompt and your credit balance. If you do not want an agent creating lookups, do not give it runs:write.
The arithmetic of a runaway agent
Credits are simple: 1 credit is one keyword check, top 100, for one location and one device. A run_check on a project costs keywords multiplied by devices. A check_rank costs 1 per phrase.
Suppose an agent in a loop calls check_rank with fresh: true on 100 phrases. That is 100 credits. On Starter, whose monthly allowance is 1,240 credits, that is about 8% of the month in one mistake. At the published top-up rate of 1,000 credits for $23.30 on Starter, Growth and Pro, 100 credits is about $2.33. A run of 200 keywords on desktop and mobile is 400 credits.
Those numbers are survivable, which is the point: the allowance is a hard ceiling, the hold is refused when the balance is short, and the dry run tells the agent the cost first. The expensive failure is not a single call, it is an unattended loop with write scope on a plan with a large allowance. Give unattended agents read-only keys. Give interactive agents write scopes only for the length of a task.
Which connection fits which agent
| Agent type | Best transport | Auth | Typical scope |
|---|---|---|---|
| Claude.ai or Claude Desktop connector, used by marketers | Remote MCP at https://api.trackserps.com/mcp | OAuth with consent screen | Read plus whatever you tick |
| ChatGPT custom MCP connector | Remote MCP | OAuth | Read |
| Cursor, VS Code, Claude Code used by developers | Remote MCP with an API key header, or local npx @trackserps/mcp | API key | Read, plus write on a dev project |
| A scheduled script or backend agent you write | REST API v1 or the @trackserps/sdk package | API key, server-side | Read-only unless the job needs more |
| An agent that reacts to ranking changes | Webhooks, then an agent run | Signed webhook | Read |
Per-client setup is on the pages for Claude.ai, Claude Desktop, ChatGPT and Cursor. A developer-oriented walkthrough of rank-drop debugging from an editor is in the MCP rank monitoring guide.
OAuth connectors create a normal API key marked as a Connector in your key list. It shares the same rate limits and quotas as REST keys, and revoking it immediately cuts the connector's access. That gives you one place to see and kill agent access.
Event-driven agents: act when something changes
Polling is wasteful. If you want an agent to investigate only when a ranking changes, set an alert rule and a webhook. Alert conditions include a keyword entering or leaving the top 3, 10, 20 or 100, moving by a chosen number of positions, falling out of the top 100, its ranking URL changing, and AI Overview citation gained or lost. A webhook endpoint subscribed to alert.triggered receives a signed POST when a rule fires. Your service then starts an agent with the project and keyword in the prompt.
A sensible loop: the webhook fires, your service calls an agent with read-only access, the agent runs compare_serp and get_keyword_history, and it posts a three-line diagnosis to Slack. A human decides whether to act. Webhook endpoints need a plan that includes them: Starter has none, Growth has 2, Pro 5 and Agency 20. Details are on the webhooks integration page and the ranking drop webhooks guide.
Limits you should know before you build
- Not real time. Checks are queued rather than run live, which keeps them cheap. Expect 10 to 20 minutes for a fresh check. An agent must be written to come back later, not to wait in the chat turn.
- Only Google AI Overviews are readable by an agent. TrackSERPs records whether an AI Overview appeared and which sources it cited. Google itself says these often don't trigger, so "not shown" is a normal answer. Bing projects carry no AI Overview data. The separate AI visibility tool checks Google AI Mode, ChatGPT and Gemini prompts, but it lives in the app and is not available through the API or MCP tools.
- Tracked keywords only. The rich tools read projects. For an untracked keyword the agent has
check_rank, one phrase at a time, with the delay above. - Locations and devices are explicit. The agent has to choose a location code and a device. A keyword tracked in two cities is two projects, so two checks and two credits per run.
- Starter is read-only for API access. It is a fine place to start an analysis assistant. It will not let an agent add keywords or trigger runs.
- Clients differ on confirmation. The specification says there should be a human in the loop, but each client implements prompts its own way. Do not treat a client's dialog as your only control.
- The agent can still misreport. A model can misread a table. Keep the numbers quotable and spot-check the first few reports against the dashboard.
Troubleshooting an agent that returns nothing useful
| Symptom | Likely cause | Fix |
|---|---|---|
| "No rankings found" | Keywords added but not yet checked, or the tag or device filter matches nothing | Ask for get_run_status, drop the filter, wait for the first check |
forbidden_scope | The key or connector lacks the scope for that tool | Re-issue the key with the scope, or reconnect and tick it |
plan_required | A write tool on a read-only plan | Move to Growth or higher, or keep the agent read-only |
ip_not_allowed | The key has an IP allowlist and the agent runs elsewhere | Add the agent's egress IP, or use a key without one for that agent |
| HTTP 429 | Per-key rate limit reached by a loop | Lower call volume, or raise the plan's rate limit |
Dry run says allowed: false | Not enough credits to hold | Check get_usage, reduce the keyword set, or top up |
| Agent says it "checked" but numbers did not change | The run is still queued | Read get_run_status after 10 to 20 minutes |
| Tool returns synthetic data | A ts_test_ key is in use | Switch to a live key when you are ready |
Rolling this out in an afternoon
Start on a test key
Create a
ts_test_key and connect your client. Ask five of the questions above. Test keys return synthetic data at zero credit cost, so you can tune the instructions without touching your allowance.Switch to a read-only live key restricted to one project
Pick the project that matters most, restrict the key to it, and run the Monday brief for two weeks. Compare the agent's numbers with the dashboard each time.
Add the write scope you can justify
If the agent should add keywords you approved, add
keywords:writeand nothing else. Keep the dry run in the instruction: "show the dry run first, then wait for my approval".Wire alerts to a read-only investigation agent
Subscribe a webhook to
alert.triggered, start an agent on each event, and have it post a short diagnosis to your team channel.Review spend monthly
Ask the agent to run
get_usageand report credits used and API calls against the quota. If it trends high, tighten scopes before you raise the plan.
Choosing a plan for agent work
Agent workloads are mostly reads, so the binding limits are API access and rate limits, not credits. From the plan definitions: Starter has one key, 60 requests per minute and 10,000 calls a month with read access. Growth has three keys, 120 per minute, 100,000 calls a month and write access. Pro has 10 keys, 300 per minute and 500,000 calls. Agency has 25 keys, 600 per minute and 2,000,000 calls.
A weekly brief needs a handful of calls. An interactive session where someone explores a 500-keyword project might use a few hundred. A fleet of agents polling every project every hour is where the call quota matters, and webhooks avoid that. For the credits side of the same decision, see the plans and credit pricing, and for a developer's view of the same API see TrackSERPs for developers.
When not to use this
If you need answers for arbitrary queries in the moment, such as a research agent that must see today's results for a query it has just invented, this is the wrong tool. A one-off lookup takes minutes, and spending a credit per phrase is not what you want for exploratory browsing.
If your question is "are we cited in ChatGPT answers?", use the AI visibility tool in the app; an agent cannot read or start those checks today. If you only want a weekly email with no assistant involved, the built-in digests do that without an agent at all.
If the work is a single report each month, a human reading the dashboard is cheaper than designing prompts. The case for agents is repetition, the same question across many projects or many weeks, and glue between ranking changes and the rest of your stack. When you are ready to try it, start with the MCP setup pages and a test key.
Frequently asked questions
Why not just ask ChatGPT or Claude to check my rankings?
Which AI assistants work with TrackSERPs?
Can an agent spend my credits by accident?
Does the agent get live results when it asks for a fresh check?
Can an agent track whether ChatGPT or Perplexity cite my site?
What plan do I need for an agent to add keywords or run checks?
Do agent tool calls count against API limits?
Should the agent write to my projects at all?
Sources & references
- Model Context Protocol specification: Tools(checked 2026-11-11)
- Google Search Central: AI features and your website(checked 2026-11-11)