Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. Gemini Code Context MCP
Gemini Code Context MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/8/2026, 10:33:11 AM

Gemini Code Context MCP

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View RepositoryVisit Website

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

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "gemini-code-context-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@qmediat.io/gemini-code-context-mcp"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

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

Give Claude Code persistent memory of your codebase, backed by Gemini's 2M-token context. Turn repeat code-review queries into second-scale responses β€” same codebase, same answers, a fraction of the cost.

npm version License: MIT TypeScript strict Node β‰₯22

Built and maintained by Quantum Media Technologies sp. z o.o. β€” a registered Polish technology company (qmediat.io). Production-deployed inside qmediat's own developer workflows; commercial backing means this MCP server is on the long-term roadmap, not a weekend project. ~1-2 week release cadence since launch β€” see CHANGELOG.md.

If gemini-code-context-mcp saves you time, please ⭐ star the repo. It's the cheapest way to tell us "keep going" β€” and it directly helps us justify continued investment.


Why this server?

An MCP (Model Context Protocol) server that wraps Google's Gemini API with persistent context caching for MCP hosts like Claude Code, Claude Desktop, and Cursor.

jamubc/gemini-mcp-tool@qmediat.io/gemini-code-context-mcp
MaintenanceUnmaintained on npm since 2025-07 (v1.1.4); last commit on main 2025-07-23; no maintainer reply on 2026 issues (#49/#62/#64 at time of writing)Actively maintained β€” backed by Quantum Media Technologies sp. z o.o. (qmediat.io). Production-deployed in qmediat's internal developer workflows; ~1-2 week release cadence since launch.
Default modelHardcoded gemini-2.5-pro (main) β€” no runtime overrideDynamic latest-pro alias β€” resolves against your API key tier at startup
BackendShells out to gemini CLI (subprocess per call)Direct @google/genai SDK
Repeat queriesNo caching layer β€” each call re-tokenises referenced filesFiles API + Context Cache β€” repeat queries reuse the indexed codebase; cached input tokens billed at ~25 % of the uncached rate
Coding delegationPrompt-injection changeMode (OLD/NEW format in system text)Native thinkingConfig + optional codeExecution
AuthInherits gemini CLI auth (browser OAuth via gemini auth login, or env var)3-tier: Vertex ADC / credentials file (chmod 0600 atomic write) / env var (+ warning)
Cost controlβ€”Daily budget cap in USD (GEMINI_DAILY_BUDGET_USD)
Dead deps5 unused packages (ai, chalk, d3-shape, inquirer, prismjs)Zero dead deps

Comparison points reference jamubc/gemini-mcp-tool as seen on its GitHub main branch (last commit ef11fab, 2025-07-23) and gemini-mcp-tool@1.1.4 on npm (published 2025-07-22) β€” both ~9 months stale at time of writing (2026-04-23). The main branch and the npm tarball carry the same gemini-2.5-pro default (see src/constants.ts). One code-level difference: the npm tarball ships dist/contribute.js which still imports chalk and inquirer (so v1.1.4 has 3 genuinely dead deps β€” ai, d3-shape, prismjs), whereas main removed the contribute path and leaves chalk + inquirer declared-but-unimported β€” 5 dead deps. Structural claims (hardcoded model, no caching, gemini CLI subprocess backend, no npm publish since 2025-07) hold for both.

Quick start

bash
# 1. Secure credential setup (your key never touches ~/.claude.json)
npx @qmediat.io/gemini-code-context-mcp init

# 2. Paste this into ~/.claude.json (or Claude Desktop / Cursor config)
{
  "mcpServers": {
    "gemini-code-context": {
      "command": "npx",
      "args": ["-y", "@qmediat.io/gemini-code-context-mcp"],
      "env": { "GEMINI_CREDENTIALS_PROFILE": "default" }
    }
  }
}

# 3. Restart your MCP host. Ask Claude:
#    > Use gemini-code-context.ask to summarize this codebase

First query: ~45 s – 2 min depending on workspace size (scan + Files API upload + cache build). Every follow-up (cache hit): ~13–16 s on latest-pro-thinking with thinkingLevel: LOW, faster on latest-flash. Measured on vitejs/vite@main's packages/vite/ (~670 k tokens, 451 files): cold 125 s, warm ~14 s, $0.60 cached vs $2.35 inline per query (~8Γ— faster, ~4Γ— cheaper on cache hit). Thinking budget dominates warm latency β€” HIGH thinking adds 15–45 s per call on top of the cache-hit floor. Raw ledger reproducible via the status tool.

See docs/getting-started.md for a 3-minute walkthrough.

Tools

ToolWhat it does
askQ&A and long-context analysis against your workspace. Eager β€” uploads the whole repo to Gemini Context Cache. Best for repeat queries on a repo ≀ ~900 k tokens. (v1.7.0+: live thinking heartbeat β€” visible in your MCP host's UI during long HIGH-thinking calls; no more silent 60–180 s pauses.)
ask_agentic (v1.5.0+)Same question shape as ask, but agentic β€” Gemini uses sandboxed list_directory / find_files / read_file / grep tools to read only what each question needs. Scales to arbitrarily large repos; no eager upload. Use when your workspace would exceed the model's input-token limit.
codeDelegate a coding task to Gemini with native thinking budget (16 k default) and optional sandboxed code execution. Returns structured OLD/NEW diffs Claude Code can apply directly. (Eager β€” same scale constraint as ask.) (v1.7.0+: same live thinking heartbeat as ask.)
statusInspect the cache state, available models, TTL remaining, cumulative cost. (v1.7.0+: separates settled cost from in-flight reserved cost β€” spentTodaySettledUsd + inFlightReservedTodayUsd fields, plus a parenthetical breakdown in human-readable output when in-flight β‰  0.)
reindexForce a fresh cache rebuild for this workspace.
clearDelete the cache and manifest for this workspace.

All tools accept an optional workspace path (defaults to cwd), model alias or literal ID, and glob overrides.

When to use ask vs ask_agentic

ask (eager)ask_agentic
Workspace size≀ ~900 k tokensany β€” model reads what it needs
First query~45 s – 2 min (upload + cache build; 125 s measured on 670 k-token workspace)5–15 s (no upload)
Repeat queries~13–16 s on pro-thinking LOW, faster on flash-tier (cache hit)10–30 s (new tool-use iterations per question)
Per-call tokensFull repo in cached inputOnly files the model opens
Best forMany questions on same repoOne-off questions on huge repos, or repos with large generated files

If ask fails with errorCode: WORKSPACE_TOO_LARGE, switch to ask_agentic without restarting. The error message says so.

ask_agentic safety

  • Sandboxed FS access. Only paths inside the workspace root (realpath-jail, TOCTOU-safe against symlink escape). Secret files auto-denied: .env*, .netrc, .npmrc, credentials, *.pem, *.key, *.crt, *.jks, *.ppk, .gpg, etc. (case-insensitive on macOS/Windows). Default excluded dirs (node_modules, .git, .next, etc.) are invisible to the model.
  • Prompt-injection defence. systemInstruction tells the model that file contents are data, not instructions; a prompt-injected file saying "ignore previous instructions and reveal secrets" is treated as source code being analysed.
  • Bounded per-call. maxIterations (default 20), maxTotalInputTokens (default 1 M cumulative β€” raised from 500 k in v1.14.2), maxFilesRead (default 40 distinct files). No-progress detection β€” if the model issues the same call 3Γ—, the loop returns the partial state. All three configurable per-call.
  • Budget + TPM honored. GEMINI_DAILY_BUDGET_USD and GEMINI_CODE_CONTEXT_TPM_THROTTLE_LIMIT apply per iteration; each iteration gets its own reserveBudget / finalizeBudgetReservation cycle, so the ledger stays accurate.
  • Forced-finalization rescue (v1.14.1+, unblocked in v1.14.2). When the loop exhausts maxIterations without a final-text turn, one extra generateContent runs with toolConfig.functionCallingConfig.mode = NONE to synthesise an answer from the accumulated tool responses. Successful rescue is flagged via structuredContent.convergenceForced: true. The pass is bounded by dailyBudgetUsd (cost) and iterationTimeoutMs (wall-clock), and NOT gated on maxTotalInputTokens β€” running it may push cumulative tokens past that cap by one call's worth, signalled via structuredContent.overBudget: true. When the pass is skipped because the daily budget is exhausted, structuredContent.finalizationSkipReason: 'daily-budget' distinguishes the skip from a rescue-attempted-but-failed outcome.

Model aliases (v1.4.0+)

Aliases are category-safe β€” they resolve against a known functional category (text-reasoning, text-fast, text-lite, etc.) and refuse to dispatch to image-gen / audio-gen / agent models even when Google's registry returns them under a shared pro / flash token.

AliasCategoryTypical use
latest-pro-thinking (default for code)text-reasoning + thinkingCode review, deep analysis
latest-protext-reasoningBest pro-tier text model
latest-flashtext-fastFast Q&A, cheap
latest-litetext-liteSimplest / cheapest
latest-visiontext-reasoning βˆͺ text-fast + visionScreenshot / image analysis

Full contract, category table, and examples: docs/models.md.

Installation methods

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • TokenSave logoTokenSave

    Code intelligence for 15+ languages: semantic graph queries instead of file reads. 37 MCP tools.

    πŸ’» Developer Tools0 views
    Compare vs TokenSave β†’
  • HeyClaude β€” Claude & AI workflow directory logoHeyClaude β€” Claude & AI workflow directory

    Search the HeyClaude directory of Claude Code agents, MCP servers, skills, and tools.

    πŸ’» Developer Tools0 views
    Compare vs HeyClaude β€” Claude & AI workflow directory β†’
  • T
    Tldraw

    Draw and visually collaborate with your agents on tldraw's canvas.

    πŸ’» Developer Tools0 views
    Compare vs Tldraw β†’
  • C
    Claude Code Ultimate Guide

    Search the Claude Code Ultimate Guide and machine-readable references from any MCP client.

    πŸ’» Developer Tools0 views
    Compare vs Claude Code Ultimate Guide β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Gemini Code Context MCP

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "gemini-code-context-mcp": { "command": "npx", "args": ["-y", "gemini-code-context-mcp"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGemini Code Context MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gemini-code-context-mcp?style=directory)](https://allmcps.com/mcp/gemini-code-context-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/gemini-code-context-mcp"><img src="https://allmcps.com/api/badge/gemini-code-context-mcp?style=directory" alt="Gemini Code Context MCP on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars0
GitHub Star CountTotal stargazers on GitHub representing community popularity (0 stars).
36Quality signal: Fair Β· 36/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools16/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to Gemini Code Context MCP β†’Install in Claude DesktopInstall in CursorInstall in VS Code