Model variety: Access Claude, GPT-4, Gemini, Llama, Mistral, and more through a single API key. Several free models are available.
Step 1: Get an OpenRouter API key
- Go to openrouter.ai and sign up or sign in
- Navigate to API Keys and click Create Key
- Copy your API key
Step 2: Clone and build Claude Mem
Step 3: Configure OpenRouter provider
- Interactive setup (recommended)
- Manual configuration
Step 4: Restart Cursor and verify
http://localhost:37777 to confirm the memory viewer is running.
Recommended models
To specify a model, add
CLAUDE_MEM_OPENROUTER_MODEL to your settings:
Next steps
Cursor Integration Overview
All Cursor features and hook mappings
Gemini Setup
Free tier alternative with Google Gemini