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 connecting memory tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.
VERIFIED ACTIVE
LAST COMMIT 2026-08-09 · ★ 9 · #86 OF 259 MAINTAINED MEMORY · VERIFIED 2026-08-25
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.1.2 · 2026-02-18
Changes · Changed · Repository migration: Moved from nTEG-dev/gitmem to gitmem-dev/gitmem. All references updated. · Added · OpenClaw distribution: SKILL.md and listing materials for OpenClaw skill directory.…
v1.1.1 · 2026-02-18
Changes · Removed · Dead dependency @huggingface/transformers: Massive package (ONNX runtime + model files) was declared as a runtime dependency but never imported anywhere. Shipped unused since initial release…
v1.1.0 · 2026-02-18
Highlights · Cursor IDE support: npx gitmem-mcp init auto-detects Cursor projects and generates Cursor-specific config · 34 new E2E tests + 454 new unit tests · Independent validation: Cursor AI agent scored gitmem 88%…
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
- repository
- github.com/gitmem-dev/gitmem
- category
- memory - ranked #86 of 259 actively-maintained memory servers as of 2026-08-25.
- 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-08-25, its last commit was 2026-08-09. 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
Alternatives to Gitmem
Maintained memory servers if Gitmem isn't the fit.
- Codebase Memory Codebase knowledge graph for AI agents - 159 languages, sub-ms queries, 99% fewer tokens. ★ 40,198 · 2026-08-23
- Tradememory Protocol MCP memory for AI trading agents. Store trades, recall similar setups, track strategy performance. ★ 1,412 · 2026-08-11
- Superlog Open-source agent that observes and fixes your application. Query logs, traces, metrics, incidents. ★ 1,394 · 2026-08-23
- Persome Local-first personal memory and model server for trusted MCP agents on macOS. ★ 1,314 · 2026-08-21
- Neo4j Memory MCP Neo4j Knowledge Graph Memory Server ★ 979 · 2026-04-10
- Projectmem Local-first memory + judgment layer for AI coding agents - warns before repeating failed fixes. ★ 750 · 2026-08-06
Pairs well with
Servers that cover what Gitmem doesn't - only shown when the pairing reason fits the companion.
More memory MCP servers · Agent Recall · Gossipcat · Memxus · Epitome · Product CLI
More TypeScript MCP servers · Figma Context MCP · Gnt · Planka · Guardvibe · Test Coverage MCP · see all