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-08-09 · ★ 9 · #152 OF 304 MAINTAINED MEMORY · VERIFIED 2026-09-18
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 #152 of 304 actively-maintained memory servers as of 2026-09-18.
- 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-18, 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 - 162 languages, sub-ms queries, 99% fewer tokens. ★ 43,715 · 2026-09-18
- Superlog Open-source agent that observes and fixes your application. Query logs, traces, metrics, incidents. ★ 1,449 · 2026-09-17
- Tradememory Protocol Tamper-evident decision audit trail and outcome-weighted memory for AI trading agents. ★ 1,419 · 2026-09-14
- Persome Local-first personal memory and model server for trusted MCP agents on macOS. ★ 1,322 · 2026-08-21
- Neo4j Memory MCP Neo4j Knowledge Graph Memory Server ★ 984 · 2026-09-09
- Projectmem Coding agent memory - one local MCP server for every project. Warns before repeating failed fixes. ★ 826 · 2026-09-15
Pairs well with
Servers that cover what Gitmem doesn't - only shown when the pairing reason fits the companion.
More memory MCP servers · GRAFOMEM CGR Capture · GRAFOMEM CGR Read · Agent Recall · Facthouse · Gossipcat
More TypeScript MCP servers · Figma Context MCP (glips) · Gnt · GoAnyAPI MCP · Planka · Deckaura Tarot · see all