OnPage.dev MCP server
Checks pages against Google's own standards: scans and scores pages for Google Search, resolves whether Googlebot may fetch a URL using Google's robots.txt matching rules (including * and $ wildcards), validates JSON-LD against Google's rich result requirements, and estimates title/description pixel widths against Google's snippet cut-off on desktop and mobile.
Reports whether OpenAI's crawlers such as GPTBot are allowed to read a page as part of the AI visibility check, and can generate merged robots.txt policies (allow all, AI search only, or block) covering OpenAI's crawler alongside other AI bots.
Reports whether PerplexityBot may read a page and how well the page is set up to be quoted in AI answers, and can generate robots.txt rules that allow or block Perplexity's crawler from the existing file.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OnPage.dev MCP serverscan my homepage and fix every SEO issue until it scores 90+"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Most SEO tools give you a report. OnPage.dev gives your assistant something to do: write the fix, check it before you publish, and confirm it worked. It also checks what AI search sees, not only Google: which AI crawlers may read your site, whether your content is ready to be quoted, and whether you have an llms.txt.
You: Fix the SEO on our pricing page and keep going until it scores 90 or more.
Assistant: scan_page 46/100 no meta description, no H1, title 14 characters
get_fix_pack title, description and canonical, written from the page
generate_schema Product JSON-LD, 2 values to fill in
(edits pricing.html)
scan_html 92/100 before deploying, all errors gone
rescan_and_compare 94/100 live, +48 since the first scan
Done. 46 to 94. Two prices in the JSON-LD still need your real values.Built for agents
What makes OnPage.dev different from every other SEO MCP server:
Stable issue codes and typed results. Every issue has a fixed code like
meta-missingorh1-missing, and the main tools declare an output schema. An agent can work through issues one by one and prove each one is gone.It checks the code the agent writes.
scan_html,validate_schemaandcompare_htmltest new HTML and JSON-LD before it ships, and catch regressions such as a straynoindexor a removed canonical.Launch and migration built in.
check_urlsfollows every redirect chain for up to 20 URLs at once;test_robotsanswers "may this bot fetch this URL" with Google's own matching rules, including*and$wildcards.Whole sites, step by step.
start_site_auditruns as a job the agent works through, so a 25-page audit fits a free hosted service. It reports issues across the site by code, broken and orphan pages and duplicates.You vs the pages that rank.
compare_pagesputs a page next to up to 3 competitors with content gaps and fixes to catch up;suggest_internal_linksshows which pages should link where.No made-up advice. The
onpage://rulesresource gives the assistant every check, threshold and fix, so it explains SEO from the same rules the scanner uses.Free and hosted. Paste one URL. No account, no API key, no install.
Related MCP server: google-seo-mcp
Install in one minute
The server is hosted. There is nothing to install or run, and no key.
Server URL: https://onpage.dev/mcp
claude mcp add --transport http onpage https://onpage.dev/mcpOr install the plugin for the server plus ready commands and skills.
Settings → Connectors → Add custom connector → paste https://onpage.dev/mcp → save. Turn the connector on in a chat.
Add a custom connector with https://onpage.dev/mcp (Settings → Connectors, with developer mode on). Which plans can use custom connectors is up to OpenAI.
~/.cursor/mcp.json or .cursor/mcp.json in your project:
{
"mcpServers": {
"onpage": { "url": "https://onpage.dev/mcp" }
}
}.vscode/mcp.json:
{
"servers": {
"onpage": { "type": "http", "url": "https://onpage.dev/mcp" }
}
}Streamable HTTP transport at https://onpage.dev/mcp. JSON responses, no authentication.
What it can do
20 tools in five jobs. Every result links to the full visual report on onpage.dev. Issues carry stable codes; the full list is in the onpage://rules resource.
Audit and fix
Tool | What it does | Example result |
| Score from 0 to 100, the issues to fix first with why and how, AI readiness and key facts |
|
| Everything measured, by section: speed hints, links and anchor texts, accessibility, image SEO, rich results, security headers, content and technical facts |
|
| Ready-to-paste HTML for every issue, written from the page's own content |
|
| Article, Product, FAQ, Organization or breadcrumb JSON-LD, validated against Google's rich result rules. Values it cannot read are marked TODO, never invented |
|
| Scan again after a fix: score change, what got fixed, what is new |
|
Whole site and competitors
Tool | What it does | Example result |
| Audit up to 25 pages from the sitemap as a job. Returns an |
|
| Continue until complete, then read the site-wide results: issues by code with affected pages, broken, orphan and duplicate pages |
|
| Which audited pages should link to a page, with anchor text. Works for a new page by topic |
|
| A page next to up to 3 competitors: side by side, content gaps, structured data they have and fixes to catch up. Flags cookie walls |
|
AI search
Tool | What it does | Example result |
| Which AI crawlers may read the page (GPTBot, ClaudeBot, PerplexityBot, Google-Extended and more), llms.txt, 11 checks for AI answers, and the page as a model reads it |
|
| Does the page answer a question well enough for AI to quote it? Returns the best passages with length and fit |
|
| robots.txt rules for 13 AI crawlers from a policy (allow all, AI search only, block all), merged into your existing file |
|
| A ready |
|
Launch and migration
Tool | What it does | Example result |
| Status codes and full redirect chains for up to 20 URLs, checked against where each should land. Flags chains and temporary redirects |
|
| May Googlebot, GPTBot, ClaudeBot or any crawler fetch this URL? Uses Google's matching rules and returns the exact deciding rule. Can test a proposed robots.txt too |
|
Writing and code
Tool | What it does | Example result |
| Scan HTML that is not live yet: a local build, a template or a draft. Same score and fixes as |
|
| SEO diff between two versions of a page: score, issues fixed and introduced (by code), and changes to title, description, H1, canonical, robots and structured data |
|
| Check JSON-LD you wrote: syntax, @context and @type, ISO dates, absolute URLs, placeholders and Google's required fields |
|
| Eight checks for one search term: title, description, H1, URL, opening text, subheadings, alt texts and keyword use |
|
| Pixel-width estimate of title and description against Google's cut-off, desktop and mobile |
|
Ready workflows (MCP prompts)
One click in clients that show prompts:
Full SEO and AI audit: scan, AI check and fix pack, then a prioritised plan.
Why can't AI find my site?: which assistants can read and quote you, and what to change.
Launch checklist: a tick or cross for everything a page needs before going live.
AI visibility makeover: robots.txt, llms.txt and answer passages in one go.
Pre-deploy SEO gate: scan the built HTML and block the release below a minimum score.
Reference resource
onpage://rules: every check with its stable code, why it matters and how to fix it, plus the key thresholds (title and description length in pixels, word counts, alt text, server response, AI answer length).
Score card in the chat
In clients that support MCP Apps (Claude) or the Apps SDK (ChatGPT), scan results also show as a visual card:
Why it is different
OnPage.dev | Data vendor MCPs (Ahrefs, Semrush and similar) | Self-hosted audit servers | |
Price | Free | Paid plan or API credits | Free |
Setup | Paste one URL | Account and key | Install and run yourself, often extra API keys |
Built for | Acting on results: fix, check before deploy, confirm | Research data: keywords, backlinks, rankings | Audits and reports |
Scan unpublished HTML | Yes, | No | Rarely |
Agent-grade output | Stable issue codes, output schemas, rules resource | Data rows | Varies |
Migration checks | Redirect chains, robots.txt tester | Partly | Partly |
Whole-site audit | Up to 25 pages, free, as a job | Yes, paid | Yes, self-run |
Competitor gaps | Page vs page, with content gaps | Keyword and backlink gaps | Rarely |
AI search tools | Crawler access, AI-answer checks, robots.txt policy, llms.txt | AI visibility tracking on some | Rarely |
Ready code | Fix pack, JSON-LD, robots.txt, llms.txt | No | Varies |
What OnPage.dev does not do: search volumes, rankings or backlinks. For those, the data vendors are still the place to go, and they work well alongside OnPage.dev.
Example prompts
Why does ChatGPT never mention example.com? Check it with OnPage.dev.
Scan our pricing page and give me the five fixes with the code.
Let ChatGPT search read our site but block AI training. Write the robots.txt.
We moved to a new URL structure. Check that these 20 old URLs redirect to the right new pages.
Review this pull request for SEO regressions: compare the old and new HTML of the changed pages.
Audit our whole site and tell me the three fixes that help the most pages at once.
We are writing a page about trail running shoes. Which of our pages should link to it?
How does our pricing page compare with these two competitors, and what are we missing?
Does our blog post answer "how long does shipping to Germany take" well enough for AI to quote?
Write three title options for this page and check which ones fit in Google.
Fix the SEO issues in this project, check the build with OnPage.dev and keep going until it scores 95.Claude Code plugin
The server plus commands and skills that run the fix loop for you.
/plugin marketplace add seoonpage/onpage-tools
/plugin install onpage@onpage-dev/seo-check [url or path]: scan a live page, or find this project's built HTML and scan that, then fix what is wrong./ai-visibility: check whether ChatGPT, Claude, Perplexity and Gemini can read and quote the site, and writerobots.txtandllms.txt.seo-fix-loop skill: fixes in your source (templates, Next.js
metadata, Astro frontmatter), checks withscan_htmlbefore deploy and confirms withrescan_and_compareafter.
About 300 tokens of always-on context.
GitHub Action: SEO gate
Scans the HTML your build produces on every pull request, comments the scores and top fixes, and fails when a page drops below your minimum.
name: SEO gate
on: pull_request
permissions:
contents: read
pull-requests: write
jobs:
seo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- run: npm ci && npm run build
- uses: seoonpage/onpage-tools@v1
with:
paths: "dist/**/*.html" # built HTML to check
base-url: "https://example.com" # optional, for canonical and relative links
min-score: "80" # fail below this
max-files: "10" # about 20 scans per minuteThe pull request gets a comment like this, updated on every push:
❌ OnPage.dev SEO gate: lowest score 36 (minimum 80)
Page
Score
AI readiness
Fix first
dist/about/index.html36
0
There is no meta description; There is no H1; The title is 5 characters
dist/index.html90
22
Thin content: 32 words; No structured data; Open Graph is incomplete
Security and privacy
Read-only. Every tool only reads public pages or the HTML you send. Nothing is changed anywhere.
Public pages only. Private, internal and local network addresses are refused (SSRF protection), and so are non-web schemes.
No storage of content. HTML sent to
scan_htmlis analysed in memory and dropped. For change tracking, only the score and issue names are kept, under a hashed key, for up to 30 days.Prompt injection aware. Text from scanned pages is returned as data and marked as such.
Fair use limits. About 20 scans per minute per connection, plus a shared cap. No accounts, no keys, no tracking cookies.
Full details: onpage.dev/privacy and onpage.dev/terms.
Limits
Reads the HTML a server returns. JavaScript is not run, so content that only appears in the browser is not seen.
Link checks, image sizes and AI crawler access need a live URL, so
scan_htmlskips them.Pixel widths in
check_snippetare an estimate; Google can also rewrite snippets.
Links
Web app: onpage.dev
MCP server and setup: onpage.dev/mcp
Questions: hi@onpage.dev or open an issue
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Full-cycle SEO automation for AI agents: technical audits, SEO articles, machine-readable pricing.
Audit any site's AI visibility from your assistant: crawler access, rendering, and schema.
AI visibility score, AI crawler checks, llms.txt and robots.txt generators, AI agent guides.
Scan and fix your site's AI discoverability: crawler access, llms.txt, JSON-LD. Free.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables AI coding assistants to validate HTML/CSS markup using W3C APIs, perform technical SEO audits, check broken links, and validate JSON-LD schemas directly in local workspaces.8476 npm7MIT
- AlicenseAqualityAmaintenanceEnables AI agents to diagnose and fix technical SEO, content, and generative engine optimization issues by providing 72 tools that integrate Google Search Console, Google Analytics 4, PageSpeed Insights, structured data, llms.txt, WordPress, and GitHub.7213 npm10MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to crawl live websites, audit AEO readiness, generate Schema.org @graph JSON-LD, llms.txt, ai.txt, and robots.txt, inject structured data into HTML, validate optimizations, and retrieve framework-specific code snippets.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants and coding agents to audit, compare, and optimize websites for performance, SEO, AEO, GEO, and AI crawler accessibility directly from chat or development workflows.MIT