Skip to content
MCP serverOfficial: Published to the official MCP Registry by the GitHub account or domain it is named after, which owns its code or website.

memtwig

Git-native Markdown memory for coding agents, with separate vaults per client

memtwig is an open-source MCP server for agent tooling. It is available on CLI, macOS, Linux, Self-hosted and API.

Pricing
Open source
Platforms
CLI, macOS, Linux
Version
1.6.0
Listing updated

Similar MCP servers

About memtwig

Memtwig stores what your AI agents learn as plain Markdown files inside a Git repository, so the notes stay readable, diffable and yours. Each working folder is matched to its own vault by path or Git remote, which keeps one client's notes out of another client's sessions while personal preferences are shared across all of them.

The tool ships as a single static Go binary with no external vector database. Search runs locally over a SQLite FTS5 index, and optional embeddings can be added later. A linter, a secret scanner and a merge-conflict guard keep the notes tidy, and superseded lines are archived instead of silently rewritten.

Teams can route agent edits through a proposal queue, where changes appear as reviewable diffs to accept or reject before they land in a shared vault. It suits developers who use several coding agents and want their shared context under version control rather than in a hosted memory service.

What it does

Plain Markdown in Git
Notes are ordinary .md files in a Git repository that can be opened in any editor and diffed over time.
Isolated client vaults
Vaults are selected by working directory or Git remote so each client's notes stay separate.
Local hybrid search
Search runs against a local SQLite FTS5 index with no network connection or API key required.
Diff approval queue
Agent edits to protected vaults are queued as proposals that a person approves or rejects.
Hygiene linting and archiving
A linter and secret scanner flag problems, and outdated lines are archived with dates kept on decisions.
Embedded Studio UI and TUI
A local web interface and terminal UI cover browsing, editing, proposals and audit logs.
One-command harness setup
A single command connects supported coding agents and exposes a standard MCP server for others.

Good for

  • Keep shared project context consistent across Claude Code, Cursor and Codex
  • Separate notes for each client so agents never mix confidential information
  • Let an agent propose note changes that a team reviews before they are merged
  • Record dated architectural decisions that agents can recall in later sessions
  • Search project notes offline from a terminal without a cloud account

Pricing

Open source

Open source under Apache 2.0; optional Memtwig Cloud offering hosted MCP and managed sync.

Prices change. Check memtwig.com before you buy.

memtwig FAQ

How does per-client isolation work?

Each folder maps to a vault by path or Git remote, so an agent in one client's repository does not see another client's notes.

Do I need a cloud database or API key?

No. Local search and the embedded Studio UI run offline; optional embeddings and LLM curation can be added later.

Can agents overwrite team notes?

Protected vaults queue reviewable diffs that you approve or reject from the CLI, TUI or Studio UI.

Which coding agents are supported?

Claude Code, Cursor, Codex, Antigravity, Hermes, Grok Bot, OpenBot, T3 Code, and any client that supports standard MCP.

Is memtwig free?

Yes. memtwig is open source, so you can use and self-host it for free.

What are the best alternatives to memtwig?

The closest alternatives to memtwig are Agent Memory, Agent Memory MCP, Elefante, Gitmem and agentmem.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.

How AIPoweredBot checks servers