Skip to content

MCP (Model Context Protocol)

If you already have a direct bearer API key (see Authentication), you can connect an MCP-capable AI agent (Claude, an LLM client, your own agent code) straight to the API without writing any REST-calling code yourself.

https://seo-audit.seoltys.pl/api/mcp

Authenticate the same way as the direct API: Authorization: Bearer YOUR_API_KEY. This is a standard Streamable HTTP MCP server, running in stateless mode (no session ID needed between calls) — point any MCP client at the URL above with your API key in the Authorization header and it should just work.

Tool What it does
run_seo_audit Starts a full SEO audit for a URL. Returns a report_id immediately — the audit itself runs in the background (30–180 seconds typical). Accepts an optional format (“json”, default, or “markdown”) and an optional geo_quotability boolean (Pro plan and above only — see below).
get_audit_status Checks whether a report_id is pending, completed, or failed.
get_audit_report Fetches the full report, once get_audit_status reports completed — structured JSON by default, or Markdown prose if that run requested format: "markdown".

This mirrors the async start/poll/fetch pattern used by the RapidAPI marketplace flow — a tool call has the same “caller’s timeout is shorter than a slow audit” problem as any HTTP client, so run_seo_audit doesn’t block waiting for the result.

GEO Quotability Review (Pro plan and above)

Section titled “GEO Quotability Review (Pro plan and above)”

Pass geo_quotability: true to run_seo_audit to opt in to an LLM-judged score of how well the page is written to be quoted/cited by AI answer engines, included in the completed report under a geo_quotability key. This requires the key’s account to be on a Pro plan or above — calling it from a Basic/free-tier key returns an MCP tool error with the message "GEO Quotability Review is available on the Pro plan and above. Upgrade your plan to use this feature." instead of starting the audit.

  1. Agent calls run_seo_audit with { "url": "https://example.com" } → gets back { "report_id": 123, "status": "pending" }.
  2. Agent calls get_audit_status with { "report_id": 123 } every few seconds until status is no longer pending.
  3. Once status is completed, agent calls get_audit_report with { "report_id": 123 } → gets back the full report as structured JSON (or Markdown text, if format: "markdown" was passed to run_seo_audit), ready to read or pass along in a response.

Every MCP tool call consumes from the same key’s rate limit and monthly quota as the direct REST API — see Rate limits & quotas. There is no separate MCP-specific allowance.