Skip to content
Gemini CLI

cogmemai for Gemini CLI

io.github.hifriendbot/cogmemai

The smart memory layer for everything Ai. 95.10% LongMemEval (highest published).

client:Gemini CLI transport:stdio runtime:npm

Install cogmemai in Gemini CLI

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

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

{
  "mcpServers": {
    "cogmemai": {
      "command": "npx",
      "args": [
        "-y",
        "cogmemai-mcp"
      ],
      "env": {
        "COGMEMAI_API_KEY": "<COGMEMAI_API_KEY>"
      }
    }
  }
}

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

cogmemai in other clients