io.github.qmediat/gemini-code-context-mcp MCP Server
io.github.qmediat/gemini-code-context-mcp
What is the io.github.qmediat/gemini-code-context-mcp MCP server?
Gemini 2M context cache for Claude Code — persistent; repeat queries ~8x faster, ~4x cheaper.
How to install io.github.qmediat/gemini-code-context-mcp
Copy-paste configuration for popular MCP clients.
GEMINI_CREDENTIALS_PROFILEProfile 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_KEYsecretFallback 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_VERTEXSet to `true` to use Vertex AI backend via Application Default Credentials. Requires GOOGLE_CLOUD_PROJECT.
GOOGLE_CLOUD_PROJECTGCP project ID when using Vertex AI backend. Only read when GEMINI_USE_VERTEX=true.
GEMINI_DAILY_BUDGET_USDHard 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_MODELModel alias (`latest-pro`, `latest-pro-thinking`, `latest-flash`, `latest-lite`, `latest-vision`) or literal model ID. Default: `latest-pro`.
GEMINI_CODE_CONTEXT_CACHE_TTL_SECONDSContext 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`.
Related MCP servers

io.github.qmediat/ideogram-mcp
Ideogram V3 API — generate, edit, remix, reframe, replace background, upscale images
Framework-aware technical SEO and AI-discoverability (GEO) audits for your codebase, in your editor.
One Data Plane for crypto research, with 42 live tools for markets, entities, news, and signals.
Real-time crypto market data, funding rates, arbitrage and trading tools from 60+ exchanges.
View repository →Generate, update, manage, and track QR codes using the QRStuff platform.
View repository →

