# MegaLens

> MegaLens is a freemium MCP server for developer tools. Code review by AI models from different companies, showing where they agree and disagree. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** CLI, API, Web
- **Website:** https://megalens.ai/integrations
- **Repository:** https://github.com/megalens/mcp
- **MCP Registry name:** ai.megalens/mcp
- **Categories:** developer tools, AI models and LLM tooling
- **Listing updated:** 2026-11-16

## About

MegaLens checks what an AI coding agent wrote before it reaches your git history. It selects up to four models from different AI companies to review the code independently, with two on the Free plan, and a judge marks a finding as verified only when it can quote the code that proves it. The result shows where the reviewers agree and where they disagree, and the review runs on MegaLens servers.

It connects over MCP to Claude Code, Codex CLI, Cursor, Gemini CLI and Lovable, to OAuth connector tools such as ChatGPT and Claude.ai by pasting a URL, and to anything else through a REST API; GitHub Copilot is listed as coming soon. A setup wizard run with npx megalens-mcp setup asks for your MegaLens token, detects installed tools and writes their configs, and the README shows each tool's different config format. Lovable uses a form instead of a file.

The first review is free with no card. Bring-your-own OpenRouter key is supported with an extra header. The final choice of what to apply stays with you and your coding agent.

## Features

- **Multi-company panel:** Up to four models from different AI companies review the code.
- **Verified findings:** A judge verifies a finding only if it can quote supporting code.
- **Agreement view:** Reports where reviewers agree and disagree.
- **Setup wizard:** npx megalens-mcp setup detects tools and writes their configs.
- **Many clients:** Works with Claude Code, Codex CLI, Cursor, Gemini CLI, Lovable and OAuth connectors.
- **REST API:** Run reviews from any tool that can make an HTTP request.

## Good for

- Review code an AI agent just wrote before committing
- Get a second opinion from models of different vendors
- Check a Lovable-built app
- Run reviews from ChatGPT or Claude.ai via a connector URL
- Script reviews through the REST API

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http mcp https://megalens.ai/api/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://megalens.ai/api/mcp
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://megalens.ai/api/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://megalens.ai/api/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://megalens.ai/api/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://megalens.ai/api/mcp"
    }
  }
}
```

## FAQ

### Is there a free tier?

Yes. The first review is free with no card, and Free selects two reviewing models.

### Which tools are supported?

Claude Code, Codex CLI, Cursor, Gemini CLI and Lovable, with GitHub Copilot coming soon.

### Where does the review run?

On MegaLens servers.

### Can I use my own model key?

Yes, the README describes adding your own OpenRouter key through a header.

### Is MegaLens free?

MegaLens has a free plan, with paid plans for more usage or features.

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

Run this command in your terminal: claude mcp add --transport http mcp https://megalens.ai/api/mcp

### What are the best alternatives to MegaLens?

The closest alternatives to MegaLens are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/megalens
