Gitmem MCP Server

Persistent institutional memory for AI coding agents. Memory that compounds.

Remote serverstreamable-http

What is the Gitmem MCP server?

Gitmem MCP server is a hosted integration for AI assistants that speak the Model Context Protocol. Persistent institutional memory for AI coding agents. Memory that compounds.

What you get

Documentation · npm · Getting Started · Tool Reference

  • Automatic Recall — — Scars surface before the agent takes similar actions
  • Session Continuity — — Context, threads, and rapport carry across sessions
  • Closing Ceremony — — Structured reflection captures what broke, what worked, and what to do differently
  • 20+ MCP Tools — — Full toolkit for memory management, search, threads, and multi-agent coordination
  • Zero Config — — npx gitmem-mcp init and you're running
  • Non-Destructive — — Merges with your existing .mcp.json, CLAUDE.md, and hooks

Setting it up

Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.

Configuration and credentials

You will need 3 environment variables: SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY, OPENROUTER_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Choosing this one

Plenty of knowledge and memory servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. It is maintained by gitmem-dev; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Before you rely on it

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the gitmem mcp server does with a few real requests.

How to install the Gitmem MCP server

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

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
SUPABASE_URLEndpoint or connection string the server talks to.Yes
SUPABASE_SERVICE_ROLE_KEYCredential the server authenticates with.Yes
OPENROUTER_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

It connects Gitmem to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Gitmem directly.