Skip to main content
Glama

raybot-site-doctor

An MCP server that checks a website the way a visitor and a search engine see it, and says what to fix first: search and sitemaps, structured data, speed, accessibility, phone fit and page errors.

It runs on your own computer, started by Claude Code, Claude's desktop app or your editor. It needs no API key and no account, and it sends nothing anywhere: no telemetry, no error reports, no usage counts. The only requests it makes are to the site you ask it to check.

Add it to Claude Code

# Node 22.12 or later; Chrome or Edge for the four browser checks
claude mcp add --transport stdio --scope user site-doctor -- npx -y raybot-site-doctor
# then ask Claude: "Check https://example.com and tell me what to fix first."

Or run the whole checkup as a command: /mcp__site-doctor__checkup https://example.com.

Related MCP server: AI Readiness

What it checks

Eight tools. The first four need only the network. The other four load the page in the Chrome or Edge already on your computer, started headless. Nothing downloads a browser.

Tool

Give it

What it reports

check_page

one address

The page as a search engine and a WhatsApp or Facebook preview see it: status and redirects; title and description (present, length); the H1; the canonical address (and that it answers); robots meta and X-Robots-Tag; lang and dir; hreflang language versions (each loads and points back); share title, description and image (it loads and is big enough); the viewport; JSON-LD types; images without alt; HTML size, compression, caching, server time

check_sitemaps

a site

robots.txt and every sitemap it names (indexes and gzip included): rules that block the site, lines crawlers ignore, sitemaps that don't load or parse, and each listed address that errors, redirects, is disallowed, says noindex or names another page as canonical; lastmod dates that are invalid, in the future or all the same day; language alternates that disagree with the pages

check_site

a site, a page cap

The crawl: every page the sitemaps list (or the links reach), then what only a view across pages shows: titles and descriptions duplicated within a language, broken internal links with the page they sit on, pages nothing links to (a page's own language versions don't count), hreflang that isn't returned, noindex pages in the sitemap, redirect chains, pages missing from the sitemaps

check_structured_data

one address, or whole_site

JSON-LD against schema.org's own vocabulary (types and properties that don't exist or don't belong together; the vocabulary ships with the server, its version named in every answer) and Google's rules for breadcrumbs, FAQ, product and offer, article, organization, local business and event; @id references that point at nothing

measure_speed

one address; phone or desktop

Three loads from an empty cache as a mid-range phone on slow 4G (Lighthouse's slow 4G as DevTools applies it: 562.5 ms per request, 1,475 Kbps down, the processor 4× slower), the middle one reported: first paint, largest paint and which element it is with its timeline, layout shift and what moved, blocking time, weight by kind, files that block the first paint, pictures far larger than drawn, text sent uncompressed. Then a PageSpeed Insights link for real visitors' numbers

check_accessibility

one address

axe-core's WCAG 2.2 AA rules at phone and desktop widths, the whole page drawn first; then contrast measured on the real pixels for every line of text axe leaves "to review" (text over a photograph, a gradient or a video)

check_phone_fit

one address; sizes (optional)

At phone sizes from 320×568 to 430×932: anything wider than the screen and which element; text cut off or drawn over other text; tap targets under 24×24 px without room around them (WCAG 2.5.8) and how many are under 44×44; text under 12 px; whether the main heading and a first button are on the first screen; fixed bars covering the screen

check_page_errors

one address

What breaks while the page loads: JavaScript errors, console errors, requests that fail or answer an error, insecure http:// content on an https:// page, and the other sites the page calls, with their weight

And one prompt, checkup, which runs them all on the home page and two other pages and asks for one report: the three things to fix first, then the rest by kind.

Every answer ranks what it found as fix first, worth fixing or notes, with the first examples of each and what to do, and says what passed. The same report comes back as structured data (structuredContent, with an outputSchema); Claude Code and VS Code give their model that version rather than the text, so it carries the text's closing guidance too (reading). To see every example of one kind, call the tool again with kind set to its name: for 15 minutes that re-reads the earlier check instead of checking again.

How it behaves

  • Read only. GET requests and page loads, nothing else. No tool posts, logs in, fills a form or changes anything. Each tool says so in its annotations (readOnlyHint), which also lets Claude Code run two of them side by side.

  • Polite. It reads the site it was given, its www./https twin, and the language versions the site itself names. One request at a time across the whole server, 250 ms apart by default (delay_ms), or slower if robots.txt asks with Crawl-delay. A page cap per crawl (200 by default, 1,000 at most), a 15-second timeout, links with a query string (filters, sorting) not followed when the site has sitemaps. It introduces itself as raybot-site-doctor/<version> (+https://github.com/Rayan200013/raybot-site-doctor); in the browser checks, as Chrome with that name added.

  • robots.txt followed. A page robots.txt disallows is reported as blocked, not read. To check a site that disallows crawling (a staging site usually does), the caller must pass ignore_robots_txt: true, and the report then says so on its first lines. The tools tell the assistant to use it only when you have said the site is yours or that you may test it.

  • What a page says is data. Titles, descriptions and headings come back quoted, as values in the report, never as instructions. Since no tool can send or change anything, a page written to mislead an assistant can at worst mislead the report.

  • Answers sized for an assistant. A summary in plain words with the first five examples of each kind, kept under Claude Code's 10,000-token warning (a whole-site crawl of 615 pages answered in about 3,100 characters).

It sends nothing anywhere

  • No telemetry, no analytics, no crash or error reporting, no update checks, no account.

  • The HTTP checks make requests only to the site you name (and the share image and language versions its pages name).

  • The browser checks load the page as a visitor's browser would, so the page's own files (its scripts, fonts, pictures, and any third-party tags it loads) are fetched too. The browser runs headless in a fresh temporary profile, with its background networking, crash reporting and updates switched off.

  • The answers go to your MCP client and nowhere else. What your assistant does with them is between you and its provider.

Other clients

The same server works in any MCP client that starts local servers. Checked against each app's documentation in November 2026.

Claude's desktop app: claude_desktop_config.json (on macOS in ~/Library/Application Support/Claude/, on Windows in %APPDATA%\Claude\):

{
  "mcpServers": {
    "site-doctor": { "command": "npx", "args": ["-y", "raybot-site-doctor"] }
  }
}

Cursor: ~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project):

{
  "mcpServers": {
    "site-doctor": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "raybot-site-doctor"]
    }
  }
}

VS Code (GitHub Copilot agent mode): .mcp.json at the root of the workspace, or ~/.copilot/mcp-config.json for every workspace (VS Code asks you to trust the server the first time it starts from there). Tried in VS Code 1.147 on Windows:

{
  "mcpServers": {
    "site-doctor": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "raybot-site-doctor"]
    }
  }
}

A VS Code that doesn't read .mcp.json yet takes the same server in .vscode/mcp.json, with "servers" in place of "mcpServers".

On Windows, if a client says it cannot start npx, make the command cmd and the arguments ["/c", "npx", "-y", "raybot-site-doctor"].

Requirements

  • Node.js 22.12 or later.

  • Google Chrome, Microsoft Edge or Chromium for measure_speed, check_accessibility, check_phone_fit and check_page_errors. It finds Chrome or Edge where they are usually installed; for another Chromium-based browser, set SITE_DOCTOR_BROWSER to its path. Without one, those four say so plainly and the other four still work.

The install is small: the MCP SDK, zod, playwright-core (to drive the browser you have), axe-core and parse5, about 35 MB in all.

Not in this version

  • Real visitors' speed (Chrome's field data): Google's API needs a key, and this server needs none. measure_speed gives the PageSpeed Insights link for the same address instead.

  • A score. measure_speed measures the way Lighthouse's applied throttling does, with Chrome's own timing entries, and names the element at fault; it is not Lighthouse and gives no 0–100 score.

  • Search Console (clicks, positions): it needs the site owner's Google sign-in.

  • Fixing anything. It says what to fix and where; your assistant can then change your own code.

  • Pages behind a sign-in, and judging the writing itself (the assistant reads the titles and headings the tools return and can do that).

  • Microdata and RDFa: only JSON-LD is checked.

Develop

npm install
npm test          # unit tests, the eight tools against a site built to be wrong and its fixed copy, and stdio
npm run build     # dist/

The tests serve test/fixtures/broken (duplicate titles, a broken link, an orphan, broken JSON-LD, pale text over a photograph, a row wider than a phone…) and test/fixtures/fixed: every problem must be found in the first, and the second must pass. The browser tests skip themselves when no Chrome or Edge is installed.

data/schemaorg-vocabulary.json is made from schema.org's release file with node scripts/vocabulary.mjs <file> <version> <date>.

Licence

The code is MIT licensed, copyright (c) 2026 Raybot: see LICENSE. The schema.org vocabulary in data/ is schema.org's, under CC BY-SA 3.0: see NOTICE.md.

Made by Raybot, a studio in Lebanon that builds web apps and MCP servers.

Available Tools

8 tools
check_accessibilityCheck accessibility (WCAG 2.2 AA)A
Read-onlyIdempotent

Runs axe-core (WCAG 2.2 AA rules) on one page at phone and desktop widths, after scrolling through it so lazy and below-the-fold sections are drawn. Then measures contrast on the real pixels for every line of text axe leaves 'to review' (text over a photograph, a gradient or a video): each line against the worst of what is actually behind it. Reports each problem with the element, what is wrong and the WCAG rule. Uses the Chrome or Edge on this computer.

Inputs: url (required), kind, widths, delay_ms, +1 more. Returns: tool, facts, notes, passed, +7 more

check_pageCheck one pageA
Read-onlyIdempotent

Reads one web page the way a search engine and a WhatsApp or Facebook link preview see it, and ranks what is wrong. Reports: the status and redirects; the title and meta description (present, length); the H1; the canonical address (and that it answers); robots meta and X-Robots-Tag; lang and dir; the hreflang language versions (each one loads and points back); the share title, description and image (and that the image loads and is big enough); the viewport; JSON-LD types; images without alt; HTML size, compression, caching and server time. Read-only: GET requests only, robots.txt followed.

Inputs: url (required), kind, delay_ms, ignore_robots_txt. Returns: tool, facts, notes, passed, +7 more

check_page_errorsCheck what breaks while a page loadsA
Read-onlyIdempotent

Loads one page in the Chrome or Edge on this computer (as a phone by default), scrolls through it, and reports what breaks: uncaught JavaScript errors, console errors, requests that fail (a missing script, font or picture) or answer an error status, insecure http:// content on an https page, and the other sites the page calls, with how many requests and how many bytes each.

Inputs: url (required), kind, device, delay_ms, +1 more. Returns: tool, facts, notes, passed, +7 more

check_phone_fitCheck the page on phone sizesA
Read-onlyIdempotent

Loads one page at phone sizes from 320×568 to 430×932 (or the sizes given) in the Chrome or Edge on this computer, as a touch phone, and reports: anything wider than the screen (the page scrolls sideways) and which element; text cut off or drawn over other text; tap targets under 24×24 px without room around them (WCAG 2.5.8) and how many are under 44×44 px; text under 12 px; whether the main heading and a first button are on the first screen; fixed or sticky bars covering much of the screen.

Inputs: url (required), kind, sizes, delay_ms, +1 more. Returns: tool, facts, notes, passed, +7 more

check_siteCrawl the whole siteA
Read-onlyIdempotent

Crawls a site: every page its sitemaps list (or, without sitemaps, the pages its links reach from the first page), up to a page cap, one request at a time. Reports, across pages: titles and descriptions duplicated within a language, too long or missing; missing or several H1s; canonical addresses pointing elsewhere; hreflang versions that don't answer back or have no x-default; noindex pages in the sitemap; pages nothing links to (a page's own language versions don't count); broken internal links with the page they sit on; redirect chains; missing share images; slow or uncompressed HTML. Read-only; robots.txt followed.

Inputs: url (required), kind, delay_ms, max_pages, +1 more. Returns: tool, facts, notes, passed, +7 more

check_sitemapsCheck robots.txt and the sitemapsA
Read-onlyIdempotent

Reads a site's robots.txt and every sitemap it names (or /sitemap.xml), sitemap indexes included, then each address listed. Reports: robots.txt rules that block the site or are ignored; sitemaps that don't load or don't parse; how many addresses each lists; listed addresses that answer an error, redirect, are disallowed by robots.txt, say noindex or name another page as canonical; lastmod dates that are invalid, in the future or all the same day; language alternates that disagree with the pages. Read-only, one request at a time.

Inputs: url (required), kind, delay_ms, max_pages, +1 more. Returns: tool, facts, notes, passed, +7 more

check_structured_dataCheck structured data (JSON-LD)A
Read-onlyIdempotent

Checks the JSON-LD structured data on one page, or on every page of a site (whole_site: true, found through its sitemaps). Against schema.org's own vocabulary (shipped with the server, its version named): types and properties that don't exist, properties on a type they don't belong to, superseded properties. Against Google's rules for the rich results it shows: breadcrumbs, FAQ, product and offer, article, organization, local business, event. And @id references that point at nothing on the page. Read-only; robots.txt followed.

Inputs: url (required), kind, delay_ms, max_pages, +2 more. Returns: tool, facts, notes, passed, +7 more

measure_speedMeasure how fast a page loadsA
Read-onlyIdempotent

Loads one page three times from an empty cache in the Chrome or Edge on this computer, as a mid-range phone on slow 4G (Lighthouse's slow 4G as DevTools applies it: 562.5 ms per request, 1,475 Kbps down, the processor 4× slower), or as a desktop. Reports the middle run: first paint, largest paint and which element it is (with its timeline), layout shift and what moved, blocking time from long tasks, weight by kind, files that block the first paint, pictures far larger than drawn, text sent uncompressed. Then what to fix first, and a PageSpeed Insights link for real visitors' numbers. Takes about half a minute on a phone setting.

Inputs: url (required), kind, device, delay_ms, +1 more. Returns: tool, facts, notes, passed, +7 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 8 tools

    Disambiguation4/5

    Each tool targets a distinct audit axis (SEO metadata, sitemaps, whole-site crawl, structured data, speed, accessibility, mobile layout, runtime errors), and descriptions make the boundaries fairly clear. There is mild overlap: check_page, check_site and check_page_errors all load a page and report partially overlapping facts (share images, compression, broken requests), and check_page vs check_page_errors differ by only a suffix.

    Naming Consistency4/5

    Seven of eight tools follow a clean verb_noun pattern (check_* / measure_speed), all snake_case with no camelCase mixing. The only blemish is measure_speed breaking the check_* prefix and check_page being a strict prefix of check_page_errors, which is readable but slightly less predictable.

    Tool Count5/5

    Eight tools is well within the sweet spot, and each one earns its place by covering a distinct audit dimension rather than restating another. Nothing feels redundant or padded for a site-auditing server.

    Completeness4/5

    The surface covers a full audit lifecycle: single-page SEO, sitemaps/robots, site-wide crawl, structured data, performance, accessibility, mobile fit and runtime errors — all read-only, matching the stated scope. Minor gaps remain: no dedicated TLS/security-header or external-link/redirect-map check, and no way to compare runs or export a consolidated report.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to check whether a public website is crawlable, understandable, and ready for AI search workflows through local-only audits of robots.txt, sitemaps, metadata, and llms.txt.
      3
      79 npm
      2
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Check whether a website is visible to AI search engines (ChatGPT, Perplexity, Claude, Google AI Overviews). Returns a 0-100 readiness score, a grade, and a specific fix for each gap. Dependency-free, no API keys.
      2
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Technical SEO and AI search readiness auditor that scans live URLs for AI crawler rules (OAI-SearchBot, ClaudeBot, PerplexityBot), llms.txt, sitemap.xml, OpenGraph, JSON-LD, and checkout reachability, and generates drop-in fix files.
      8
      MIT