Skip to content
Verified official

gemini code context mcp MCP

v1.16.3

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

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

transport:stdio runtime:npm

Target client

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add gemini-code-context-mcp -e GEMINI_CREDENTIALS_PROFILE=<GEMINI_CREDENTIALS_PROFILE> -e GEMINI_API_KEY=<GEMINI_API_KEY> -e GEMINI_USE_VERTEX=<GEMINI_USE_VERTEX> -e GOOGLE_CLOUD_PROJECT=<GOOGLE_CLOUD_PROJECT> -e GEMINI_DAILY_BUDGET_USD=<GEMINI_DAILY_BUDGET_USD> -e GEMINI_CODE_CONTEXT_DEFAULT_MODEL=<GEMINI_CODE_CONTEXT_DEFAULT_MODEL> -e GEMINI_CODE_CONTEXT_CACHE_TTL_SECONDS=<GEMINI_CODE_CONTEXT_CACHE_TTL_SECONDS> -e GEMINI_CODE_CONTEXT_LOG_LEVEL=<GEMINI_CODE_CONTEXT_LOG_LEVEL> -- npx -y @qmediat.io/gemini-code-context-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

This listing does not declare its tools. Connect the server and your client will discover them on the handshake.