Standardize on idempotent write endpoints
Source: architecture.md
MCP Memory Server in · shared project memory
Most MCP memory servers stop at a single-user JSON file. MemHub runs the same protocol against a real database with organization and project isolation, so a shared server becomes safe for a whole engineering team.
Connect Claude Code, Cursor, Codex CLI, Google Antigravity, or any JSON MCP client to one memory endpoint. Writes land in a local outbox first, then synchronize — so a flaky VPN never costs you context.
Free Community tier. Self-hosted or hosted. No external embedding API required.
context/main
memories 41
pinned 6
contributors 9
BRIEFING FOR NEW SESSION
Source: architecture.md
Source: pull request #214
Source: auth/session.ts
LOCAL FIT
In Ontario, software teams ship faster when their tools share one memory instead of three silos. Distributed squads stay aligned because every session opens with the same briefing.
Teams operating under PHIPA-adjacent obligations can point at a concrete architecture instead of promises.
UNIVERSAL COMPATIBILITY
If it speaks MCP or reads a JSON config, MemHub plugs in. One command wires the majors; everything else joins as a generic client.
WHAT YOU GET
A local SQLite write-ahead queue keeps memory available and consistent during outages.
Actor, action, and target recorded for every administrative change — enterprise-review friendly.
`mh login` authorizes a machine through the browser with scoped, revocable credentials — no pasted secrets.
Row-level security separates organizations and projects; credentials are scoped, hashed, and revocable.
pgvector-ready schema, migration tooling, and Docker/Easypanel deployment recipes included.
`memhub serve` bridges any MCP client to the cloud memory with zero infrastructure on the laptop.
No feature-matrix gymnastics — just what changes the week you adopt MemHub.
| Status quo | With MemHub |
|---|---|
| Context lives in heads and DMs | Memory is structured, shared, and searchable |
| Every agent re-learns the repo | Sessions open pre-briefed with only what changed |
| Rules files cap out at ~2k tokens | Unbounded versioned history stays one query away |
One command injects configuration for Claude Code, Cursor, Codex CLI, Google Antigravity, Windsurf, Cline, or any JSON MCP client.
$ npm install --global @simplexlat/memhub
$ memhub login
✓ project resolved · context ready · memory synchronized
Any MCP-compatible client: Claude Code, Cursor, Codex CLI, Gemini-based IDEs such as Antigravity, Windsurf, Cline, or a generic JSON config.
Yes. The repository includes Docker Compose and Easypanel templates for PostgreSQL 16 with pgvector, plus migration and seed commands.
Nothing interrupts the work. Writes commit to the local SQLite outbox and synchronize automatically when the shared service is reachable again.
Yes — the local engine works fully offline, and the self-hosted stack keeps even the shared layer on your own PostgreSQL.
A Community tier is free, and the Team plan adds multi-project contexts, seats, and higher synchronization limits. Self-hosting is unlimited.
MORE LOCATIONS
EXPLORE OTHER USE CASES
AI Agent Memory
Give every AI coding agent a persistent, team-wide memory.
Claude Code Memory
Claude Code memory that survives sessions and reaches the whole team.
Cursor Memory
Carry Cursor context across sessions, machines, and teammates.
Codex CLI Memory
Persistent context for Codex CLI — personal today, shared tomorrow.
Cross-Agent Memory
One memory behind Claude Code, Cursor, Codex CLI, and Antigravity.
Developer Knowledge Base
A living knowledge base that writes itself while your team codes.
Self-Hosted AI Memory
Run the entire memory stack on your own PostgreSQL — nothing leaves.
Coding Agent Context
Context engineering for coding agents — brief, don’t dump.
Engineering Decision Log
An ADR habit your team will actually keep — logged by the agents doing the work.
Agent Memory Database
A real database behind agent memory — PostgreSQL, pgvector, row-level security.
Windsurf Memory
Persistent Windsurf context shared with every other agent on the team.
Cline Memory
Give Cline a memory that survives tasks, machines, and teammates.
Copilot Team Memory
What Copilot’s custom instructions can’t hold, MemHub remembers.
Antigravity & Gemini Memory
Persistent context for Google Antigravity, Gemini CLI, and the agents around them.
THE NEXT SESSION STARTS HERE