Gemini Code Context MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 238 installs a week from npm. Last commit 16 Oct 2026.
Codebase Q&A for Claude Code through Gemini's 1M-token window, with workspace scans and caching.
Today is the operative word: we check Gemini Code Context MCP every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add gemini-code-context-mcp -- npx -y @qmediat.io/gemini-code-context-mcp
{
"mcpServers": {
"gemini-code-context-mcp": {
"command": "npx",
"args": [
"-y",
"@qmediat.io/gemini-code-context-mcp"
]
}
}
}
[mcp_servers.gemini-code-context-mcp]
command = "npx"
args = ["-y", "@qmediat.io/gemini-code-context-mcp"]
{
"mcpServers": {
"gemini-code-context-mcp": {
"command": "npx",
"args": [
"-y",
"@qmediat.io/gemini-code-context-mcp"
]
}
}
}
{
"servers": {
"gemini-code-context-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@qmediat.io/gemini-code-context-mcp"
]
}
}
}
Optional settings from the registry entry, left out of the block above:
GEMINI_CREDENTIALS_PROFILE (Profile name in ~/.config/qmediat/credentials (chmod 0600). Created by `npx @qmediat.io/gemini-code-context-mcp init`. Recommended; keeps your API key out of ~/.claude.json), GEMINI_API_KEY (Fallback Tier 3 auth. Your Gemini API key. Emits a warning at startup recommending you move it to the credentials profile via the init command), GEMINI_USE_VERTEX (Set to `true` to use Vertex AI backend via Application Default Credentials. Requires GOOGLE_CLOUD_PROJECT), GOOGLE_CLOUD_PROJECT (GCP project ID when using Vertex AI backend. Only read when GEMINI_USE_VERTEX=true), GEMINI_DAILY_BUDGET_USD (Hard daily USD cap enforced locally. Server refuses calls after the cap until UTC midnight. Unlimited if unset. Honoured by `ask`, `code`, and per-iteration by `ask_agentic`), GEMINI_CODE_CONTEXT_DEFAULT_MODEL (Model alias (`latest-pro-thinking`, `latest-pro`, `latest-flash`, `latest-lite`, `latest-vision`) or literal model ID, read by ask, ask_agentic and code. Default: `latest-pro-thinking` (the thinking tier). code replaces a configured default that resolves but cannot reason or think with `latest-pro-thinking` and reports it as `configuredModelReplaced`; a default that does not resolve fails every tool), GEMINI_CODE_CONTEXT_CACHING_MODE (`implicit` (default since v1.14.0: the workspace text is sent inline, Gemini's automatic prefix cache decides any discount) or `explicit` (Files API upload + Context Cache with Google's cached-input price). Per-call `cachingMode` wins), GEMINI_CODE_CONTEXT_CACHE_TTL_SECONDS (Context Cache TTL in seconds in explicit caching mode. Default: 3600 (1 hour). Hot workspaces (<10 min since last use) auto-refresh via background watcher), GEMINI_CODE_CONTEXT_LOG_LEVEL (`debug` | `info` | `warn` | `error`. Default: `info`).
Run Claude, Codex, Gemini, Forge, and OpenCode CLIs through MCP with background jobs
Scans MCP server auth code for OAuth 2.1 anti-patterns: token passthrough, missing audience
Scans MCP server auth code for OAuth 2.1 anti-patterns: token passthrough, missing audience
Bridge Claude with Gemini CLI for AI-to-AI collaboration, code review, and second opinions
A 1:1 replica of Claude Desktop's computer-use tool surface, for Windows and the Claude Code CLI.
Model multiplexer — route tasks to Codex, Gemini, and Claude CLIs with smart routing.
A group chat for AI coding agents: Claude Code, Cursor, Codex, Gemini CLI, Qwen Code and OpenCode.
Shared workspace where Claude, ChatGPT, Codex and Grok share files, tasks, decisions and handoffs.
Answers built from our own checks of this server.