# Deep Code Reasoning MCP Server

> Analyze code and distributed system issues with Gemini.

- **URL**: https://followmcp.com/en/servers/deep-code-reasoning-mcp
- **Category**: Dev Tools
- **Origin**: Community
- **Stars**: 109
- **FMRS Score**: 43/100 (Grade D)
- **Source**: https://github.com/dx-corp/deep-code-reasoning-mcp
- **Transports**: stdio (local process)
- **Runtimes**: Node.js 18+
- **Auth**: API key / credential required

## Overview
Deep Code Reasoning MCP Server connects Claude Code with Google Gemini for complementary code analysis. It provides execution path and data flow tracing, cross-service impact analysis, performance bottleneck analysis, hypothesis testing, and multi-turn conversations between Claude and Gemini. The README says it uses Gemini 2.5 Pro Preview and supports context up to 1M tokens.

## Best for
- Developers who need to analyze large codebases, long logs, or traces spanning services.
- Teams that want to combine a Claude Code workflow with Gemini analysis.

## Not for
- Users who do not want to send code to the Google Gemini API.
- Users who do not need Gemini-assisted analysis or cannot provide a Gemini API key.

## Required permissions
- Requires GEMINI_API_KEY to access the Gemini API.
- The README says the server reads local files; it needs read access to the file paths used.
- Code, logs, and traces sent for analysis go to Google; review its data policies.

## Risks
- Code and diagnostic data may contain sensitive information; confirm data handling requirements before sending them to the Gemini API.
- An invalid key, API quota, or rate limit may cause analysis to fail.
- The README describes code execution capabilities but does not explain the execution environment or isolation.

## Client config (JSON)
```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"}}}}
```

## Tools (9)
- `start_conversation`: Start a multi-turn analysis session between Claude and Gemini.
- `continue_conversation`: Send a message or follow-up question to an active analysis session.
- `finalize_conversation`: End a session and generate structured results in the requested format.
- `get_conversation_status`: Check the status and progress of an analysis session.
- `escalate_analysis`: Hand a complex code analysis task to Gemini.
- `trace_execution_path`: Analyze code execution paths and data flow.
- `cross_system_impact`: Analyze how code changes affect multiple services.
- `performance_bottleneck`: Analyze performance bottlenecks in a code path.
- `hypothesis_test`: Test a hypothesis about code behavior.
