Code Lens
Gemini-backed MCP tools for reviewing diffs, analyzing source files, checking complexity, and generating code documentation.
Install Code Lens
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"code-lens": {
"command": "npx",
"args": [
"-y",
"@j0hanz/code-lens-mcp@latest"
],
"env": {
"GEMINI_API_KEY": "YOUR_VALUE_HERE",
"GOOGLE_API_KEY": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.
Overview
Use cases
- Review a staged or unstaged Git diff
- Assess pull-request risk and breaking changes
- Generate prioritized test cases
- Inspect cached files for code smells and refactoring opportunities
- Verify algorithm logic with code execution
Key features
- Gemini-backed code review and analysis
- Git diff capture with server-side caching
- Pull-request impact and API compatibility checks
- Complexity, code-smell, and refactoring analysis
- Documentation stub and test-plan generation
- Google Search with Grounding
Tools13
What Code Lens lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 15d ago via OSV.dev · @j0hanz/code-lens-mcp@latest (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Code Lens works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Code Lens
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/code-lens)<a href="https://allmcps.com/mcp/code-lens"><img src="https://allmcps.com/api/badge/code-lens?style=directory" alt="Code Lens on AllMCPs" /></a>