Local-first memory for AI coding assistants: verbatim, on your own PC, no LLM calls at write time.
pip install graph-mind-memory==0.1.1 Copy PIP instructions
Graph-MIND records every conversation you have with Claude Code, Codex and Claude Desktop, word for word, in a store on your own PC. When a question depends on the past, the model you are using calls Graph-MIND over MCP and gets back a few thousand tokens of the conversations that answer it.
All numbers below come from files in this repository: the pre-registrations, each question's answer, and the judge's verdict on it, under runs/. The method is in REPORT.md, including the failures and the corrections.
LongMemEval_S: answer accuracy, 500 questions. The answer model is gpt-5-mini; the judge is the official gpt-4o-2024-08-06.
Head to head: same 40 questions, same answer model, prompt and judge. The run was pre-registered with code hashes; nobody had tuned on these questions.
Graph-MIND's lead over both is significant (exact McNemar p = 0.002 and 0.003).
Reading other published numbers. They measure different things, so they do not compare directly with the tables above:
As far as we know, everything above 85% on that list runs a model over your conversations when it saves them. Graph-MIND does not.
Requires Python 3.10+ (64-bit). Windows, macOS or Linux. Hosting a brain that other PCs join needs Python 3.12 or older on that one PC (its Postgres helper, pgserver, has no newer build yet); everything else, joining included, works on 3.13 and 3.14 too.
pip install graph-mind-memory graph-mind-install or from source:
git clone https://github.com/goyohan0611-png/graph-mind.git cd graph-mind python install.py The installer:
Then restart your AI apps. The server is also listed in the MCP Registry as io.github.goyohan0611-png/graph-mind. Running the installer again is safe. Run it again if you move the folder.
Before anything is stored, these are masked: API keys, tokens from GitHub, AWS, Google and Slack, private keys, and passwords inside URLs.
On the PC that holds the memory, tell its AI:
It replies with a connection code (gm1.…). On each other PC:
graph-mind-install --join gm1.… # or: python install.py --join gm1.… The memory then lives in a Postgres server on the first PC, which Graph-MIND sets up itself. Other PCs reach it over the local network in the office, or over Tailscale from anywhere. Each connection tries the addresses in turn and uses the first that answers.
Other PCs log in with a generated password, as a role that can reach only the memory database. The Windows firewall rule admits only the local network and Tailscale. The code contains the password: do not post it publicly.
A synced folder also works. Tell the AI "use my Google Drive's Graph-MIND folder as my memory" on each PC.
python -m unittest discover -p "test_*.py" Known limits Daily use on Windows only so far. macOS and Linux pass the tests in CI but have not seen real use. Capture follows each app's transcript format, which is not a public interface. An app update can stop capture until Graph-MIND is updated. Multi-session questions are the weakest type at 80%. These are questions that count or combine facts across many conversations. The repository still holds the research-phase experiments next to the product (see Repository layout); the installed package carries only the 21 product modules. The full list is in REPORT.md §9.
Issues and pull requests are welcome. Contributions are accepted under the CLA, which keeps the dual license possible.
AGPL-3.0. Anyone running a modified Graph-MIND as a network service, such as the memory behind a support chatbot, must publish that source. A commercial license is available for products that cannot.
mcp memory claude codex llm longmemeval local-first
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.




