Skip to content
Gemini CLI

PiyAPI Memory for Gemini CLI

io.github.negentro-ai/piyapi

Long-term memory for AI agents: store, search and ask over each user's memories.

client:Gemini CLI transport:stdio runtime:npm

Install PiyAPI Memory 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": {
    "piyapi": {
      "command": "npx",
      "args": [
        "-y",
        "@piyapi/mcp-server"
      ],
      "env": {
        "PIYAPI_API_KEY": "<PIYAPI_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

PiyAPI Memory in other clients