Integrations/Claude Code
Claude Code + agentsgym over MCP
Give Claude Code your Domain Rating, referring domains, traffic and AEO scores over MCP, so it can fix a page and watch the number instead of asking you to check a dashboard.
Facts checked 2026-11-26. Prices and limits are the vendor's published numbers on that date.
Reading a marketing dashboard is a task you keep postponing. Handing the numbers to the agent that already edits your site is not. This page is the setup, and what to ask for once it is wired.
Setup
- Sign in and copy your personal API key (
agk_…) from the settings page. - Add the server to Claude Code:
claude mcp add --transport http agentsgym 'https://t.maelstromlab.com/mcp?toolsets=all' \
--header "Authorization: Bearer agk_your_key_here"
- Confirm the tools are live:
claude mcp list
You should see agentsgym connected. Claude Code loads its tools on demand, which is why the line above asks for every toolset (?toolsets=all). Clients that load every tool up front, such as Cursor or ChatGPT, take ?toolsets=core instead and find the rest with tools_search.
What the agent can do with it
The tools come in toolsets. The ones an agent reaches for first are in core:
| Tool | Returns | Typical use |
|---|---|---|
sites_list |
Your sites with their keys and the last 7 days | The first call of a session |
site_create, site_setup |
A new site with its one-line snippet; the setup steps still open | “Set up agentsgym for this project” |
site_overview |
Visitors, sessions, pageviews and goals, against the period before | “Did anything move this week?” |
site_breakdown |
Top pages, channels, referrers or countries | “Where did yesterday’s visitors come from?” |
site_verdict |
The one stage where the site loses most, priced in euros a week, with fixes | Where to start |
list_actions |
The ranked next steps, each with the tool or skill that does it | The weekly run |
tools_search |
Any other tool by words, with how to call it | Reaching the other toolsets |
Other toolsets cover Search Console and indexing (search), Google ranks, Domain Rating and the crawl (seo), paid keyword and backlink research (research), AI answers and page AI readiness (aeo, with score_url), the keyword plan, backlinks, launches, experiments and spend. docs.agentsgym.com/mcp-tools lists every tool by toolset.
Prompts that actually do work
- “Set up agentsgym for this project.” The agent creates the site, adds the snippet to the page head and checks the first visit.
- “Score every page under /alternatives with score_url and fix the two lowest dimensions on the worst page.”
- “What are the next actions for my site? Do the first one the agent can do and tell me the one I have to do.”
- “My Domain Rating has not moved in three weeks. Show site_authority over that window and tell me whether the problem is links or lag.”
Honest limits, so the agent does not overclaim
- Domain Rating is not Ahrefs’ DR. It is 0 to 100, computed from DataForSEO’s rank. It moves slowly; referring domains react within days of a new link.
- AEO scores are on-page and deterministic. They measure how citable a page is, not whether ChatGPT, Claude or Google’s AI Overview has actually cited it.
- One authority reading per site per UTC day. Asking twice does not produce a second data point.
- Failed checks stay empty. A provider error records the error; it never writes a 0 to fill the gap. If your agent sees a hole in the series, that hole is real.
- A read-only key lists only read tools. Give the agent a read and write key when it should set things up or close actions.
The order an agent should work in, from connect to the first logged change, is on get started for agents. Once it is wired, the natural next step is connecting Search Console so the same agent can see queries alongside authority. If you are here because a paid SEO seat felt like too much tool for one product, read Ahrefs alternatives.
Questions
- What is the agentsgym MCP endpoint?
- POST https://t.maelstromlab.com/mcp?toolsets=all for Claude Code, or ?toolsets=core for clients that load every tool up front. Streamable HTTP with OAuth or bearer auth. A personal agk_ key exposes that user’s own sites, and only theirs.
- Which tools does the server expose?
- Tools come in toolsets: core (sites, setup, headline numbers, the verdict, the next actions) plus analytics, conversion, search, seo, research, aeo, plan, backlinks, launches, experiments, spend, portfolio, loop and account. ?toolsets=all lists every one; core carries tools_search to find the rest. A read-only key lists only read tools. The full list is on docs.agentsgym.com/mcp-tools.
- Is it safe to give an agent my key?
- The key scopes to one user. Every project query filters by the user id resolved from the key, so a key can never read another account’s projects. Treat it like any credential: store it in the MCP config, not in a repo.
- Does this work with other MCP clients?
- Yes: anything that speaks MCP over HTTP with an Authorization header. The setup below is the Claude Code command; other clients take the same URL with ?toolsets=core and the same header.
Try it on your own domain
One project is free: a daily Domain Rating reading, referring domains, cookieless pageviews and AEO scans — all readable by your agent over MCP.
Check a site free