← Back to directory
D

Deep Code Reasoning MCP Server

Community
Analyze code and distributed system issues with Gemini.
Category
Dev Tools #590 of 751
Stars
★ 109 Popular
Transport
stdio (local process)
Runtime
Node.js 18+
Credentials
API key / credential required
License
MIT
Last commit
Tools
9
43FMRS · D

The README describes MCP tools for Gemini-assisted code analysis, including conversational analysis, execution tracing, cross-system impact, performance analysis, and hypothesis testing. It requires Node.js 18 or later and a Gemini API key, and may read local code files; the README notes that code is sent to Google. The server manifest was not cached, so additional metadata could not be confirmed.

Strongest · Setup experience 10/20 Weakest · Maintenance 7/20

Reliability
8/20
Security and permissions
8/20
Maintenance
7/20
Documentation
10/20
Setup experience
10/20
Why each score
Reliability 8/20
The README lists tools, parameters, dependencies, and expected MCP usage, making the happy path plausible. However, no manifest, source code, CI, or committed tests are provided, so initialization, tool behavior, error handling, and dependency control cannot be verified. Under static calibration, reliability stays at or below 12.
Security and permissions 8/20
The README says a Gemini API key is required and discloses that code is sent to Google Gemini and that the server reads local files. These provide basic data-flow notice, but source evidence does not establish file-access scope, key-protection details, outbound request handling, or permission boundaries. No red-line evidence is present.
Maintenance 7/20
The repository has an MIT license, an author attribution, a GitHub issues support channel, and is not marked archived. There is no evidence here of releases, commit activity, issue response, dependency updates, or a security-response process, so maintenance assurance is limited.
Documentation 10/20
The README covers features, tool parameters, configuration, examples, troubleshooting, and a data-privacy notice. It is usable at a basic level, but setup depends on manual cloning, building, and configuration; costs, limits, and error behavior are not sufficiently documented, and key capabilities cannot be cross-checked against a manifest or source.
Setup experience 10/20
The README specifies a Node.js version, dependency installation and build steps, and Cursor and Claude Desktop configuration examples. Users must prepare an API key, edit paths, and build manually. With no verifiable CI or committed tests, static calibration caps setup at 15.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesRuns commands or codeUses the network

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 and side effects

  • 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.

Setup

Before you start

Runtime:Node.js 18+

GEMINI_API_KEY requiredsecret Required Google Gemini API key; obtain one from Google AI Studio.

Requires Node.js 18 or later, a Google Cloud account with Gemini API access, and a Gemini API key. Install dependencies and build the project, then configure Claude Desktop with command set to node, args pointing to the built dist/index.js, and GEMINI_API_KEY supplied as an environment variable. The README also provides a Cursor quick-install link, with instructions to update the local file path and API key. The server path is the repository root.

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"}}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

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

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.deep-code-reasoning]
command = "node"
args = ["/path/to/deep-code-reasoning-mcp/dist/index.js"]

[mcp_servers.deep-code-reasoning.env]
GEMINI_API_KEY = "your-gemini-api-key"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add deep-code-reasoning -e GEMINI_API_KEY=your-gemini-api-key -- node /path/to/deep-code-reasoning-mcp/dist/index.js

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Check that the deep-code-reasoning tools appear in your client’s tool list. Then ask it to trace an execution path from a specified entry point and confirm it returns an analysis.

Troubleshooting

  1. If GEMINI_API_KEY is not found, check the environment variable or the .env file in the project root.
  2. For file-not-found errors, check that supplied paths are absolute and that the server can read them.
  3. For Gemini API errors, check the key, permissions, quota, rate limits, and whether the project has enabled the Gemini API.
  4. For validation errors, check required fields and use snake_case parameter names.

Things to try

Once connected, you can ask your AI assistant things like:

  • Trace the data flow and state changes along this execution path.
  • Assess how changes to these files could affect the services involved.
  • Check this code path for likely performance bottlenecks.
  • Test this hypothesis: cache misses are causing repeated database queries.

Tools 9

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

Use cases

Correlate logs and traces across services to investigate distributed failures.
Analyze code execution paths, state changes, and cross-service impact.
Investigate performance regressions, N+1 queries, memory leaks, or algorithmic bottlenecks.
Debug complex code behavior through iterative analysis and hypothesis testing.

Supported clients

Claude Desktop
CursorPartial support

Listed from the project's documentation, not tested by this site.

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.

Similar servers

Source revision be1573c9b76f Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/deep-code-reasoning-mcp.svg)](https://followmcp.com/en/servers/deep-code-reasoning-mcp)