Claude Code session

Claude Memory Mcp

Local citation-backed recall for Pi, OMP, Claude Code, Codex, and ChatGPT history.

69 stars 14 forksSessions & history Source

Install

From source
git clone https://github.com/WhenMoon-afk/claude-memory-mcp.git

From the README

Mooncite

Mooncite lets coding agents recover past context without asking you to explain it again. It searches authorized Pi, OMP, Claude Code, Codex, and ChatGPT history stored on this machine. Before an agent relies on a result, mooncite_inspect checks the citation against the original file. That confirms where the text came from. It does not prove the text is still true.

Mooncite was formerly Claude Memory MCP. The repository keeps its old claude-memory-mcp URL.

Install

Mooncite requires Linux with procfs, Node.js 24 or newer, npm, and access to GitHub. Packaged local embeddings are Linux x64 only. Other Linux architectures still install and search lexically.

Tagged v4.0.7 is the current stable release. After installation, check the launcher. Then fully restart or reload each client whose registration is exact:

The installer configures available Pi, OMP, Codex, and Claude Code clients. ChatGPT is a source, not a client. See operations for source setup, ChatGPT exports, removal commands, and quick fixes.

First search

Recall runs inside a configured client. It is not a shell command. Give the agent one distinctive phrase:
Call mooncite_recall with "". Start without a scope. If it returns a candidate, inspect that candidate's evidence_id with mooncite_inspect. Treat verified as proof that the cited text still matches its source file. It does not prove the text is true.

Mooncite exposes exactly three tools:

- mooncite_recall searches bounded local evidence. An unquoted query of at least two terms may add local embedding matches after no strong lexical hit.
- mooncite_inspect checks a locator against current source bytes.
- mooncite_status reports coverage and health without transcript text.

Read next

- Agent workflow tells an agent when to recall, narrow,…
Read the full README on GitHub

Details

Language
TypeScript
License
MIT
Last updated
26 September 2026
Topics
ai-memorychatgptclaude-codecodexcontinuitylocal-firstmcpompsqlitetypescript

FAQ

What is Claude Memory Mcp?

Local citation-backed recall for Pi, OMP, Claude Code, Codex, and ChatGPT history. It is a session for Claude Code, from WhenMoon-afk/claude-memory-mcp on GitHub.

How do I install Claude Memory Mcp?

Clone WhenMoon-afk/claude-memory-mcp from GitHub and follow the setup steps in its README.

Is Claude Memory Mcp popular?

WhenMoon-afk/claude-memory-mcp has 69 GitHub stars and 14 forks. It was last updated on 26 September 2026.

More sessions & history

Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.