Skip to content
MCP server
Registry

gemini-code-context-mcp MCP Server

Codebase Q&A for Claude Code through Gemini's 1M-token window, with workspace scans and caching.

gemini-code-context-mcp scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 1 tool. Filed under AI and memory. GitHub shows 0 stars. Package registries report about 459 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by qmediatMITTypeScript0 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "qmediat-gemini-code-context-mcp": {      "command": "npx",      "args": [        "-y",        "@qmediat.io/gemini-code-context-mcp@1.25.1"      ],      "env": {        "GEMINI_CREDENTIALS_PROFILE": "",        "GEMINI_API_KEY": "YOUR_GEMINI_API_KEY",        "GEMINI_USE_VERTEX": "",        "GOOGLE_CLOUD_PROJECT": "",        "GEMINI_DAILY_BUDGET_USD": "",        "GEMINI_CODE_CONTEXT_DEFAULT_MODEL": "",        "GEMINI_CODE_CONTEXT_CACHING_MODE": "",        "GEMINI_CODE_CONTEXT_CACHE_TTL_SECONDS": "",        "GEMINI_CODE_CONTEXT_LOG_LEVEL": ""      }    }  }}

Environment variables

NameRequiredNotes
GEMINI_CREDENTIALS_PROFILEOptionalProfile 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_KEYSecretOptionalFallback 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_VERTEXOptionalSet to `true` to use Vertex AI backend via Application Default Credentials. Requires GOOGLE_CLOUD_PROJECT.
GOOGLE_CLOUD_PROJECTOptionalGCP project ID when using Vertex AI backend. Only read when GEMINI_USE_VERTEX=true.
GEMINI_DAILY_BUDGET_USDOptionalHard 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_MODELOptionalModel 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_MODEOptional`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_SECONDSOptionalContext 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_LEVELOptional`debug` | `info` | `warn` | `error`. Default: `info`.

Tools1Tool docs quality grade C

All capabilities
  • A question about a workspace too large to send whole

About

gemini-code-context-mcp

Ask Gemini about your whole codebase from Claude Code: one scan per workspace, reused for every next question.

Install

npx @qmediat.io/gemini-code-context-mcp init     # stores your Gemini API key or Vertex AI project
claude mcp add --scope user gemini-code-context -- npx -y @qmediat.io/gemini-code-context-mcp

Try it

Use gemini-code-context.ask to summarize this codebase

Tools

ToolWhat it does
askA question about the whole workspace
ask_agenticA question about a workspace too large to send whole
codeA coding task for Gemini
statusCache state, models, cost so far
reindexScan the workspace again
clearDelete this workspace's cache

Supports · version 1.25.1

Works inClaude Code · Claude Desktop · Cursor
ModelsGemini 4 Carbon, Argon, Hydrogen · Gemini 3.x and 2.5 Pro, Flash, Flash-Lite
Sign-inGemini API key · Vertex AI

Docs

ReadFile
First 3 minutes, Claude Desktop, Cursordocs/getting-started.md
Every tool, ask or ask_agenticdocs/tools.md
Settings and parametersdocs/configuration.md
Modelsdocs/models.md
How caching worksdocs/how-caching-works.md
Cost and the daily budgetdocs/cost-model.md
Securitydocs/security.md
Why this serverdocs/why.md
Coming from gemini-mcp-tooldocs/migration-from-jamubc.md
Maintenance and supportdocs/maintenance.md
For AI agentsAGENTS.md

Node.js 22 or newer · MIT · Quantum Media Technologies · Trademarks

Frequently asked questions

What is gemini-code-context-mcp MCP Server?

Codebase Q&A for Claude Code through Gemini's 1M-token window, with workspace scans and caching.

How do I install gemini-code-context-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. gemini-code-context-mcp MCP Server runs locally from the npm package @qmediat.io/gemini-code-context-mcp with the command npx -y @qmediat.io/gemini-code-context-mcp@1.25.1.

Is gemini-code-context-mcp MCP Server free and open source?

Yes. gemini-code-context-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does gemini-code-context-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for gemini-code-context-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does gemini-code-context-mcp MCP Server provide?

gemini-code-context-mcp MCP Server provides 1 tool: ask_agentic. See the full tool list for descriptions and parameters.

How is gemini-code-context-mcp MCP Server's trust score calculated?

gemini-code-context-mcp MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server