{
  "slug": "io-github-qmediat-gemini-code-context-mcp",
  "name": "io.github.qmediat/gemini-code-context-mcp",
  "title": "gemini-code-context-mcp",
  "description": "Codebase Q&A for Claude Code through Gemini's 1M-token window, with workspace scans and caching.",
  "version": "1.20.0",
  "publishedAt": "2026-10-06T13:55:41.184606Z",
  "updatedAt": "2026-10-06T13:55:41.184606Z",
  "repoUrl": "https://github.com/qmediat/gemini-code-context-mcp",
  "websiteUrl": null,
  "namespace": {
    "type": "github",
    "owner": "qmediat"
  },
  "kind": "local",
  "packages": [
    {
      "registryType": "npm",
      "identifier": "@qmediat.io/gemini-code-context-mcp",
      "version": "1.20.0",
      "transport": "stdio",
      "runtimeHint": null
    }
  ],
  "remotes": [],
  "envVars": [
    {
      "name": "GEMINI_CREDENTIALS_PROFILE",
      "isSecret": false,
      "isRequired": false,
      "description": "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."
    },
    {
      "name": "GEMINI_API_KEY",
      "isSecret": true,
      "isRequired": false,
      "description": "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."
    },
    {
      "name": "GEMINI_USE_VERTEX",
      "isSecret": false,
      "isRequired": false,
      "description": "Set to `true` to use Vertex AI backend via Application Default Credentials. Requires GOOGLE_CLOUD_PROJECT."
    },
    {
      "name": "GOOGLE_CLOUD_PROJECT",
      "isSecret": false,
      "isRequired": false,
      "description": "GCP project ID when using Vertex AI backend. Only read when GEMINI_USE_VERTEX=true."
    },
    {
      "name": "GEMINI_DAILY_BUDGET_USD",
      "isSecret": false,
      "isRequired": false,
      "description": "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`."
    },
    {
      "name": "GEMINI_CODE_CONTEXT_DEFAULT_MODEL",
      "isSecret": false,
      "isRequired": false,
      "description": "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."
    },
    {
      "name": "GEMINI_CODE_CONTEXT_CACHING_MODE",
      "isSecret": false,
      "isRequired": false,
      "description": "`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."
    },
    {
      "name": "GEMINI_CODE_CONTEXT_CACHE_TTL_SECONDS",
      "isSecret": false,
      "isRequired": false,
      "description": "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."
    },
    {
      "name": "GEMINI_CODE_CONTEXT_LOG_LEVEL",
      "isSecret": false,
      "isRequired": false,
      "description": "`debug` | `info` | `warn` | `error`. Default: `info`."
    }
  ],
  "category": "ai-media",
  "subcategory": "llm",
  "company": "",
  "categoryAuto": true,
  "checks": [
    {
      "id": "source-linked",
      "label": "Source repository linked",
      "result": "pass",
      "detail": "https://github.com/qmediat/gemini-code-context-mcp"
    },
    {
      "id": "version-pinned",
      "label": "Version pinned",
      "result": "pass",
      "detail": "Every package has an explicit version"
    },
    {
      "id": "secrets-requested",
      "label": "Secrets requested",
      "result": "info",
      "detail": "Asks for 1 secret: GEMINI_API_KEY"
    },
    {
      "id": "known-registry",
      "label": "Known package registry",
      "result": "pass",
      "detail": "All packages come from npm, PyPI, OCI, NuGet or MCPB"
    },
    {
      "id": "namespace",
      "label": "Namespace ownership",
      "result": "info",
      "detail": "Name verified via GitHub account qmediat"
    },
    {
      "id": "meta-text",
      "label": "Registry text aimed at the AI",
      "result": "pass",
      "detail": "Description and settings contain no hidden characters or instructions to the AI"
    },
    {
      "id": "install-scripts",
      "label": "Install scripts",
      "result": "pass",
      "detail": "@qmediat.io/gemini-code-context-mcp@1.20.0 runs nothing at install"
    },
    {
      "id": "code-flags",
      "label": "Code red flags",
      "result": "warn",
      "detail": "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_\")"
    },
    {
      "id": "ai-text",
      "label": "Text aimed at the AI",
      "result": "pass",
      "detail": "No hidden characters or instructions to the AI in 91 files, including comments and the README"
    }
  ],
  "scannedAt": "2026-10-29",
  "level": "Scanned",
  "install": [
    {
      "label": "Claude Desktop (npm)",
      "kind": "claude_desktop_json",
      "text": "{\n  \"mcpServers\": {\n    \"gemini-code-context-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@qmediat.io/gemini-code-context-mcp@1.20.0\"\n      ]\n    }\n  }\n}"
    }
  ],
  "curated": true,
  "stars": 0,
  "archived": false,
  "pushedAt": "2026-10-26T07:09:12Z",
  "health": {
    "score": 57,
    "parts": {
      "popularity": 0.24190251854669884,
      "activity": 0.9589387148326686,
      "issues": null,
      "security": 0.8
    },
    "fail": 0,
    "warn": 1,
    "raw": {
      "stars": 0,
      "forks": 1,
      "downloads": 366,
      "hn": null,
      "issuesOpen": 0,
      "issuesClosed": 0,
      "prsMerged": 92,
      "commits90": 39,
      "release": "2026-10-06T10:30:12Z",
      "pushed": "2026-10-26T07:09:12Z",
      "growth": null,
      "growthDays": null,
      "archived": false
    },
    "at": "2026-10-31T07:42:38.200Z"
  }
}
