Guides
How can Claude (claude.ai and Claude Desktop) share memory with Claude Code?
Compare Claude account memory, Projects and Claude Code memory, then connect one hosted MCP store from web, Desktop and the terminal.
Connect Claude and Claude Code to the same hosted MCP memory store, then verify a saved item from a fresh conversation in each. Cairn.ink Memory uses a remote connector for claude.ai and Claude Desktop, plus an installer for Claude Code. Also check Anthropic's new Projects beta: some accounts already have a native shared-project workflow.
What does Claude already remember on the web and Desktop?
Anthropic's chat search and memory guide describes memory across Claude chats and cloud Cowork tasks. The current experience saves individual topics as you chat, including professional context, technical preferences and ongoing projects. You can also directly ask Claude to remember something.
Memory is on by default for Free, Pro, Max and Ultra on the web and current desktop and mobile apps. Team and Enterprise owners control availability. Paid plans also have chat search, which can retrieve earlier conversations and cite them. Native memory is a useful first choice when your work remains inside these Claude experiences.
To review it, open Settings → Your Claude and choose Manage beside Your memory; older layouts use Settings → Memory. Open a topic to edit or delete it. You can also tell Claude to change a remembered detail. When cleaning up a decision, review both the saved topic and the conversation where you discussed it.
How do Projects fit, including the new beta?
Claude Projects provide a workspace for reference material, instructions and related work. Current Projects are available on all plans, with up to five for Free users. Add a short architecture overview or a maintained decision note so later work starts from the same reference material.
Anthropic's project management guide explains that each project has its own memory. Account context can participate too; use the project's Use account memory setting to choose its boundary. Review that choice when separating clients or unrelated projects.
There is also a significant current change: the Projects help page describes a new beta rolling out in stages, beginning with Claude Code. It is available to selected Pro, Max and Ultra subscribers, including some whose existing Projects are being moved. Its threads start with shared project files, repositories, instructions and memory. The page identifies the sidebar at claude.ai/code and the Desktop Code tab as entry points for eligible accounts.
If you have that beta and want to remain within its project workflow, evaluate it before adding another store. This makes a blanket statement that “Claude Projects never reach Claude Code” too broad. The account version and the kind of session matter.
How is local Claude Code memory different?
The Claude Code memory documentation describes maintained instruction files and auto memory for local coding sessions. CLAUDE.md carries instructions you write. Auto memory accumulates notes from corrections and preferences, normally beneath ~/.claude/projects/<project>/memory/. Use /memory to review the configuration and memory files.
These local mechanisms and the account-memory experience are documented separately; the sources do not establish automatic synchronization from ordinary Claude chat memory into a local CLI session. For local coding, put reviewed build commands and repository conventions in CLAUDE.md, and keep reusable personal or decision context in the store you deliberately choose.
The Claude Code memory guide covers the coding side. A shared MCP store is useful when you want selected context available in ordinary Claude chat, local Claude Code and another tool such as Codex.
How do I set up Cairn.ink Memory for Claude Code?
Start with the installer:
npx @cairn-ink/memory setup
Choose Cloud for the shared hosted workflow. Approve connecting Claude Code and, if useful, Codex; initial paired setup takes one browser sign-in. Close the clients and finish background work when setup asks, authorize the Cairn account, then reopen them. Review and allow the Cairn entries in Codex /hooks if you connected it.
Cloud sends conversations to cairn.ink, extracts memories automatically or on request, and recalls relevant memories into prompts. For both coding tools, see sharing Claude Code and Codex memory. Use the same Cairn account when connecting Claude chat next.
Local is the free, no-account alternative on one computer. It automatically saves supported conversations as plaintext; you or your agent request memory saves, and recall is on request. Linux and WSL support capture for Claude Code and Codex; macOS supports Claude Code capture since 0.6.7, with Codex automatic capture there still unavailable. If the local server can see OPENAI_API_KEY, it sends memory and search text to OpenAI. To set up Local with capture disabled, use:
npx @cairn-ink/memory setup --local --no-capture
This article's web-and-terminal workflow uses Cloud plus a remote connector. The released README and its installer guide describe the mode choices.
How do I add the remote connector to Claude?
Anthropic's remote MCP instructions cover web and Desktop. Free accounts can add one custom connector; Team and Enterprise require owner configuration before members connect. Cairn.ink Memory's guide gives these steps:
- Start on Claude web and open
Customize → Connectors. - Select
+ → Add custom connector. - Name it
Cairn, enterhttps://cairn.ink/api/mcp, then selectContinue. - Review the detected authentication settings and continue.
- Choose
Sign in now, thenOAuth client → Register automatically. - Select
Add, sign in to Cairn and approve the connection. - In a conversation, open
+ → Connectorsand enable Cairn. - Review Tool permissions. Keeping
Needs approvallets you confirm each call.
The same Claude account shares the remote connector between web and Desktop. If Desktop's menus differ, set it up on the web and sign in to Desktop with that Claude account. The Claude account holds the connector configuration; the Cairn account determines whose private memory you access.
How do I prove that both sides retrieve the same item?
Use a fictional Birch demo preference. In Claude chat, ask the connected Cairn.ink Memory tools to save privately that you prefer test results first in review summaries. Check the real save response and keep the returned identifier. In a fresh Claude Code session, ask for the Birch preference without repeating its value, then compare the retrieved record and source.
Reverse the test with a second harmless preference if you expect both clients to save. The hosted connector acts on explicit tool requests; automatic coding-session capture comes from the installer integration. A Source Receipt holds the excerpt and client context explaining a Memory's origin, while private Memory and shared Knowledge Cards have separate lifecycles.
For an empty result, check the server, sign-in and scope, then retry the lookup after resolving any tool error. The cross-client verification guide explains how to keep the test focused on the shared store.
Connect Claude using the Cairn.ink Memory connection guide.
Frequently asked questions
- Do Claude web and Desktop need separate remote connectors?
- Cairn.ink Memory’s guide uses one remote connector per Claude account. Set it up on the web, sign in to Desktop with the same Claude account, and enable the connector in the conversation.
- Can Free users add a remote connector?
- Anthropic currently documents custom remote connectors on Free, Pro, Max, Ultra, Team and Enterprise. Free accounts have a one-custom-connector limit; organization owners manage connector availability on Team and Enterprise.
- Does the new Projects beta change the answer?
- Yes. Anthropic is rolling out a new Projects beta, beginning with Claude Code, with shared project files, instructions and memory. Check your account’s version before choosing between that native workflow and an external store shared with other tools.
Sources
- https://support.claude.com/en/articles/11817273-use-claude-s-chat-search-and-memory-to-build-on-previous-context
- https://support.claude.com/en/articles/9517075-what-are-projects
- https://support.claude.com/en/articles/9519177-how-can-i-create-and-manage-projects
- https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp
- https://code.claude.com/docs/en/memory
- https://github.com/Cairn-ink/cairn-memory/blob/bcf86b8a/README.md
- https://github.com/Cairn-ink/cairn-memory/blob/bcf86b8a/packages/setup/README.md