MCP Catalogs
Home

deep-code-reasoning-mcp

by evalops·105·Score 49

MCP server combining Claude Code with Google's Gemini AI for advanced code analysis and reasoning.

developer-toolsai-llmops-infra
13
Forks
7
Open issues
this month
Last commit
2d ago
Indexed

Overview

This MCP server creates a multi-model workflow where Claude Code handles terminal integration and multi-file refactoring, while Gemini leverages its massive context window (1M tokens) and code execution capabilities for distributed system debugging and long-trace analysis. It provides intelligent routing between the two models based on specific strengths of each AI system.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Analyzing distributed system failures across multiple services with GB of logs
you:Performance regression hunting by correlating deployment timeline with metrics
you:Hypothesis-driven debugging with systematic validation across multiple scenarios
you:What makes this server different from other AI code analysis tools?
you:What are the prerequisites to use this MCP server?

When to choose this

Choose this MCP server when your development workflow requires deep code analysis beyond single-file contexts, especially for distributed systems, performance regression hunting, or when you need to correlate failures across multiple services and logs.

When NOT to choose this

Avoid this server if you cannot use Google's Gemini API due to compliance or vendor lock-in concerns, or if you primarily work with small codebases that don't require the massive context window capabilities.

Tools this server exposes

9 tools extracted from the README
  • start_conversation{claude_context: {attempted_approaches: string[], partial_findings: any[], stuck_description: string, code_scope: {files: string[], entry_points?: CodeLocation[], service_names?: string[]}}, analysis_type: 'execution_trace' | 'cross_system'

    Initiates a conversational analysis session between Claude and Gemini.

  • continue_conversation{session_id: string, message: string, include_code_snippets?: boolean}

    Continues an active conversation with Claude's response or follow-up question.

  • finalize_conversation{session_id: string, summary_format: 'detailed' | 'concise' | 'actionable'}

    Completes the conversation and generates structured analysis results.

  • get_conversation_status{session_id: string}

    Checks the status and progress of an ongoing conversation.

  • escalate_analysis{claude_context: {attempted_approaches: string[], partial_findings: any[], stuck_description: string, code_scope: {files: string[], entry_points?: CodeLocation[], service_names?: string[]}}, analysis_type: 'execution_trace' | 'cross_system'

    Main tool for handing off complex analysis from Claude Code to Gemini.

  • trace_execution_path{entry_point: {file: string, line: number, function_name?: string}, max_depth?: number, include_data_flow?: boolean}

    Deep execution analysis with Gemini's semantic understanding.

  • cross_system_impact{change_scope: {files: string[], service_names?: string[]}, impact_types?: ('breaking' | 'performance' | 'behavioral')[]}

    Analyze impacts across service boundaries.

  • performance_bottleneck{code_path: {entry_point: {file: string, line: number, function_name?: string}, suspected_issues?: string[]}, profile_depth?: 1-5}

    Deep performance analysis beyond simple profiling.

  • hypothesis_test{hypothesis: string, code_scope: {files: string[], entry_points?: CodeLocation[]}, test_approach: string}

    Test specific theories about code behavior.

Comparable tools

mcp-code-interpretermcp-sandboxmcp-shell

Installation

Quick Install for Cursor

[![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=deep-code-reasoning&config=eyJjb21tYW5kIjoibm9kZSIsImFyZ3MiOlsiL3BhdGgvdG8vZGVlcC1jb2RlLXJlYXNvbmluZy1tY3AvZGlzdC9pbmRleC5qcyJdLCJlbnYiOnsiR0VNSU5JX0FQSV9LRVkiOiJ5b3VyLWdlbWluaS1hcGkta2V5In19)

Manual Installation

  1. Clone the repository:
git clone https://github.com/Haasonsaas/deep-code-reasoning-mcp.git
cd deep-code-reasoning-mcp
  1. Install dependencies:
npm install
  1. Set up your Gemini API key:
cp .env.example .env
# Edit .env and add your GEMINI_API_KEY
  1. Build the project:
npm run build

Claude Desktop Configuration

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "deep-code-reasoning": {
      "command": "node",
      "args": ["/path/to/deep-code-reasoning-mcp/dist/index.js"],
      "env": {
        "GEMINI_API_KEY": "your-gemini-api-key"
      }
    }
  }
}

FAQ

What makes this server different from other AI code analysis tools?
It combines the strengths of two AI models - Claude Code for local-context operations and CLI-native workflows, and Gemini with its 1M token context for large-scale codebase analysis and distributed system debugging.
What are the prerequisites to use this MCP server?
You need Node.js 18 or later, a Google Cloud account with Gemini API access, and a Gemini API key from Google AI Studio.

Compare deep-code-reasoning-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.