MCP server for SEO with AI agents

A local stdio MCP server exposes the same tools to Claude Code, Claude Desktop, Codex, Cursor and other MCP clients. Registration is shown before any file is changed.

What it does

Profiles

--profile full exposes every tool. The audit, infra, quick-check and router profiles expose smaller sets for focused sessions, so the agent sees fewer schemas. The router profile advertises only a doctor, URL inspection, the audit workflow and the tool catalogue, and the agent can discover the rest through the catalogue. A narrower profile blocks excluded tools at once, while a client must restart to see newly enabled ones.

  • audit: the bounded audit-workflow tools
  • infra: domain, CDN, technology, security, headers, robots and sitemap checks
  • quick-check: small URL checks, including the batch check
  • spiderhead mcp status --json shows the profile and the exact tool counts

Safe registration

Registration is a plan first. Run spiderhead mcp install with --dry-run to see the config block, the file it would change, a backup path and the original SHA-256. Nothing is written. Add --yes to apply it. The client config is backed up, replaced atomically and parsed again, and other servers in it are kept.

  • Clients: Claude Code, Claude Desktop, Codex and Cursor, chosen with --client
  • --expected-sha256 refuses the install if the file changed after the preview
  • spiderhead mcp uninstall restores from the backup
  • spiderhead mcp disable stops the server from accepting calls

Agents with memory

Projects keep scope, crawl policy, scans and history, so the next agent continues from the saved project instead of the chat. A project inbox holds the specialist's notes and proposed goals. A host can also scope one MCP process to a consumer name and a list of allowed project folders.

  • workflow-status tells a new agent the next registered step
  • Writes take the current revision and fail on a conflict
  • Paid operations need explicit confirmation, such as confirm_paid=true

Three steps, one saved scan

  1. Preview the registration

    Run the install with --dry-run first. It prints the exact config block, the file it would change, a backup path and a sha256, and writes nothing.

  2. Install with --yes

    Once you have read the plan, add --yes. The previous config is backed up next to it, and --expected-sha256 refuses the install if the file changed after the preview.

  3. Agents continue the saved project

    Projects keep scope, crawl policy, scans and history. The next agent picks up the saved project instead of starting from the chat.

Checks in this feature

CheckWhat it meansSeverityEvidence
REDIRECT_LOOPA redirect chain returns to a URL it already visited, so it never settlesCriticalLoop path from the redirect chain (hop records from a native crawl, or an imported Redirect Chains export)
BROKEN_INTERNAL_LINKAn internal link points to a URL that returns 4xxCriticalClient Error (4xx) inlinks: source page and link position
REDIRECT_CHAINMore than one hop before the final URLImportantEvery hop with its status code and location
INTERNAL_LINK_TO_REDIRECTAn internal link points to a 3xx URL instead of the final pageImportantRedirection (3xx) inlinks: source page and DOM position
BAD_REDIRECT_TYPEA 302, 303 or 307 is used where a permanent move is meantTipStatus code per hop

One command

bash
claude mcp add spiderhead -- /absolute/path/to/spiderhead/target/release/spiderhead mcp

Install first: installation guide. Every command also runs as an MCP tool for AI agents.

What you need

  • An MCP client: Claude Code, Claude Desktop, Codex, Cursor or any stdio client
  • The spiderhead binary you built, as an absolute path
  • Nothing else to install: the server is the mcp subcommand of the CLI
  • Provider keys only for paid or account-based tools

Limits

  • It is a local stdio server. There is no hosted MCP endpoint
  • There is no call journal yet, so keep your own log if you need an audit trail
  • Tools can send requests when you ask for a check or a crawl. Read the catalogue to see which
  • Installing the entry does not enable MCP by itself, and it needs --yes to write anything

Questions

Does registering the server change my config?
Not in preview. --dry-run writes nothing and shows the file it would change (for Claude Code, ~/.claude.json), a backup path and a sha256. The change happens only with --yes.
Which clients are supported?
Claude Code, Claude Desktop, Codex and Cursor, selected with --client. Any other MCP client can use the same stdio server command.
How many tools does an agent see?
It depends on the profile. The full profile exposes every registered tool, and audit, infra, quick-check and router expose much smaller sets. Run spiderhead mcp status --json to see the exact count for each profile in your install.
Does the server run in the cloud?
No. It is a local stdio process. Network requests go out only for the checks you trigger, such as a URL or a crawl. A crawl writes its scan under ./scans/ by default.
Can an agent spend my money?
Not silently. Paid operations need explicit confirmation (confirm_paid=true), and they need your own provider keys. tool-catalog marks which tools can spend money.
How do I turn it off?
Run spiderhead mcp disable. A running server then rejects further tool calls. uninstall removes the entry from a client config and restores it from the backup.

Try it on your own site