CogmemAi is the persistent memory layer for Windsurf. Add it once as an MCP server and Cascade remembers your architecture, conventions, and decisions across every session and every project. Top published score on LongMemEval. Free tier.
$ npm install -g cogmemai-mcp $ npx cogmemai-mcp setup # wizard writes your Windsurf MCP config and prompts for a free API key
Windsurf's Cascade agent reasons across your repo in the moment, but it does not carry what it learned into the next session. CogmemAi gives Windsurf a memory that compounds instead of resetting.
CogmemAi runs as an MCP server. Windsurf and Cascade speak MCP. No custom integration code, no glue, no hand-rolled storage layer.
One npm install. The setup wizard writes the CogmemAi entry into your Windsurf MCP config and prompts for your free API key.
$ npm install -g cogmemai-mcp $ npx cogmemai-mcp setup
Open Windsurf Settings, then Cascade, then MCP Servers. CogmemAi appears with its memory tools: save, recall, extract, update, link, consolidate.
// Windsurf mcp_config.json { "mcpServers": { "cogmemai": { "command": "cogmemai-mcp" } } }
Ask Cascade to pick up where you left off. It recalls saved context instead of re-reading everything. Every session adds to a searchable, scoped memory store.
// in Cascade Pick up where we left off on the auth refactor. // answers from saved memory, no re-discovery
Long-term memory in Ai agents is a real benchmark category. We publish our scores, our methodology, and the dates we ran them.
Yes. CogmemAi is an MCP server (cogmemai-mcp on npm). Windsurf and its Cascade agent support MCP servers, so adding CogmemAi gives Windsurf persistent memory across sessions, devices, and projects.
Run npm install -g cogmemai-mcp then npx cogmemai-mcp setup. The wizard writes the CogmemAi entry into your Windsurf MCP config under Cascade and prompts for your free API key. Restart Windsurf and the memory tools are live.
Yes. Once CogmemAi is registered as an MCP server, its memory tools are available to Cascade, so saved context is recalled while you work.
CogmemAi holds the top published score on LongMemEval at 95.1%, measured April 19, 2026. On LoCoMo it scored 91% on April 2, 2026, above the 87.9% human baseline.
Yes. CogmemAi offers three deployment modes, including a zero-config local mode, so your memory can stay on your own machine, with quantum-safe at-rest encryption.
Yes. The free tier includes 500 memories and 500 extractions per month across 5 projects. No credit card required.
Install CogmemAi and watch your Windsurf sessions remember everything by next week. Free tier, 60-second setup, no card required.