Skip to content
Grok

Code Lens for Grok

io.github.j0hanz/code-lens

Gemini-powered MCP server for code analysis.

client:Grok transport:stdio runtime:npm

Install Code Lens in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "code-lens": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@j0hanz/code-lens-mcp"
      ]
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Code Lens in other clients