Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

memgit

MCP server by code4161 Verified · memgit.dev

Gives AI coding agents one shared, versioned memory across Claude Code, Cursor, Codex and other MCP hosts. It is for developers who use several AI tools on more than one machine.

  • Score 86
  • 4 stars
  • 743 a week
  • MIT
  • Updated

Install memgit

Built from the published package, never by AI.

claude mcp add memgit -- npx -y memgit-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install memgit in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the memgit block.

About

memgit is a memory layer for AI coding agents. It imports the memory Claude Code already keeps and stores memories as readable .toon files in a git-style, content-addressed store. Every change is saved as a checkpoint, so memgit diff shows what changed and memgit rollback reverts a wrong memory. Memories are project-scoped by default, and searches return only the top matches for each query.

Hooks inject a bounded resume digest at session start and relevant memories at prompt time. Optional cloud sync shares the same memory across machines, and the server stores ciphertext only. The local engine, store and MCP server are MIT licensed. The tool is aimed at developers who use Claude Code, Cursor, Codex or other MCP hosts on several machines and want one memory they can inspect and undo.

Written from the project's README and checked against it.

Tools it gives your assistant

  • get_memoryFetches the full text of a memory by its identifier, after a search returns a short match.
  • searchSearches the store with BM25 ranking, limited to the current project unless all_projects is set.
  • memgit resumeShows recent checkpoints, work in flight, and critical and recent memories for a new session.
  • memgit diffShows what an agent changed in memory between checkpoints.
  • memgit rollbackRestores memory to an earlier checkpoint when a saved memory is wrong.
  • memgit onboardSeeds the store from an existing repository using git history, stack detection and docs.
  • memgit statsMeasures how many tokens the store costs as context compared with loading everything.

What you need

  • Python 3.11+
  • Node.js for the Claude Code plugin and the npx config
  • Paid plan for cross-machine sync, after 14 days free with no card

Try asking

  • What does my memory say about the database setup in this project?
  • Roll back the last memory change, it was wrong.
  • Onboard this repo and save the key project facts as memories.

Good to know

  • Cross-machine sync needs a paid plan after the 14-day free trial: $12 a month or $99 a year.
  • Windows installs via Chocolatey can wait a few days in moderation for new versions.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to memgit

All alternatives →

Compare with Zotero MCP, Agentdb or Genkitx MCP

memgit: common questions

Does memgit work without a cloud account?

Yes. The source says that with no cloud login and no licence key, memgit talks to nothing, and the local engine and MCP server are never gated.

How is memgit different from claude.md?

The source says claude.md loads all context every session, while memgit uses BM25 search to load only relevant memories and keeps full version history with rollback.

Is my memory readable if I stop paying for sync?

The source says a lapsed plan never locks your data. It stays on your machine, readable and exportable.

How do I install memgit?

In Claude Code run claude mcp add memgit -- npx -y memgit-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is memgit the official server?

memgit is published by memgit.dev from its verified domain in the official MCP Registry.

Is memgit free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is memgit safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to memgit?

Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.

Does memgit work with ChatGPT?

Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.

memgit Install

Add to stack

Loading.