Skip to content
Cursor

ctxlint for Cursor

io.github.yawlabs/ctxlint

Lint AI agent context files (CLAUDE.md, AGENTS.md, etc.) against your actual codebase

client:Cursor transport:stdio runtime:npm

Install ctxlint in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "ctxlint": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@yawlabs/ctxlint"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

ctxlint in other clients