Works with Cursor over MCP

Cursor forgets your codebase. CogmemAi makes it remember.

CogmemAi is the persistent memory layer for Cursor. Add it once as an MCP server and Cursor 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 Cursor 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

Cursor is brilliant in the moment and amnesiac the next.

Cursor's agent reads your repo on demand, but it does not carry what it learned into tomorrow. Close the editor and the context is gone. CogmemAi gives Cursor a memory that compounds.

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 switch files or restart.
  • Project switches lose context. Jump between repos and Cursor 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 Cursor in three steps.

CogmemAi runs as an MCP server. Cursor speaks 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 Cursor MCP config and prompts for your free API key.

$ npm install -g cogmemai-mcp
$ npx cogmemai-mcp setup
2

Confirm it in Cursor

Open Cursor Settings, then MCP. CogmemAi appears as a connected server with its memory tools: save, recall, extract, update, link, consolidate.

// ~/.cursor/mcp.json
{ "mcpServers": {
  "cogmemai": { "command": "cogmemai-mcp" }
} }
3

Work normally and watch memory compound

Ask Cursor 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 Cursor chat
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

Cursor memory, answered.

Does CogmemAi work with Cursor?

Yes. CogmemAi is an MCP server (cogmemai-mcp on npm). Cursor supports MCP servers, so adding CogmemAi gives Cursor persistent memory across sessions, devices, and projects.

How do I add persistent memory to Cursor?

Run npm install -g cogmemai-mcp then npx cogmemai-mcp setup. The wizard writes the CogmemAi entry into your Cursor MCP config and prompts for your free API key. Restart Cursor and the memory tools are live.

Does it work with Cursor Agent and Composer?

Yes. Once CogmemAi is registered as an MCP server, its memory tools are available to Cursor's agent flows, 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 Cursor a memory today.

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