Skip to content
Gemini CLI

Link Preview Cache API for Gemini CLI

io.github.cmondillo/link-preview-cache-api

Same link preview data as link-preview-api, ~1/3 the price via a shared cache.

client:Gemini CLI transport:streamable-http

Install Link Preview Cache API in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "link-preview-cache-api": {
      "httpUrl": "https://link-preview-cache-api.onrender.com/mcp"
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Link Preview Cache API in other clients