# Give Claude Code, Cursor and ChatGPT one shared memory

> Source: <https://dev.to/owlmem/give-claude-code-cursor-and-chatgpt-one-shared-memory-4po9>
> Published: 2026-11-20 04:09:18+00:00

**Key takeaway:** A single MCP server URL (https://mcp.owlmem.com/mcp) can be registered across Claude Code, Cursor, Codex and ChatGPT so memory written by one agent is recalled by the others.

If you use more than one AI, you know the tax: every new tool starts from zero. You explain the project, your preferences, your rules — again. Switch tools mid-job and the next AI has no idea where the last one stopped.

OwlMem fixes that with one shared memory. (Disclosure: OwlMem is our own product — [owlmem.com](https://owlmem.com/?utm_source=dev.to&utm_medium=article&utm_campaign=growth-2026-11).) Tell one AI something once, and every connected AI can recall it. What one learns, they all know.

Every client connects to the same MCP server:

```
https://mcp.owlmem.com/mcp
```

The fastest way is to let your AI do it. In Claude Code, Codex, Cursor, or any AI that can run commands, say:

```
Read https://mcp.owlmem.com and set up OwlMem for yourself.
```

It reads the setup guide, runs the installer, and asks you to sign in. All you do is click **Allow**. Or run the installer yourself:

```
npx -y owlmem install
```

It finds the AI apps on your computer and adds OwlMem to each one, merging into your existing config files instead of overwriting them, and backing up anything it changes. I ran it in dry-run mode to see what it would do on a machine with Codex installed:

```
OwlMem install — connects the AI apps on this computer to https://mcp.owlmem.com/mcp (dry run, nothing is changed)

– Claude Code       not installed
+ Codex             will add OwlMem  (~/.codex/config.toml)
    will write the OwlMem rules block in ~/.codex/AGENTS.md
– Cursor            not installed
– VS Code           not installed
– Windsurf          not installed
– Gemini CLI        not installed
– Claude Desktop    not installed

Dry run: 1 app(s) would change. Run again without --dry-run to apply.
```

If you'd rather add each one by hand, the commands are short:

**Claude Code:**

```
claude mcp add --transport http --scope user owlmem https://mcp.owlmem.com/mcp
```

Then start Claude Code, type `/mcp`, select `owlmem`, and choose **Authenticate**.

**Cursor:** add the URL to `~/.cursor/mcp.json`, then open Cursor Settings → MCP. OwlMem shows **Needs login** — click it and approve in the browser.

```
{
  "mcpServers": {
    "owlmem": { "url": "https://mcp.owlmem.com/mcp" }
  }
}
```

**ChatGPT:** open Settings → Apps & Connectors, turn on **Developer mode** under Advanced settings, choose **Create**, name it `OwlMem`, paste the URL, and choose **OAuth**. One caveat from the docs: availability of custom connectors depends on your ChatGPT plan and workspace settings — if you don't see the option, your plan may not include it.

**Codex:**

```
codex mcp add owlmem --url https://mcp.owlmem.com/mcp
```

Whichever way you connect, the first connection opens an OwlMem page: sign in with your email, name the AI, click **Allow**. No keys to copy. Every connected AI shows up in the console under **Agents & tools → Agents**, where you can switch it off or delete it any time.

Once two AIs are connected, the test takes thirty seconds:

ChatGPT answers from what Claude recorded — no copy-pasting context between apps. That's the whole point: the memory lives in one place you control, not inside any single AI's chat history. Switch tools whenever you like and keep it all.

Free for two AIs, forever — no card. That covers the exact setup above: one coding AI and one chat AI sharing a memory. Paid plans add more AIs, storage, and memory writes; every plan gets every feature.

If you already juggle Claude Code, Cursor, and ChatGPT, the shared memory is the part you'll feel first: you stop paying the re-explaining tax on every switch. Set it up from the [docs](https://owlmem.com/docs?utm_source=dev.to&utm_medium=article&utm_campaign=growth-2026-11) — about a minute per AI.
