# Run SEOCode inside Cursor and Claude.

> Run SEOCode's SEO and AI search checks inside your editor. The seocode-mcp server audits the file you are editing in Cursor, Claude Desktop or Claude Code.

Source: https://seocode.io/mcp

For AI coding

AI assistants write code fast and often break metadata. Our MCP server checks the file you're editing, before it ships. Free, local, no account.

- [Set it up →](https://seocode.io/docs#mcp)

- [Install the GitHub App](https://github.com/apps/seocode-pr-check/installations/new)

Free · runs on your machine · Cursor, Claude Desktop, Claude Code, OpenAI Codex and any MCP client

```
# ask your AI assistant, in any file:
"audit this file for SEO issues"
```

## Your AI assistant, plus a real SEO engine.

MCP lets your editor call tools. Ours runs on your machine, using the CLI and GitHub App engine.

### Add one config block

Point your MCP client at the `seocode-mcp` server. It runs locally over stdio, so you don't need an account or a network connection.

### Ask in chat

Type "audit this file for SEO issues". Your assistant runs the full SEO and GEO ruleset on the file.

### Get findings and fixes

Issues come back by severity, each with the exact fix. Ask for a 1-click fix and apply it on the spot.

## Three tools, one engine.

Two tools run the same engine as the CLI and GitHub App. The third reads the brief.

### `audit_file`

Runs the full ruleset on one file. Framework-aware, so it won't false-flag dynamic metadata. Issues come grouped by severity, each with its fix.

### `suggest_fix`

Returns a 1-click code replacement for one issue. Rules that can't safely rewrite code return written guidance instead. It never invents a fix.

### `get_brief`

Today's brief, with each change's verdict, our take and sources, so your assistant can tell you what changed and link back.

**Use it with the GitHub App**

The MCP checks the file you ask about, when you ask. The GitHub App checks every pull request from your team automatically. Use the MCP while you code and the App to catch what you miss.

## One config block.

Works in **Cursor**, **Claude Desktop**, **Claude Code** and **OpenAI Codex**. Most use this JSON block in their MCP settings:

```
{
  "mcpServers": {
    "seocode": {
      "command": "npx",
      "args": ["-y", "-p", "@qobi/seocode", "seocode-mcp"]
    }
  }
}
```

OpenAI Codex uses TOML instead - add to `~/.codex/config.toml`:

```
[mcp_servers.seocode]
command = "npx"
args = ["-y", "-p", "@qobi/seocode", "seocode-mcp"]
```

Reload your editor after adding it. For a local build, point `command` at `node` and the built `dist/src/mcp/index.js`. Full steps in the [docs](https://seocode.io/docs#mcp).

## Questions, answered.

**Does my code leave my machine?**

**Is it free?**

**How is this different from the GitHub App?**

**How is this different from other SEO MCP servers?**

**Which editors work?**

**Does it honor my .seocode.json?**

## Catch SEO bugs while you type.

Use the MCP server locally, then install the GitHub App so the same rules run on every pull request.

- [Set it up →](https://seocode.io/docs#mcp)

- [Install the GitHub App](https://github.com/apps/seocode-pr-check/installations/new)
