Skip to main content

Add Memory to Cursor

Give your Cursor agent persistent memory in 2 minutes. Install OMEGA, add one config file, and your agent remembers decisions, preferences, and context across every session.

Step-by-Step Guide

1

Install OMEGA

Install the OMEGA memory package from PyPI. Requires Python 3.11 or later.

pip install omega-memory

No API keys, no Docker, no external databases. That's the entire dependency list: nothing.

2

Add MCP configuration to Cursor

Open your Cursor MCP settings file and add the OMEGA server configuration.

// ~/.cursor/mcp.json
{
  "mcpServers": {
    "omega-memory": {
      "command": "python3.11",
      "args": ["-m", "omega", "serve"]
    }
  }
}

Cursor reads this file on startup. If Cursor is already running, restart it after saving.

3

Verify the connection

Open a new Cursor session and ask the agent to check its memory tools.

Prompt: "What OMEGA memory tools do you have access to?"

The agent should list 25 MCP tools including omega_store, omega_query, omega_reflect, and omega_protocol.

4

Initialize the protocol

Ask the agent to run the OMEGA welcome and protocol setup. This loads your memory context.

Prompt: "Run omega_welcome and omega_protocol to initialize your memory."

After this, the agent has access to all prior memories and knows how to store new ones automatically.

What You Get

Cross-session memory

Decisions, preferences, and lessons persist between Cursor sessions

Auto-capture via hooks

OMEGA hooks capture context automatically as you work

Semantic search

The agent finds relevant memories using hybrid BM25 + semantic search

Contradiction detection

OMEGA flags when new information contradicts existing memories

Intelligent forgetting

Outdated or low-value memories decay naturally over time

AES-256 encryption

All memories are encrypted at rest on your local machine

Frequently Asked

Does this work with Cursor's free tier?

Yes. MCP server support is available on all Cursor tiers. OMEGA itself is free and open source. The only requirement is Python 3.11+ installed on your system.

Where is my memory data stored?

All memory data is stored locally on your machine in a SQLite database, typically at ~/.omega/memory.db. Nothing is sent to any cloud service. OMEGA encrypts the data at rest with AES-256.

Will this slow down Cursor?

No. OMEGA runs as a separate process. Memory operations are fast (local SQLite + ONNX embeddings). The MCP protocol is asynchronous, so memory operations don't block the agent's primary workflow.

Can I use the same memory database with Claude Code too?

Yes. OMEGA's memory is stored in a single local database. Configure the same MCP server in both Cursor and Claude Code, and they share the same persistent memory. See our guide on sharing memory across editors.

Cursor + Memory

Two minutes to install. Infinite sessions of context.