Works with Windsurf and Cascade over MCP

Windsurf that remembers every session.

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.

60-second install
$ npm install -g cogmemai-mcp
$ npx cogmemai-mcp setup
# wizard writes your Windsurf MCP config and prompts for a free API key
Get free API key View on GitHub 500 memories + 500 extractions/mo on the free tier. No card.
The problem

Cascade is sharp in the flow and blank the next morning.

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.

Without persistent memory

  • Every new session starts cold. Re-explain the codebase. Re-state the conventions. Re-litigate the same decisions.
  • No memory of past bugfixes. The same webhook bug gets debugged from scratch every time it bites.
  • Preferences forgotten. "Use Bun, never npm" lasts until you restart Cascade.
  • Project switches lose context. Jump between repos and Windsurf has no recall of either.

With CogmemAi

  • Cross-session continuity. Open a new session and yesterday's decisions, tasks, and reminders surface immediately.
  • Bugfix recall. Save every fix once. Find it in seconds the next time the symptom appears.
  • Preferences persist globally. State a preference once and it carries to every session, every project, forever.
  • Scoped per project. Project memory stays with the project; global memory follows you everywhere.
How it works

Add persistent memory to Windsurf in three steps.

CogmemAi runs as an MCP server. Windsurf and Cascade speak MCP. No custom integration code, no glue, no hand-rolled storage layer.

1

Install the MCP server

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
2

Enable it in Cascade

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" }
} }
3

Work normally and watch memory compound

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
Receipts

Numbers, not promises.

Long-term memory in Ai agents is a real benchmark category. We publish our scores, our methodology, and the dates we ran them.

95.1%
LongMemEval
Apr 19, 2026 · top published
91%
LoCoMo
Apr 2, 2026 · above human baseline
60s
Install to first save
npm + setup wizard
$0
Free tier
500 memories + 500 extractions/mo
Frequently asked

Windsurf memory, answered.

Does CogmemAi work with Windsurf?

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.

How do I add persistent memory to Windsurf?

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.

Does it work with the Cascade agent?

Yes. Once CogmemAi is registered as an MCP server, its memory tools are available to Cascade, so saved context is recalled while you work.

What is the best Ai memory benchmark score?

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.

Can CogmemAi run locally for privacy?

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.

Is CogmemAi free?

Yes. The free tier includes 500 memories and 500 extractions per month across 5 projects. No credit card required.

Give Windsurf a memory today.

Install CogmemAi and watch your Windsurf sessions remember everything by next week. Free tier, 60-second setup, no card required.