j0hanz avatar

Code Assistant

j0hanz/code-assistant

Connects Claude to Google Gemini for code review and analysis workflows. Exposes 13 tools including PR diff generation, breaking change detection, code smell analysis, documentation generation, and algorithm verification via Gemini's execution sandbox. Returns structured JSON validated with Zod schemas. Supports MCP tasks with polling and cancellation for long-running operations. Also includes web search with Google Grounding for documentation lookup. Requires a Gemini API key and runs over stdio. Useful when you want Gemini's code understanding in your MCP pipeline, especially for automated PR reviews or generating architecture documentation from source files.

tools
13
transport
STDIO
last updated
Mar 3, 2026

Tools

13 tools

Public tool metadata for what this MCP can expose to an agent.

generate_diffCapture git diff (unstaged/staged) and cache server-side

Capture git diff (unstaged/staged) and cache server-side

No parameter schema in public metadata yet.

analyze_pr_impactAssess severity, categories, breaking changes, rollback complexity

Assess severity, categories, breaking changes, rollback complexity

No parameter schema in public metadata yet.

generate_review_summaryPR summary, risk rating, merge recommendation

PR summary, risk rating, merge recommendation

No parameter schema in public metadata yet.

generate_test_planPrioritized test cases and coverage guidance

Prioritized test cases and coverage guidance

No parameter schema in public metadata yet.

analyze_time_space_complexityBig-O complexity analysis and degradation detection

Big-O complexity analysis and degradation detection

No parameter schema in public metadata yet.

detect_api_breaking_changesDetect breaking API/interface changes

Detect breaking API/interface changes

No parameter schema in public metadata yet.

load_fileCache a source file for analysis tools

Cache a source file for analysis tools

No parameter schema in public metadata yet.

refactor_codeComplexity, duplication, naming, grouping suggestions

Complexity, duplication, naming, grouping suggestions

No parameter schema in public metadata yet.

detect_code_smellsStructural code smells (Fowler taxonomy)

Structural code smells (Fowler taxonomy)

No parameter schema in public metadata yet.

generate_documentationJSDoc/TSDoc/docstring stubs for public exports

JSDoc/TSDoc/docstring stubs for public exports

No parameter schema in public metadata yet.

ask_about_codeNatural-language Q&A about a cached file

Natural-language Q&A about a cached file

No parameter schema in public metadata yet.

verify_logicVerify algorithms via Gemini code execution sandbox

Verify algorithms via Gemini code execution sandbox

No parameter schema in public metadata yet.

web_searchGoogle Search with Grounding

Google Search with Grounding

No parameter schema in public metadata yet.

Sponsors

Readme

Code Lens MCP Server

npm version License: MIT


View the full README on GitHub

Details

Repository
github.com/j0hanz/code-assistant
Website
github.com/j0hanz/code-assistant#readme
Category
AI & LLM Tools
Package
@j0hanz/code-assistant
Transport
STDIO
Registry
MCP registry, active

More from j0hanz

Related AI & LLM Tools MCP servers

View all
1j0hanz avatarCode Lensj0hanz/code-lensGemini-powered MCP server for code analysis.0stars
2jdkabattles avatarForgingStack Quorumjdkabattles/forgingstack-quorumBefore an agent acts alone, get the quorum. One proposal, N approvals, one receipt.0stars
3jdkabattles avatarForgingStack Watchtowerjdkabattles/forgingstack-watchtowerAn agent that stops checking in is an agent you hear about.0stars
4jessepetersondev avatarConsentgate Mcpjessepetersondev/consentgate-mcpGate AI agent actions behind a consent policy with human approval via Telegram. Fail-closed.0stars
5jlmoreno00 avatarCodex Imagesjlmoreno00/codex-images-mcpGenerate and edit images with gpt-image-2, including masks and transparency.0stars
6juanjaragavi avatarDevSpeakio.github.juanjaragavi/devspeakImprove or correct developer writing, or turn rough notes into technical specs, from your agent.0stars