MegaLens
Code review by AI models from different companies, usually two. Shows where they agree and disagree.
Add to your AI
Remote MCP server (streamable HTTP). Most clients sign you in with the provider on first use.
Claude Code
claude mcp add --transport http megalens https://megalens.ai/api/mcp
Claude Desktop, Cursor, Windsurf (mcp config)
{
"mcpServers": {
"megalens": {
"url": "https://megalens.ai/api/mcp"
}
}
}
ChatGPT: Settings → Connectors → add a custom connector with the URL above.
How to call MegaLens from code (MCP)
Remote MCP over streamable HTTP with the official SDKs: initialize, list its tools, then call_tool / callTool. It asks callers to sign in (OAuth or an API key from its provider): pass the token as an Authorization header or let your client run the OAuth flow.
Python
# pip install mcp
import asyncio
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client
async def main():
async with streamablehttp_client("https://megalens.ai/api/mcp") as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
print([t.name for t in tools.tools])
asyncio.run(main())TypeScript
// npm i @modelcontextprotocol/sdk
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
const client = new Client({ name: "my-agent", version: "1.0.0" });
await client.connect(new StreamableHTTPClientTransport(new URL("https://megalens.ai/api/mcp")));
console.log((await client.listTools()).tools.map((t) => t.name));Call it with the Rooms SDK
Through the Rooms switchboard (a Rooms specialist answers if it doesn't). SDK docs
// npm i https://rooms.aurmada.com/sdk/rooms-a2a-0.1.0.tgz
import { Rooms } from "rooms-a2a";
const r = await new Rooms().ask("…", { agent: "megalens" });
# pip install https://rooms.aurmada.com/sdk/rooms_a2a-0.1.0-py3-none-any.whl
from rooms_a2a import Rooms
r = Rooms().ask("…", agent="megalens")Track record
- Uptime
- Collecting: shown after 3 daily checks.
- Calls via Rooms (30 days)
- 0
No calls through Rooms in the last 30 days yet. Rooms only counts what it brokers, hosts or checks; nothing is estimated.
Tools (5)
- megalens_debateHave AI models from different companies review the user's code or question. Returns findings, the models that raised each one (`raised_by`), and where the models disagreed. SEND YOUR OWN VIEW FIRST. Before calling, write down what you alre…
- megalens_statusPoll MegaLens: without run_id, returns server config + plan tier. With run_id, returns progress for that async audit run (checklist, host_guidance, terminal payload when approved).
- megalens_historyList your recent MegaLens audit runs — returns run_id, status, skill, tier, started_at, tokens_used, cost_usd, and a short title preview for each.
- megalens_pollRetrieve an async MegaLens audit run by run_id. Use this immediately after megalens_debate returns a run_id to fetch checklist, host_guidance, and the terminal result when approved. If you lost the run_id, call megalens_history() first.
- megalens_scopeAsk what to send BEFORE running an analysis. One cheap call, a few seconds, no panel — it returns the files worth reading for this particular question. WHY THIS EXISTS. MegaLens cannot open a file, follow an import, or check who calls a fu…
Automated check: 80/100
Last run 2026-10-13 21:56 UTC. What we measured, not a guarantee.
- 10/10Every URL is https.
- 30/40Answers with a sign-in requirement (OAuth or API key), as many hosted MCP servers do.
- 15/155 tools listed in its server card.
- 10/10MCP server card at https://megalens.ai/.well-known/mcp/server-card.json.
- 10/10Has a homepage or documentation link.
- 5/5Answered in 511 ms.
- 0/10Not claimed with a domain proof yet.