Gemini Code Context MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 151 installs a week from npm. Last commit 1 May 2026.
Gemini 2M context cache for Claude Code — persistent; repeat queries ~8x faster, ~4x cheaper.
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": {
"args": [
"-y",
"@qmediat.io/gemini-code-context-mcp"
],
"command": "npx"
}
}
}
[mcp_servers.gemini-code-context-mcp]
command = "npx"
args = ["-y", "@qmediat.io/gemini-code-context-mcp"]
{
"mcpServers": {
"gemini-code-context-mcp": {
"args": [
"-y",
"@qmediat.io/gemini-code-context-mcp"
],
"command": "npx"
}
}
}
{
"mcpServers": {
"gemini-code-context-mcp": {
"args": [
"-y",
"@qmediat.io/gemini-code-context-mcp"
],
"command": "npx"
}
}
}
This one needs environment variables set before it will start:
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`, `latest-pro-thinking`, `latest-flash`, `latest-lite`, `latest-vision`) or literal model ID. Default: `latest-pro`.), GEMINI_CODE_CONTEXT_CACHE_TTL_SECONDS (Context Cache TTL in seconds. 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`.).
The author declared them in the registry entry; get the values from the project itself.
Persistent memory + git snapshots for Claude Code. Never lose context or code.
Context management, todo persistence, and multi-AI perspectives for Claude Code
Persistent memory for Claude Code. Search, recall, and re-inject context from any session.
Persistent memory for Claude Code. Search, recall, and re-inject context from any session.
Persistent terminals and one launcher for Claude, Codex, Grok, and Cursor harnesses.
Private persistent memory for Claude, ChatGPT & Gemini via MCP - semantic search, zero-code setup.
Narrow code retrieval for agents: outlines, symbol context, dep graph, persistent memory.
Persistent memory MCP server for Claude Code, Cursor, and GitHub Copilot.
Answers built from our own checks of this server.