gemini-code-context-mcp
io.github.qmediat/gemini-code-context-mcp
About gemini-code-context-mcp
gemini-code-context-mcp is an MCP server published by the GitHub account qmediat. Codebase Q&A for Claude Code through Gemini's 1M-token window, with workspace scans and caching.
It runs on your own machine: your AI client starts it from the npm package @qmediat.io/gemini-code-context-mcp at version 1.20.0.
It asks for one secret: GEMINI_API_KEY. Give it a key with the least access that still works.
Version 1.20.0 was published on 6 October 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 6 pass, 1 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
GEMINI_CREDENTIALS_PROFILE | No | No | 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 | No | Yes | 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 | No | No | Set to `true` to use Vertex AI backend via Application Default Credentials. Requires GOOGLE_CLOUD_PROJECT. |
GOOGLE_CLOUD_PROJECT | No | No | GCP project ID when using Vertex AI backend. Only read when GEMINI_USE_VERTEX=true. |
GEMINI_DAILY_BUDGET_USD | No | No | 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 | No | No | 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 | No | No | `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 | No | No | 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 | No | No | `debug` | `info` | `warn` | `error`. Default: `info`. |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/qmediat/gemini-code-context-mcp |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 1 secret: GEMINI_API_KEY |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account qmediat |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | @qmediat.io/gemini-code-context-mcp@1.20.0 runs nothing at install |
| Code red flags | Warn | Reads SSH or cloud credentials (dist/tools/agentic/sandbox.js:6: "/.ssh/id_"); Reads SSH or cloud credentials (dist/tools/agentic/sandbox.d.ts:6: "/.ssh/id_") |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 91 files, including comments and the README |
Popularity & health: 57 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
1 forks, 92 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.qmediat/gemini-code-context-mcp |
|---|---|
| Publisher | GitHub account qmediat |
| How the name is verified | Name verified via GitHub account qmediat. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm @qmediat.io/gemini-code-context-mcp 1.20.0 (stdio) |
| Version | 1.20.0 |
| Published | |
| Last updated | |
| Source repository | https://github.com/qmediat/gemini-code-context-mcp |
| Website | None linked |
| Category | AI & media generation (assigned by keyword rule, not by hand) |
Related servers in AI & media generation
- Store API4/4GPT, Claude, Gemini, DeepSeek, Grok, Qwen and GLM through one API…
- mcp-server-google-antigravity7/7MCP server exposing Google Antigravity (agy CLI / Gemini): jobs,…
- context-doctor7/7Cut LLM agent token use in Claude Code, Cursor, Codex, Gemini CLI.…
- llm-cost-estimator7/7Token counting & multi-model LLM cost estimates: GPT-4o, Claude,…
- authenticated-multi-llm-agent4/4Google-OAuth-gated LLM gateway: verify a Google ID token, then run…
- ai-cli-mcp7/7Run Claude, Codex, Gemini, Forge, and OpenCode CLIs through MCP…