Listed from the MCP registry; nobody on Odel publishes it.
Long-term memory for Claude: Markdown in a git repo you own. Survives context compaction.
Runs on your machine from its package; the steps are below.
At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Distributed as an MCP bundle (`https://github.com/AnxovatomicaES/githippo/releases/download/v3.9.3/githippo-3.9.3.mcpb`) — download it and import the bundle in your MCP client.
Long-term memory for Claude and any MCP client, stored as plain Markdown in a git repo you own. Hybrid semantic search, a knowledge graph, auto-memory and compaction survival, at about 790 tokens of tool overhead per turn. Every memory is a git commit you can read, diff and revert.
curl -fsSL https://raw.githubusercontent.com/AnxovatomicaES/githippo/main/install.sh | sh
That's the whole install: no account, no token, no questions. It sets up a local memory vault, wires Claude Code (hooks, MCP, status line) and fetches semantic search in the background. Restart Claude Code and just talk; it remembers.
Want it backed up and synced across machines? githippo sync --github creates a private repo with your existing GitHub CLI login and pushes after every change. Just curious? npx -y github:AnxovatomicaES/githippo#v3.9.3 demo shows it working in 30 seconds without installing anything.
one click → use it from claude.ai and your phone
Because each good idea out there lives in a different tool. githippo takes the best of each and fixes the part that hurts:
| Idea | Borrowed from | githippo's twist |
|---|---|---|
| Entities + relations + observations | MCP reference memory server | Entities are Markdown files, relations are [[wikilinks]], and search is semantic, not substring: "the language I prefer" finds "TypeScript" |
| Markdown you can edit, Obsidian graph | Basic Memory | Same human-readable files, but synced through git: every device, full history, zero cloud fees |
Typed relations (works_on [[x]]) | Basic Memory, Dataview | Parsed into a queryable graph; recall follows links one hop automatically |
| Temporal facts ("what was true last quarter?") | Graphiti / Zep | Superseded facts move to a dated History section instead of vanishing, and history at=<date> gives exact time travel from git, with no graph DB and no LLM calls |
| Pinned "core memory" blocks | Letta (MemGPT) | Core memory rides inside the MCP server instructions, which live in the system prompt, so it survives compaction in every client, including claude.ai |
| Lifecycle hooks around compaction | claude-mem | The PreCompact hook builds the checkpoint deterministically from the transcript (goal, todo state, files changed, where it stopped). No LLM, no cost, can't hallucinate |
| Progressive disclosure | claude-mem | recall mode=brief returns one-line refs (~45 tokens) before you pay for full context |
| Consolidation / dedupe | mcp-memory-service, Mem0 | Embedding-based duplicate detection on every write, plus maintain health reports; optional LLM merge that refuses lossy rewrites (dropped links or frontmatter) |
| Remote MCP for claude.ai | Supermemory, Mem0 | Self-hosted Streamable HTTP; your data never leaves your repo and your server |
Version 3.1 adds the best idea from each of nine other memory tools, read in their source and credited in docs/prior-art.md: <private> tags, compaction steering and summary capture, session diffing, activity-aware decay, a code-aware tokenizer, errors in checkpoints, an honest status line, plugin packaging and alwaysLoad registration.
What else it does:
password: …, DB_PASSWORD=…, AWS_SECRET_ACCESS_KEY=…), connection strings with embedded passwords, card security codes, IBANs (mod-97 checked, spaces or hyphens), card numbers (Luhn checked, even with other digits beside them), Spanish DNI/NIE, French NIR (checksums), UK National Insurance numbers (written in capitals) and US SSNs before they become permanent git history. It reads through lookalike letters, other scripts' digits and zero-width characters, and plain prose such as "password: required", "tokens: 128000" or a Spanish date like "12/10/26" is left alone. It also catches opaque Authorization: Bearer/Basic headers, GitLab, Google OAuth, Slack and Discord webhook and bot tokens, Telegram, Twilio, Mailgun, Azure, Shopify, PyPI and DigitalOcean tokens, STRIPE_KEY=-style environment lines, PINs, and the quoted-JSON, markdown-bold and "the password is …" forms of a password. A secret that is base64-encoded, split across words or URL-encoded still gets through: it is a backstop, not DLP.maintain reports possible contradictions. Measured in docs/calibration.md. When each fact has a content word the other lacks ("dark" / "light", "weekly" / "monthly", "read" / "write"), they are never called duplicates either, because neither keyword overlap nor embeddings can tell a synonym from an opposite: the new fact is saved and flagged as a possible update, and maintain lists the pair as a possible contradiction. (Before this rule, half of a set of twelve such pairs were silently dropped in keyword mode.)When Claude Code compacts a long session, the conversation gets summarised and details die. githippo makes sure what matters doesn't.
flowchart LR
A[Context fills up] --> B[PreCompact hook]
B -->|parse transcript, no LLM| C[checkpoint: goal, todos, files, where it stopped]
C --> D[(local ~/.githippo)]
C --> E[(repo sessions/)]
F[Compaction] --> G[SessionStart hook, source=compact]
D --> G
G -->|injects the state itself, not a reminder to read it| H[Claude continues exactly where it stopped]
I[MCP instructions + core memory] -.->|system prompt, never compacted| H
checkpoint tool (any client, including claude.ai). Claude saves task, state and next step at milestones. After context loss, checkpoint with no args restores it.Bonus: a fresh session in the same project and branch within 24h gets a brief "last time you were…" note, including what changed in git since (commits, commits by others, branch switches, deleted files). The UserPromptSubmit hook proactively surfaces up to three relevant memories when the match is confident. It's capped at 300 tokens, skips trivial prompts and never repeats within a session. Words in your prompt that the vault has never seen count against a match, so an ordinary coding prompt that shares two generic words with a note ("refactor", "use") is not given memory: on 1,000 to 10,000 notes none of 20 unrelated coding prompts triggered an injection, while all 40 planted questions did, with the right note (test/report6-hook.test.js). Before compaction, githippo also tells the compactor what must survive, and after compaction it keeps the compactor's summary with the checkpoint.
How we know the hooks do what we say: the contracts were read from Claude Code's own code (2.1.258). PreCompact passes each successful hook's stdout to the compactor as custom instructions (Claude Code also shows that text in the transcript as "PreCompact … completed successfully"); PostCompact receives compact_summary; every hook receives session_id, transcript_path and cwd; SessionStart sources are startup, resume, clear, compact and fork.
Recall also learns what you actually use: memory that keeps being handed to Claude gets a small boost (at most +40% on its keyword score, +10% on its semantic score) that halves every 30 days without use. It is applied to those raw scores, so it only reorders results that were nearly tied: it can't push a clear match out of first place (an earlier version applied it after rank fusion and did, see test/report6-ranking.test.js). The counts stay on your machine, are kept per user, and with no usage data ranking is exactly the same as without it.
Wrap anything in <private>…</private> and it never reaches memory. An opening tag that is never closed makes everything after it private, and remember refuses the fact and tells you why, rather than silently keeping the part you meant to hide. Turn hooks off without editing files: GITHIPPO_HOOK_PROFILE=minimal or GITHIPPO_DISABLED_HOOKS=prompt,steer.
Retrieval, on a small labelled set (52 queries) and on LongMemEval-S (500 questions, retrieval only, no LLM):
| keyword + graph | + local model | |
|---|---|---|
| In-repo set: hit@5 | 64% | 100% |
| In-repo set: MRR | 0.60 | 0.89 |
| LongMemEval-S: R@5 | 96.2% (all 500) | 98.0% (100-question sample) |
Reproduce the first with githippo eval. Method, per-language breakdown, filing and duplicate accuracy, memory use and scale numbers are in docs/benchmarks.md. The set is small, hand-written by the author and in-domain: a regression guard and a rough guide, not a leaderboard.
Not measured yet, and it is the number that matters most: whether answers get better, or sessions cheaper, with githippo than without it. eval/qa.js and eval/behavior.js are built to measure exactly that and need an ANTHROPIC_API_KEY; they have not been run. Until they are, read "saves tokens" as: it adds a bounded cost to every turn (below) and pays that back only when a recalled fact replaces re-explaining or re-discovering something. If you run them, post the results in issue #3.
test/report*.test.js: each reproduced first, then fixed with a regression test) and the release notes are there so you can judge it, but expect rough edges.| What it does | Status | |
|---|---|---|
| Anthropic memory tool backend | githippo serves Claude's native memory_20250818 tool (view, create, str_replace, insert, delete, rename) over your vault, with the reference return strings, path-traversal protection, the secrets guard, and writes that are git commits and searchable by recall. Use createMemoryTool(brain) from src/memorytool.js in your tool-use loop. | Tested against the documented command set |
| Time-aware recall | "last spring", "in March", "3 days ago", "Q1", in English and Spanish, become a date window; facts from then rank higher, and questions about the past can see superseded facts. | LongMemEval temporal MRR 86.7 → 88.9 |
| Poisoning defence | Every fact records where it came from (user, inferred, external); external facts reach Claude marked [external]; text that reads as instructions to an AI is refused; GIT_SIGN=1 signs every memory commit with your own key. | Zero false positives on the eval data; signing verified in CI |
| Human confirmation | Facts from external sources (web pages, files, tool output), pins to core memory and removals ask you first, using MCP elicitation (Claude Code declares support; checked in its binary). GITHIPPO_CONFIRM=auto (default) asks when the client can; strict refuses these writes unless you confirm; off never asks. Ordinary facts you state are never interrupted. | Tested with the official MCP SDK client |
| Promotion suggestions | maintain suggests facts for core memory that were recalled often and by several different questions (idea from OpenClaw's "dreaming" gates). Nothing is promoted automatically: accepting means remember pin=true, which asks you to confirm. | Tested |
| Fast static embeddings | EMBEDDINGS=static: lookup-table embeddings, 70–100× faster than the default model. | Measured in CI (see docs/configuration.md) |
| Sleep-time consolidation | githippo consolidate (or CONSOLIDATE=1 after every session): a small Claude model reviews the session and proposes memory updates on a git branch, or a pull request if the vault is on GitHub. Nothing reaches your memory until you merge; proposals pass the secrets guard and injection screen. | Needs ANTHROPIC_API_KEY; tested with a stand-in model |
| Contextual retrieval | githippo contextualize: a small model writes one sentence situating each chunk in its note (Anthropic's technique), prepended before indexing. | Needs ANTHROPIC_API_KEY; tested with a stand-in model |
| Does memory help answers? | eval/qa.js (LongMemEval question answering: no memory vs githippo vs the gold sessions) and eval/behavior.js (what Claude saves with githippo's tools, junk, answers in a fresh session); the llm-eval workflow runs both. | Needs an ANTHROPIC_API_KEY repository secret; not yet run |
The last three cost API credits per run, which is why they're opt-in and why their results aren't in this README yet.
githippo bench)| githippo v2 (our first version) | githippo now | |
|---|---|---|
| Tools | 12 | 8 |
| Model-visible schema, every turn | ~1,380 tok | ~790 tok |
| Instructions | ~340 tok | ~202 tok + your core |
| Typical recall response | ~190 tok (JSON) | ~117 tok pack / ~47 tok brief |
How: terse schemas, the redundant $schema URL stripped from tools/list, compact text responses instead of pretty JSON, wikilinks rendered as plain words, frontmatter stripped, 8-char version handles, History/index/sessions/core excluded from recall by default, and token budgets on every pack.
What that costs per turn, worst case: tool schemas ~790 + instructions ~200 + core memory up to 400 (CORE_BUDGET_TOKENS) is about 1,400 tokens, plus up to 300 on prompts where the per-prompt hook finds a confident match, plus whatever recall returns (about 47 for mode=brief, up to 1,000 for a pack by default). The schemas, instructions and core are a stable prefix, so a client that uses prompt caching pays less than the raw count. githippo does not save tokens by existing: it saves them when a recalled fact replaces re-explaining or re-discovering something.
And in time: the hooks run before every prompt and the status line runs constantly, so their start-up is kept minimal (they load none of the server code). On the development machine githippo bench reports about 57 ms for a hook and 60 ms for the status line, against 39 ms for node alone; it was 125 ms until the server's imports were made lazy. Run githippo bench to see your own.
| Tool | What it does |
|---|---|
recall | Hybrid search (BM25 + embeddings, fused with reciprocal rank fusion) + one-hop graph expansion → token-budgeted context pack. mode=brief for refs only |
remember | Save a fact. Auto-routes to the right entity, dedupes, auto-links people/projects, flags what it may supersede. replaces= supersedes, pin= adds to core (the only tool route into core memory) |
forget | Remove an exact fact: only the same words match (a different number, from vs to, a negation never does) |
graph | Typed relations around an entity |
history | Commit timeline, or the file as of a date |
checkpoint | Save or resume working state |
maintain | Duplicates, possible contradictions, orphans, broken links; suggested homes for inbox facts (tidy=true moves them); rebuild index; activity-aware decay; LLM merge |
files | Raw list/read/write/edit/delete with version checks (it can't write core.md: that goes through pin) |
Platforms: Linux and macOS are tested in CI on every change; Windows is not supported yet (what fails and why is in docs/platforms.md), and WSL should behave like Linux.
Claude Code (full experience: hooks + MCP)
curl -fsSL https://raw.githubusercontent.com/AnxovatomicaES/githippo/main/install.sh | sh
Prefer to see what runs? It's a short shell script: check Node 20+, npm i -g github:AnxovatomicaES/githippo#v3.9.3, then githippo setup. setup is idempotent, keeps any status line you already have, and backs up ~/.claude/settings.json before touching it. githippo doctor checks everything afterwards (and exits non-zero if a check fails). githippo uninstall removes the hooks, status line and MCP entry again and leaves your memory alone; githippo <command> --help explains any command, and a mistyped option stops with a suggestion instead of running.
Coming from the official reference memory server? githippo import ~/path/to/memory.jsonl turns its entities, observations and relations into notes and typed links (secrets guard and dedupe apply, so re-running is safe).
Plugin route: run the install above (for the githippo command), then /plugin marketplace add AnxovatomicaES/githippo and /plugin install githippo. The plugin supplies the hooks and the MCP server, and githippo setup / githippo install notice it and don't add a second copy (that used to run every hook twice). If you already have both, run githippo uninstall and keep the plugin. Or hand your agent INSTALL_FOR_AGENTS.md.
Download githippo-<version>.mcpb from the latest release and double-click it (or drag it into Settings → Extensions). It runs on Claude Desktop's built-in Node, so nothing else needs installing, and it uses the same vault as the CLI and Claude Code. Also listed in the official MCP Registry as io.github.AnxovatomicaES/githippo.
githippo sync --github # creates a private repo "githippo-memory" with your gh login
Every change is pushed in the background; the server pulls other machines' changes every 5 minutes. On a second machine: git clone the repo to ~/.githippo/vault, then run the installer. No token is stored anywhere: git uses your existing GitHub CLI, SSH or keychain login.
The phone and web apps can't reach your laptop, so this mode reads the vault from GitHub:
githippo sync --github (above).MEMORY_REPO (e.g. you/githippo-memory), GITHUB_TOKEN (fine-grained, that one repo, Contents: Read and write) and PUBLIC_URL (your service's https URL). MCP_SECRET is generated for you. The default Render plan has 512 MB, so the server starts with keyword search (EMBEDDINGS=none); on a plan with 2 GB or more, set EMBEDDINGS=local for the multilingual model. The blueprint also attaches a 1 GB disk at /var/data for the OAuth state file (spent login codes and refresh tokens): without a persistent disk, reuse detection forgets everything at each restart. Tokens still expire; this is defence in depth, and costs about $0.25 a month.https://<your-app>.onrender.com/mcp. Claude registers itself and opens a sign-in page; enter MCP_SECRET once. That's standard OAuth 2.1 (PKCE, dynamic client registration, audience-bound tokens), so nothing secret ever sits in a URL.A shared vault for a team. Add people with folder-level access; each signs in with their own password:
githippo users add john --acl "shared/:write,people/:read" # prints his password once
githippo users list
Each rule is a folder (shared/, also written shared) or one exact note (people/ada.md), never a string prefix: shared:read does not open shared-secret/. Paths are checked in one canonical form: leading or trailing spaces, tabs, invisible characters and .. are refused rather than repaired, and a grant applies only to the exact spelling it names (so Users/bob on a case-insensitive disk is not users/bob). The longest matching rule wins (none, read, write). Everyone also gets a private users/<id>/ folder for their own inbox, sessions and pinned core memory, which a catch-all rule can never open. Facts a user can't write where they'd naturally go land in their own inbox instead. Every commit records who made it. Changing a password or ACL revokes that user's tokens immediately. On hosts without a disk, paste ~/.githippo/users.json into the USERS_JSON variable.
Local: command githippo serve. Remote: URL https://host/mcp; clients that support MCP OAuth sign in by themselves, others can send Authorization: Bearer <MCP_SECRET> (a header, so it doesn't end up in URL logs).
Plain Markdown, Obsidian-compatible. Open the repo as a vault and you get the graph view for free.
---
name: billing-v2
title: Billing v2
type: project
description: Billing rewrite
aliases: [billing rewrite]
---
## Decisions
- Use idempotency keys on every write endpoint
- owner:: [[sam-okafor]]
- Launch target is end of Q1
## History
- ~~Launch target is end of Q4~~ (until 2026-09-30)
Layout: core.md (pinned), index.md (table of contents), inbox.md (unrouted facts), people/, projects/, topics/, decisions/, sessions/ (checkpoints). See examples/memory.
Note names can contain spaces, accents and any script (my notes.md, café.md, 笔记.md), so a vault synced from Obsidian works as it is. Only names that are unsafe everywhere are refused (control characters, \ < > : " | ? *, hidden names). Frontmatter is treated as untrusted: odd values (title: [], huge fields, __proto__) can't break search, and a single unreadable note is skipped with a warning instead of taking memory down. Notes containing unresolved git conflict markers are never indexed or written to, and githippo refuses to write while a merge or rebase is unfinished.
One rule everywhere: environment variable, then ~/.githippo/config.json, then the default. The ones most people touch: VAULT_DIR (default ~/.githippo/vault), EMBEDDINGS (local, static, voyage or none), GITHIPPO_CONFIRM (auto, strict or off) and PROMPT_RECALL=0 (turn off the per-prompt hook). Everything else, including the remote-server and team-vault variables, is in docs/configuration.md.
githippo doctor fails if it is, githippo sync won't push to it and the background push refuses (override on purpose with GITHIPPO_ALLOW_PUBLIC_BACKUP=1). It can only check GitHub remotes; on another host, check the repository's visibility yourself./mcp resource and to the user's current password and ACL). Refresh tokens rotate: each works once, and presenting a spent one (a sign it was copied) revokes everything from that sign-in, access tokens included; reusing an authorization code does the same. Signing is stateless (HMAC), so restarts don't log anyone out. The old secret-in-URL (/mcp/<secret>) is off unless LEGACY_SECRET_URL=1, because URLs end up in proxy logs. The server answers malformed requests with 400 instead of dying, validates every body, throttles repeated failed logins, caps and counts JSON-RPC batches per call, and rate-limits by socket address.forget removes a line from the current file, but git history keeps it; purging needs a history rewrite... and (on case-insensitive disks) case changes, including the way macOS and Windows fold ſ, ß and fi, can't slip past a rule. index.md shows each reader only the notes they can read, and a name that two readable notes claim sends the fact to your inbox instead of guessing. Another user's users/<id>/ folder stays closed to catch-all rules.pin (confirmed with you where your client supports it, and refused for facts from outside sources), never by remember about:"core" or the files tool; lines that came from outside sources never load into it, and its token budget is a hard cap on what loads.GITHIPPO_CONFIRM=auto never asks. Set GITHIPPO_CONFIRM=strict there if you want facts from outside sources, pins to core memory and removals refused instead of allowed unconfirmed.[external] and keep that mark through moves, rewrites and consolidation. Text that reads like instructions aimed at an AI is refused (on every write route: remember, the files tool, the memory tool and LLM rewrites; checked as written and as recall will show it, so a comment, a link alias or an invisible character doesn't hide it). That screen is a heuristic for the common phrasings, not a guarantee: a paraphrase gets through, which is why core memory has its own door and facts from outside are marked. Checkpoints neutralise such text and can't be made to forge sections.githippo on the PATH. Every failure path exits 0 with a short timeout. On macOS and Linux setup writes the absolute paths of node and githippo into the hooks, the status line and the MCP entry, so they work when Claude Desktop or an IDE starts Claude Code with a shorter PATH than your shell; if that node moved they try node, then githippo, from the PATH, and when none runs (githippo was uninstalled) they do nothing. Re-running githippo setup after moving or reinstalling brings an earlier entry up to date, and githippo doctor says if the pinned path is gone. (The Claude Code plugin's hooks still look githippo up on the PATH.).mcpb bundle is not code-signed yet, a deleted fact lives on in git history until you rewrite it, and the benefit to answer quality is not yet measured (see above).npm ci && npm test # 200+ tests: unit, hooks, adopted features, bug regressions, local vault, setup, end-to-end over Streamable HTTP with the official MCP client
npm run fuzz # seeded fuzzing of every entry point (FUZZ_SEED=<n> FUZZ_ITERATIONS=<k> to reproduce or go deeper); runs nightly in CI with a fresh seed
npm run bench # token cost of the tool surface
node scripts/versions.mjs # every version string and pinned tag agrees (CI and the release check this)
Signed .mcpb releases · SSO (GitHub/Google) as an OAuth identity provider for team vaults · an optional derived SQLite index for vaults far beyond 50,000 notes · MCP Apps (an in-chat memory browser) once Claude Code ships it by default · MCP sampling, if Claude's clients ever declare it (Claude Code 2.1.302 declares only roots and elicitation, which is why consolidation and contextual retrieval still need an ANTHROPIC_API_KEY)
MIT licensed. PRs welcome.