Gitmem MCP Server

GitMem is an MCP server that gives your AI coding agent persistent learning memory across agent sessions. It remembers mistakes (scars), successes (wins), and decisions - so your agent learns from experience instead of starting from scratch every time. It runs locally over stdio via the published package.

People who work with agentic ai, institutional memory and openclaw and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-09-23 · ★ 9 · #68 OF 321 MAINTAINED MEMORY · VERIFIED 2026-09-30

MIT · TypeScript servers · how we verify → /methodology

01 · Install Gitmem

before you install - you'll need

Set SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY, OPENROUTER_API_KEY before connecting.

Claude Code

claude mcp add gitmem-dev-gitmem -- npx -y gitmem-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "gitmem-dev-gitmem": {
      "command": "npx",
      "args": [
        "-y",
        "gitmem-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package gitmem-mcp - unscoped; check the name against the project README before installing

registry namespace io.github.gitmem-dev is GitHub-verified and matches the repo owner

03 · What Gitmem can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v1.11.1 · 2026-09-23

Just upgrade the package. Nothing to change on your database. Every fix below works on a project · still on the setup.sql you first ran, back to 1.8.0, and was checked against a project on exactly · that schema and on…

v1.11.0 · 2026-09-22

Just upgrade the package. Nothing to change on your database. Every fix in this release works on · a project still on the setup.sql you first ran, back to 1.8.0. Each one was checked against a · project on exactly that…

v1.10.0 · 2026-09-21

Sessions that weren't being saved now save. On your own Supabase project, a session_close was · rejected by the database, and the session never saved, whenever it carried sub-agent observations, · child-agent records…

04 · Who maintains Gitmem

gitmem is maintained by gitmem-dev. It's the only MCP server we track from this author; the repo dates to Feb 2026.

05 · Facts

category
memory - ranked #68 of 321 actively-maintained memory servers as of 2026-09-30.
release cadence
4 releases in the last 90 days (latest 2026-09-23)
registry
io.github.gitmem-dev/gitmem (active, first published 2026-02-21)
packages
npm:gitmem-mcp

06 · Gitmem FAQ

What is Gitmem?

GitMem is an MCP server that gives your AI coding agent persistent learning memory across agent sessions. It remembers mistakes (scars), successes (wins), and decisions - so your agent learns from experience instead of starting from scratch every time. It runs locally over stdio via the published package.

Is Gitmem still maintained?

Yes - as of 2026-09-30, its last commit was 2026-09-23 and it shipped 4 releases in the last 90 days. We re-verify nightly.

How do I install Gitmem?

Run `npx -y gitmem-mcp`. The README documents 3 environment variables (SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY, OPENROUTER_API_KEY) to set first. Set SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY, OPENROUTER_API_KEY before connecting. You can also paste the ready-made client config above.

Does Gitmem run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Gitmem

Pairs well with

Servers that cover what Gitmem doesn't - only shown when the pairing reason fits the companion.

  1. Server Filesystem → filesystem companion filesystem · ★ 39,168
  2. Pdf MCP → filesystem companion filesystem · ★ 145

More memory MCP servers · GRAFOMEM CGR Capture · GRAFOMEM CGR Read · Agent Recall · Facthouse · Gossipcat

More TypeScript MCP servers · Glbforge · Figma Context MCP (glips) · Gnt · GoAnyAPI MCP · Planka · see all