# Lumen

> Lumen is an open-source MCP server. Deterministic SEO audits as MCP tools: 36-rule site audit, keywords, rank, CWV reports. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/nitishagar/lumen
- **MCP Registry name:** io.github.nitishagar/lumen
- **Listing updated:** 2026-11-13

## About

Deterministic SEO audits as MCP tools: 36-rule site audit, keywords, rank, CWV reports.

## Install

### Claude Code (Terminal)

```sh
claude mcp add lumen --env LUMEN_PSI_KEY='<LUMEN_PSI_KEY>' --env LUMEN_CRUX_KEY='<LUMEN_CRUX_KEY>' --env LUMEN_OPR_KEY='<LUMEN_OPR_KEY>' -- npx -y @lumen-seo/cli
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "lumen": {
      "command": "npx",
      "args": [
        "-y",
        "@lumen-seo/cli"
      ],
      "env": {
        "LUMEN_PSI_KEY": "<LUMEN_PSI_KEY>",
        "LUMEN_CRUX_KEY": "<LUMEN_CRUX_KEY>",
        "LUMEN_OPR_KEY": "<LUMEN_OPR_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "lumen": {
      "command": "npx",
      "args": [
        "-y",
        "@lumen-seo/cli"
      ],
      "env": {
        "LUMEN_PSI_KEY": "<LUMEN_PSI_KEY>",
        "LUMEN_CRUX_KEY": "<LUMEN_CRUX_KEY>",
        "LUMEN_OPR_KEY": "<LUMEN_OPR_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "lumen": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@lumen-seo/cli"
      ],
      "env": {
        "LUMEN_PSI_KEY": "<LUMEN_PSI_KEY>",
        "LUMEN_CRUX_KEY": "<LUMEN_CRUX_KEY>",
        "LUMEN_OPR_KEY": "<LUMEN_OPR_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "lumen": {
      "command": "npx",
      "args": [
        "-y",
        "@lumen-seo/cli"
      ],
      "env": {
        "LUMEN_PSI_KEY": "<LUMEN_PSI_KEY>",
        "LUMEN_CRUX_KEY": "<LUMEN_CRUX_KEY>",
        "LUMEN_OPR_KEY": "<LUMEN_OPR_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "lumen": {
      "command": "npx",
      "args": [
        "-y",
        "@lumen-seo/cli"
      ],
      "env": {
        "LUMEN_PSI_KEY": "<LUMEN_PSI_KEY>",
        "LUMEN_CRUX_KEY": "<LUMEN_CRUX_KEY>",
        "LUMEN_OPR_KEY": "<LUMEN_OPR_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Lumen free?

Yes. Lumen is open source, so you can use and self-host it for free.

### How do I add Lumen to Claude Code?

Run this command in your terminal: claude mcp add lumen --env LUMEN_PSI_KEY='<LUMEN_PSI_KEY>' --env LUMEN_CRUX_KEY='<LUMEN_CRUX_KEY>' --env LUMEN_OPR_KEY='<LUMEN_OPR_KEY>' -- npx -y @lumen-seo/cli

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/lumen-3
