Gemini CLI logo
Gemini CLI
★ 107.5k
vs
code-graph-mcp logo
code-graph-mcp
★ 85

Gemini CLI vs code-graph-mcp

Gemini CLI: Gemini CLI is Google's open-source AI agent for the terminal, providing direct access to Gemini models with a free tier of 60 requests/minute and 1,000/day. It ships with built-in tools for Google Search grounding, file operations, shell command execution, and web fetching, plus native MCP support for custom integrations. Built for developers who work primarily in the command line.; code-graph-mcp: code-graph-mcp is a high-performance server that builds a structured knowledge graph of your codebase for AI coding assistants. It offers multi-language AST parsing, semantic search, call graph traversal, and HTTP route tracing to provide deep code understanding and optimize LLM context usage.

01

TL;DR

Gemini CLI logo
Gemini CLICode Assistant · ★ 107.5k
When to choose:
  • You want an Apache-2.0 terminal coding and task agent from Google with a generous free tier using a personal Google account.
  • You want built-in file editing, shell execution, Google Search grounding, MCP server support, and a GitHub Action for CI.
When to skip:
  • You want to switch freely between Claude, OpenAI, DeepSeek, and local Ollama models inside the same terminal agent; Open Interpreter supports any OpenAI-compatible provider.
  • You prefer a graphical desktop workspace over a command-line interface; AionUi or Cherry Studio provide GUI clients.
code-graph-mcp logo
code-graph-mcpCode Assistant · ★ 85

Perform impact analysis to understand the consequences and blast radius of proposed code changes.

02

Side-by-Side Comparison

Field
Gemini CLI logoGemini CLI
code-graph-mcp logocode-graph-mcp
Category
Code Assistant
Code Assistant
Stars
★ 107.5k
★ 85
License
Apache-2.0
MIT
Install Command
npm install -g @google/gemini-cli
/plugin marketplace add sdsrss/code-graph-mcp && /plugin install code-graph-mcp
Updated
1d ago
1d ago
Open Source
Yes
Yes
Tags
CLI, AI Agent, Gemini
Code Knowledge Graph, AST Parsing, Semantic Search
03

Features

Gemini CLI logoGemini CLI
01Free tier: 60 req/min and 1,000 req/day with a personal Google account
02Built-in tools: Google Search grounding, file ops, shell commands, web fetch
03Native MCP support for custom tool integrations
04Access to Gemini 3 models with 1M token context window
05Open source under Apache 2.0 license
code-graph-mcp logocode-graph-mcp
01Multi-language AST parsing across various depths (calls, imports, inheritance, HTTP routes) for languages like TypeScript, Python, Go, Rust, and Java.
02Hybrid semantic code search combining BM25 full-text and vector similarity search with Reciprocal Rank Fusion (RRF).
03Advanced code graph analysis including recursive call graph traversal, HTTP route tracing, dead code detection, and impact analysis.
04Incremental indexing with real-time updates via Merkle tree change detection and LLM context optimization through token-aware snippet extraction.
04

Use Cases

Gemini CLI logoGemini CLI
↳Running AI-assisted development tasks directly in the terminal without switching contexts
↳Automating shell workflows with natural language instructions and real-time web grounding
↳Extending terminal AI capabilities with custom MCP servers for project-specific tools
code-graph-mcp logocode-graph-mcp
↳Perform impact analysis to understand the consequences and blast radius of proposed code changes.
↳Trace transitive call chains to understand complex function flows and dependencies across your codebase.
↳Conduct semantic searches to find relevant code based on conceptual descriptions, even if exact keywords are not present.
↳Gain a comprehensive overview of project architecture, modules, dependencies, and entry points.
05

Best For

Gemini CLI logoGemini CLI
Most PopularEssentialTrending
code-graph-mcp logocode-graph-mcp
—
FAQ

FAQ

What is the difference between Gemini CLI and code-graph-mcp?
Both Gemini CLI and code-graph-mcp are in the Code Assistant category. Gemini CLI has 107.5k stars, while code-graph-mcp has 85 stars.
Which is better, Gemini CLI or code-graph-mcp?
The best choice depends on your use case. Choose Gemini CLI if Running AI-assisted development tasks directly in the terminal without switching contexts, and code-graph-mcp if Perform impact analysis to understand the consequences and blast radius of proposed code changes..
Is Gemini CLI free or open source?
Yes, Gemini CLI is open source on GitHub (Apache-2.0).
Is code-graph-mcp free or open source?
Yes, code-graph-mcp is open source on GitHub (MIT).
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
→

Related