Cursor + Gemini Setup
Use your Google Gemini key so memory notes run off-plan (they do not spend your Claude subscription). You do not clone the repo.Install
- Get a key at Google AI Studio.
- Run:
Settings by hand (optional)
npx claude-mem install so Cursor hooks and the worker are in place. Do not restart a healthy worker.
Restart Cursor
Close and reopen Cursor so hooks load.Verify
Health:curl -s "http://127.0.0.1:${CLAUDE_MEM_WORKER_PORT}/api/health" (port also in ~/.claude-mem/.worker.port). Open the worker URL from install to see notes.
Models
To pin a model:
Troubleshooting
Key not configured —cat ~/.claude-mem/settings.json should show CLAUDE_MEM_PROVIDER gemini and your key.
HTTP 429 — wait, enable Google billing, or use OpenRouter.
Worker idle — read ~/.claude-mem/logs/worker-YYYY-MM-DD.log. Do not restart a healthy worker (the note queue is in memory).
Next steps
- Cursor Integration — default CMEM Pro install
- OpenRouter
- Configuration

