← Index

io.github.qmediat/gemini-code-context-mcp

io.github.qmediat/gemini-code-context-mcp·v1.16.3·AI & LLMs

Gemini 2M context cache for Claude Code — persistent; repeat queries ~8x faster, ~4x cheaper.

Trust verdict · v1 advisory · method
NOT YET SCREENEDno verdict on file

Verdict not yet evaluated for this tool. The semantic screen takes adversarial cases first; coverage rolls out as the corpus expands (15/150 labels to graduation). The deterministic conformance probe is built but has not yet run on the public corpus, so a recorded verdict here is REVIEW or UNVERIFIED, never a clearing ALLOW. Until a verdict is recorded, an agent should treat this tool as not-yet-cleared and fall back to its own checks. Method: the eval, four-state verdict, honest limits.

Own this server? Screen its description →

Environment variables
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
secret

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

MCP quality score · maturity, not trust · methodology
freshness
24
completeness
10
installability
25
documentation
15
stability
10
Alternatives in AI & LLMs