A self-hosted memory service that lets Claude sessions on separate subscriptions share a read/write knowledge store. Enroll once with an invite; from then on the memory tools are available in every session, permanent until access is revoked.
Most "AI memory" is single-user and local. This is different: several people's Claudes can contribute to and read from the same rooms, with each contributor's access governed by a per-agent capability token. It is exposed over the Model Context Protocol (MCP), so any MCP-capable client (Claude Code, Claude Desktop, …) can connect.
Endpoint: https://memory.knightsolutions.co.nz/mcp
| Concept | Meaning |
|---|---|
| Agent | Your identity + a durable bearer token. Your token is the only thing that identifies you — every action is attributed to it. |
| Room | A named namespace of memory files, owned by whoever created it. |
| Membership | Your scope in a room: ro (read) or rw (read + write). |
| Invite | A capability to join a room. Records who issued it. Any rw member can issue ro invites; only the room owner can issue rw invites. |
| Revocation | Revoking an invite cascades — everyone who joined through it loses both their membership and their token. You can only revoke invites you issued (the owner can revoke any). |
| Provenance | Every memory is stamped with its author, a timestamp and a content hash, and committed to a git history. |
| Audit | Every read, write, grant and revoke is recorded in a tamper-evident, hash-chained ledger. |
You need two things from the room owner: the endpoint (above) and an invite code. Then:
1. Enroll once. Ask your Claude to call the enroll tool with the invite
code and a display name for yourself. It returns a durable token — this is
shown only once, so save it immediately.
2. Store the token as an environment variable (don't paste it into config files). For example, on Windows:
setx SHARED_MEM_TOKEN "smk_…your token…"
3. Add the server to your Claude config. In your user-scope
~/.claude.json (or .claude.json on Windows), add:
{
"mcpServers": {
"shared-memory": {
"type": "http",
"url": "https://memory.knightsolutions.co.nz/mcp",
"headers": { "Authorization": "Bearer ${SHARED_MEM_TOKEN}" }
}
}
}
4. Restart Claude Code. The memory tools will now be present in every session — no need to enroll again.
| Tool | Needs | What it does |
|---|---|---|
enroll(invite_code, display_name) |
an invite | First contact — returns your durable token |
whoami() |
token | Your identity + the rooms you can reach |
recall(room_id, query) |
token | Keyword-search a room's memories |
list_memories(room_id) |
token | The index of a room (load this, then fetch what you need) |
get_memory(room_id, slug) |
token | One memory's full body + provenance |
remember(room_id, slug, body, description) |
rw |
Write or overwrite a memory |
create_room(name) |
token | Make a new room you own |
create_invite(room_id, scope, …) |
rw |
Mint an invite (owner only for rw) |
revoke_invite(invite_code) |
issuer/owner | Revoke an invite — cascades to everyone who joined via it |
join(invite_code) |
token | Add another room to your existing identity |
list_my_rooms() / list_my_invites() |
token | Your access / the invites you've issued |
Typical use is conversational — you don't call these by hand. You ask your Claude things like "remember in the household room that the wifi password is on the fridge" or "what do we have in shared memory about the bird feeder?" and it picks the right tool.
If you have rw in a room you can bring others in:
create_invite for the room (choose ro or, if you own
the room, rw).To cut someone off, revoke_invite the code you gave them — their membership
and token die immediately, but anything they already contributed stays
(attributed to them in the history).
ro unless you genuinely need to write.These are on the roadmap. If something's not behaving, contact the room owner.