# AI rank tracker for Claude Code and Cursor: Your AI forgets between sessions. TheSerpAgent keeps the record.

> The AI rank tracker Claude Code and Cursor run: daily Google checks, every position kept, alerts and client reports through one connection.

Page: https://theserpagent.ai/ai-agents

TheSerpAgent is an AI rank tracker in one sense: your AI runs it. It checks Google every day and keeps every position with its date, and it does not track rankings inside AI answers. Claude Code or Cursor sets up the tracking, reads what moved and makes the client report.

[Start free trial](https://app.theserpagent.ai/signup)

14 days free with a card on file. Cancel any time.

get_keyword_history trail running shoes

Daily positions of one keyword, with date and ranking page

| date | position | url |
| --- | --- | --- |
| 2026-11-01 | 4 | alpinerun.example/shoes/trail |
| 2026-11-02 | 4 | alpinerun.example/shoes/trail |
| 2026-11-03 | 4 | alpinerun.example/shoes/trail |
| 2026-11-04 | 4 | alpinerun.example/shoes/trail |
| 2026-11-05 | 4 | alpinerun.example/shoes/trail |
| 2026-11-06 | 4 | alpinerun.example/shoes/trail |
| 2026-11-07 | 7 | alpinerun.example/shoes/trail |

Real tool output on sample data. The site is fictional; the record's shape is what your AI receives.

## Your AI runs only when someone calls it. Rankings move every day.

A past position for one city on one device cannot be looked up later. So something has to keep the record while your AI is off. You could keep it by hand, every morning, in a spreadsheet. Some people still do.

Every rank tracker keeps a record like this. TheSerpAgent also treats your AI as the operator: it can run the tracker as well as read it.

[The old way and the new way](https://theserpagent.ai/new-way)

49 tools

29 of them change something: projects, keywords, competitors, alerts, report settings and more. One more makes the branded PDF.

120 calls a minute

The only limit on reading, which has no meter. Refreshes draw on the plan's allowance, so your AI cannot run up the bill.

200 keywords

The whole job sits on the entry plan: Starter, $19.99 a month, with 10 sites, white-label reports and the AI connection.

## Your AI does the setup. You may watch.

One request in Claude Code, with no dashboard open. It found the location, created the project, added the keywords to a list, set the alert and checked the plan.

Start tracking summitbikes.example for me: New York, mobile. Add these keywords to a list called Spring: gravel bike, gravel bike tires, bike packing bags, best gravel bikes. Tell me when any of them drops 3 places or more. Then tell me how much of my plan is left.

summitbikes.example is now being tracked in New York on mobile, with all four keywords in the Spring list. The first checks are queued, so there are no positions yet.

**Alert:** you'll be told when a Spring keyword drops 3 or more places.

**Leaving the top 30:** a keyword that falls out of the top 30 also triggers the alert, however few places it moved.

**Default rule:** new projects come with an alert for drops of 5 or more places, across the whole project. I left it on […]

1. search_locations {"locations":[{"location_code":1023191,"name":"New York, New York, United States","type":"City"}]}
2. create_project {"project":{"id":7,"domain":"summitbikes.example","device":"mobile","location_code":1023191}}
3. add_keywords {"added":4,"skipped":0,"queued":4}
4. create_alert {"alert":{"id":11,"rule":"Moved down 3+ places","list":"Spring"},"created":true}
5. get_usage {"plan":"starter","keywords":{"used":38,"limit":200},"projects":{"used":5,"limit":10},"refresh_checks":{"left_this_month":998,"monthly_limit":1000,"left_this_hour":500,"hourly_limit":500}}

A real Claude Code session on a test copy of the server, with a fictional agency's data. Trimmed for length; the words and outputs are as they ran.

## Four questions your AI will ask before it uses this

**Does it keep history?** Yes. `get_keyword_history` returns the date, position and ranking page of each daily check, up to 365 days back in one call. Positions stay for as long as the keyword is tracked. The full top results for a date stay 90 days. `remove_keywords` deletes a keyword's history, and that cannot be undone.

**Can it act, or only read?** It can act. 29 of the 49 tools change something: projects, keywords, lists, refreshes, competitors, alerts and their channels, report branding and schedules, and summaries. `generate_report` returns a branded PDF link.

**What does a call cost?** Reading has no meter, only a limit of 120 calls a minute. `refresh_keywords` uses one check per keyword from the plan's monthly allowance, and a search checked in the last hour reuses free. `write_summary` uses no allowance, because the summary is written automatically. Your AI can also read the rankings and write its own in your chat. `get_usage` says what is left of the checks.

**When should it not be used?** For keyword research, backlinks, Bing, the Map Pack, positions below 30, rankings inside ChatGPT, Claude or Perplexity answers, or a one-off lookup with nothing to track. It tracks Google positions over time.

## You hold the key

- Your AI cannot sign up or pay. A person does both.
- What your AI does on your account counts as done by you.
- Deleting tools are marked destructive and tell your AI to confirm with you first, but we cannot make it do so. Deleting a project or a keyword cannot be undone.
- No call deletes everything at once. `remove_keywords` needs the exact keyword ids, 100 at most in a call. `delete_project` deletes one project with everything in it, and needs that project's exact domain.
- `create_report_schedule` emails the addresses it is given, and tells your AI to confirm them with you first.
- Only the account owner can create a key or approve a sign-in. You can end either at any time under AI assistants, and it stops working at once.
- A key or a sign-in reaches every project through all 49 tools, with no narrower setting today. It can email reports to any address and send alerts to Slack or a web address.

## What's still left for you

Your AI cannot do these. You use the dashboard. It can see your plan's name and limits, but not your payment details.

- Billing and changing your plan
- Changing your login
- Creating and revoking API keys
- CSV import and export

## One command in Claude Code. One config block in Cursor.

It connects over MCP, the protocol these tools use to reach outside services. Create a key in the app under AI assistants. It is shown once. Then add the server with your key.

[The full steps](https://theserpagent.ai/docs/connect-ai)

### Claude Code, in your terminal

```
claude mcp add --transport http theserpagent https://api.theserpagent.ai/api/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"
```

### Cursor, in `~/.cursor/mcp.json`

```
{
    "mcpServers": {
        "theserpagent": {
            "url": "https://api.theserpagent.ai/api/mcp",
            "headers": {
                "Authorization": "Bearer YOUR_API_KEY"
            }
        }
    }
}
```

## What people ask about the AI side

### Which AI assistants work with it?

Claude Code and Cursor, each with a key, and Claude Desktop through the mcp-remote helper. Claude Code was run against a test copy of the server. The Cursor and Claude Desktop steps follow their own docs and have not been run in those apps.

### Can my AI see competitors or AI Overview?

Yes. get_competitor_rankings sets your position beside each competitor's, get_visibility gives share of visibility, and get_rankings says for each keyword whether Google shows an AI Overview and cites you.

### Does it tell my AI why a keyword moved?

No. explain_change returns two dates' results and the difference between them. It shows what changed around the keyword, never a cause.

### Can my AI run up the bill?

No. Plans are flat. Refreshes stop at the plan's monthly allowance, and reading has no meter.

## Read next

- [All 49 tools: Inputs, cost and real output for each](https://theserpagent.ai/docs/mcp-tools)
- [Connect Claude Code: One command, then what to ask](https://theserpagent.ai/docs/connect-ai/claude)
- [Connect Cursor: One config block, then what to ask](https://theserpagent.ai/docs/connect-ai/cursor)

## Stop checking rankings one by one

Add your site and keywords, and we start checking them right away.

[Start free trial](https://app.theserpagent.ai/signup)

14 days free with a card on file. Nothing is charged until they end.
