AI SEO tool
GlobalManaged by Graphed
Deploys an SEO app for your team and your agent. Research keywords, backlinks and competitors, find the keywords and links they have that you don't, track rankings every day, and see where AI answers mention you.
AI SEO Tool
An SEO app the agent deploys into the user's own Graphed project. One Node process serves the page, the JSON
API, an MCP server and the job worker. Postgres holds projects, every saved run, a cache of every paid lookup,
rank history and AI answers. The app is private behind the Graphed gateway (Graphed login), except /mcp,
which refuses every request without a bearer token.
The deeper reference (every page, MCP tool, CLI command, table and limit) is app/AGENTS.md.
Find the account id with graphed --format json accounts list. deploy.sh copies <skill-dir>/app/ to
apps/<slug>/, builds the page, runs the offline tests, and deploys. Re-running it updates the same project; the
data stays. Flags: --slug, --name, --dir, --timezone (for the daily and weekly jobs; default
America/New_York, kept on later deploys), --dry-run.
Where the data comes from
| Data | Source | Cost |
|---|---|---|
| Keywords, rankings, competitors, difficulty, top pages | DataForSEO Labs (Graphed Tools) | credits |
| Backlinks, referring domains, anchors, link gap, history | DataForSEO Backlinks (Graphed Tools) | credits |
| AI mentions | DataForSEO AI Optimization llm_mentions (Graphed Tools) | credits |
| Live Google results and positions, Maps rankings | Serper (Graphed Tools) | credits |
| AI Overview, People Also Ask, Lighthouse | DataForSEO SERP and On-Page (Graphed Tools) | credits |
| AI visibility answers, fit checks, summaries | Graphed LLM proxy (OpenRouter) | credits |
| Clicks, impressions, queries, sessions, key events | Search Console + GA4 in the Graphed warehouse | free |
Search Console and GA4 need the user's Google Search Console and Google Analytics 4 sources connected in Graphed and synced once. Without them every other page works and those pages say "not connected".
Default run
- Ask first.
- Their domain, and 2–4 real business competitors (not big generic sites). If they have none, the app suggests some; check the suggestions with the user.
- The country and language they sell in (default United States, English).
- Their timezone, for the daily rank check.
- Is Search Console / GA4 connected in Graphed? If not, tell them it is free data they should add.
- Deploy (once per account) with
--timezone. Give the user the URL. - Make the project:
node cli.mjs add <domain> "<comp1>, <comp2>" [location code] [language](about 3 credits; location default 2840 United States, language default = the location's language). It finds their Search Console site and GA4 property in the warehouse and writes a short "about". Say what it found. - Run the first research (say the cost first; about 60–120 credits in all):
node cli.mjs domain <domain>: where they stand now.node cli.mjs gap <projectId>: the keyword gap and the top-20 shortlist.node cli.mjs gsc <projectId>when Search Console is connected (free): almost-there queries, lost clicks.
- Report. The app URL, the 5 keywords to go after first and why (volume, difficulty, fit, the referring domains page 1 needs), the almost-there queries, and what each page of the app is for.
- Offer, do not start: the weekly site audit and weekly AI check are off for a new project; turn one on in Settings only after the user says yes to the weekly cost. Also offer tracking the shortlist in the rank tracker (≈ 0.115 credits per keyword per day at top 10), a site audit, AI visibility prompts, a link gap, the local grid for a business with a Maps listing, and an MCP token so their coding agent can use the app.
What the user sees
- Research (sidebar): Site Explorer, Keywords Explorer, SERP checker, Backlinks, AI mentions, Keyword lists. Every keyword table can save rows to a list or send them to the rank tracker.
- Projects: Overview (printable report), Keyword gap, Link gap, Backlinks, Rank tracker, Search Console, Site audit, AI visibility, Local grid, Settings (competitors, brand terms, location and language, warehouse site and property, rank depth, weekly audit and AI check on / off).
- History on every research page: past runs open again for free.
- Agent access: make or revoke MCP tokens, with the
claude mcp addline. Credits: spend by tool and day.
MCP
claude mcp add --transport http ai-seo-tool <app url>/mcp --header "Authorization: Bearer <seo_…>"
Make the token on the Agent access page, or node cli.mjs token "<name>" (printed one time). 18 tools: projects,
site overview, keyword research, SERP check, keyword gap, backlinks, link gap, AI mentions, local rank grid, rank
tracker, track keywords, Search Console, site audit, AI visibility, keyword lists, get job, credits. A long run
returns a job_id; call get_job until it is done.
Costs
| Run | Credits (1 credit = 1¢) |
|---|---|
| New project | ≈ 3 |
| Site Explorer | ≈ 21 per 1,000 keywords |
| Keywords Explorer | ≈ 6–16 |
| SERP check with link barrier | ≈ 4.5 |
| Keyword gap | ≈ 40 + 4.6 per keyword checked for the link barrier (top 10 from the terminal, top 20 in the page) |
| Backlinks | ≈ 25 |
| Link gap | ≈ 6 per competitor |
| AI mentions | ≈ 47–70 |
| Rank tracker | 0.115 per keyword per day per 10 results of depth |
| Site audit | crawl free, Lighthouse 0.575 per page (top 4 pages) |
| AI visibility | ≈ 0.8 per answer (prompts × engines × runs) |
| Local rank grid | 0.345 per grid point (5×5 = 8.6) |
| Search Console + GA4, opening saved runs | free |
Rules
- Money first. Say the cost before a run over 10 credits, and before anything that repeats (tracking, weekly AI checks). Get a yes. A saved run opens for free; do not run it again.
- Recurring costs are opt-in. New projects have the weekly audit and weekly AI check off. Rank tracking starts only for keywords someone adds.
- Small first. Track 10–20 keywords, not hundreds. Run AI visibility with a few prompts and 1 run before 3.
- Competitors are businesses. Drop generic sites (Wikipedia, Reddit, YouTube, Stack Overflow, big news) from a competitor list; they make the gap noise.
- Tokens are secrets. Keep MCP tokens out of commits, logs and chat. Revoke one the user no longer needs.
- Use the warehouse for their own site. Search Console is real data; DataForSEO traffic numbers are estimates. Say which one a number comes from.
Limits
- DataForSEO SERP result URLs come back as Google redirect links, so positions come from Serper.
- No Google Business Profile data (the DataForSEO endpoint returns 400). The local grid uses Maps results.
- Lighthouse takes about 80 s per page. A long run returns a job id; poll it.
- No WebSockets at the gateway, and a response is cut at about 110 s: the page and the MCP tools poll jobs.
graphed execcan drop the output of a short command. Readgraphed logs --project <slug> --since 3m, or open the run in the page (every CLI run is saved).
Files
Done
Reply with the app URL, the project id, what was found in the warehouse, the top 5 keywords with their numbers, the credits spent, and what you offered to set up next.
About Graphed
Graphed is a marketing cloud. It includes the infrastructure for an agent to do marketing: a data warehouse, data pipelines, a Postgres database, cron jobs, runtime servers, a tool catalog, custom domains, and internal app tooling.