Lexicon SEO

MCP server Lexicon SEO yang dihosting untuk audit SEO teknis dan visibilitas AI. Kata-kata itu penting.

Server MCP Terhosting

npx add-mcp 'https://lexiconseo.com/mcp'

Terpasang ke Claude Code, Codex, Cursor, dan lainnya

Dokumentasi

Use Lexicon SEO from Claude Code, Cursor, or Claude Desktop

Connect a paid Lexicon SEO account to Claude Code, Cursor, or Claude Desktop. The MCP server starts audits, reads reports, and rechecks one page.

MCP

Use Lexicon from your coding tool

A Starter, Professional, or Business account can connect Claude Code, Cursor, or Claude Desktop to Lexicon. The tools start an audit, read the stored report, and recheck one page. They use the same monthly audit allowance and page cap as the dashboard.

Create a key in settings after you sign in . Copy it when it is shown. Lexicon stores a hash of the key, not the key. Put the key in the config below in place of YOUR_API_KEY. Treat the key like a password and do not commit it. A Free account gets an upgrade error until you move to a paid plan .

Endpoint

The server is https://lexiconseo.com/mcp . Each request sends Authorization: Bearer and the key. A Starter key can make 30 requests a minute, Professional 60, and Business 120. A request past that limit is refused until the next minute.

OAuth 2.0

Claude, ChatGPT, and Perplexity can connect with OAuth 2.0 instead of a pasted key. Lexicon publishes protected-resource metadata at https://lexiconseo.com/.well-known/oauth-protected-resource and authorization-server metadata at https://lexiconseo.com/.well-known/oauth-authorization-server . Sign-in uses the same Lexicon account. A Free account sees an upgrade prompt and the connection is not approved. Starter allows 30 requests a minute, Professional 60, and Business 120, the same limits as an API key, and the same monthly allowance. Credit spend still waits for confirmation. Directory connectors that offer Sign in use this flow. The API key steps below are unchanged.

Tools

  • list_sites — List this account's saved monitoring sites and the sites it has audited. Each site includes competitors: the up to 3 competitors currently entered for it (name and, when given, domain). Read-only. No required parameters.
  • start_audit — Start a read-only audit of one public site. Uses one audit from this month's allowance and the same URL checks, page cap, and subscription checks as the dashboard. After the allowance, send confirm true to spend the quoted credit amount. Required: url (Public website URL. The audit runs on the site origin). Optional: confirm (Required only after the monthly allowance. True spends the quoted credits).
  • get_audit_status — Status, pages crawled so far, and score for an audit on this account. Required: id (Audit id from start_audit).
  • get_report — The stored audit report as Markdown (the same export as the dashboard) or JSON. In JSON, aiCitation.competitors is the competitor list the audit ran with, and each answer has competitorQuestion. Required: id (Audit id), format ( markdown or json ).
  • list_issues — Issues on a stored report, grouped by code. Optional severity is critical, warning, or info. P0, P1, and P2 select those same three levels. Required: report_id (Audit id). Optional: severity (critical, warning, info, P0, P1, or P2).
  • get_fix — Developer fix steps for one issue code, using the same guidance text as the Markdown export. Required: issue (Issue code, such as title_missing). Optional: report_id (Optional audit id. When set, affected URLs come from that report).
  • verify_fix — Fetch one public page and report whether that issue code is still present. This does not use an audit. Site-wide codes such as robots.txt are refused. Required: url (Public page URL), issue_code (Issue code to recheck on that page).
  • get_monitoring — Latest stored diff and regressions for one saved monitoring site. Required: site (Id of a monitoring site saved on this account. A host or URL for one of those sites also works).
  • extra_citation — Ask one citation question past the plan allowance. Returns the price first. Send confirm true to spend credits. Does not publish anything. Required: report_id (Audit id). Optional: confirm (True spends the quoted credits. Omit it to see the price).
  • get_citations — Citation questions and answer-readiness checks stored on a report. aiCitation.competitors is the competitor list the audit ran with (empty when none were entered), each answer has competitorQuestion true when its question names one of them, and a cited page or host on a competitor's domain is labelled "Your competitor". This does not run a new search. Required: report_id (Audit id).
  • refresh_page — Draft a title, meta description, and H1 for one page from a finished audit on this account. Business also drafts one added section. Uses one content refresh from this month's allowance. After the allowance, send confirm true to spend the quoted credits. Does not publish the page. The same page is not drafted again for 30 days. Required: report_id (Audit id), url (A page URL from that audit). Optional: confirm (Required only after the monthly allowance. True spends the quoted credits).
  • get_refresh — Read a stored content refresh draft. Does not call the model or use the monthly allowance. Omit url to list drafts stored on the report. Required: report_id (Audit id). Optional: url (Optional page URL).
  • get_next_actions — Draft next actions already computed from this audit's stored Search Console rows and crawled pages: pages close to page one, title drafts, and internal-link suggestions. Does not call a model, Search Console, or publish anything. Required: report_id (Audit id).

Claude Code

From a terminal:

claude mcp add --transport http lexicon https://lexiconseo.com/mcp --header "Authorization: Bearer YOUR_API_KEY"

Or add this to .mcp.json . Claude Code also accepts Bearer ${LEXICON_API_KEY} when the key is in the environment.

{
  "mcpServers": {
    "lexicon": {
      "type": "http",
      "url": "https://lexiconseo.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Cursor

Put this in .cursor/mcp.json in a project, or in ~/.cursor/mcp.json for every project. Cursor also accepts Bearer ${env:LEXICON_API_KEY} .

{
  "mcpServers": {
    "lexicon": {
      "url": "https://lexiconseo.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Claude Desktop

Open Customize, then Connectors, then Add custom connector. Use the URL https://lexiconseo.com/mcp . Choose no sign-in. Under Request headers, set the name to authorization and the value to Bearer YOUR_API_KEY , including the word Bearer and the space. Request headers are in beta. If that section is missing, add this to claude_desktop_config.json (on macOS, ~/Library/Application Support/Claude/claude_desktop_config.json ). It uses the mcp-remote bridge.

{
  "mcpServers": {
    "lexicon": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://lexiconseo.com/mcp",
        "--header",
        "Authorization: Bearer YOUR_API_KEY"
      ]
    }
  }
}

The score in a report is a Lexicon heuristic, not a Google score. Fix steps are the same text as the Markdown download.

Canonical: https://lexiconseo.com/docs/mcp/