MCP server
Gitmem
Persistent institutional memory for AI coding agents. Memory that compounds.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.2.1
- Listing updated
- 4 days ago
About Gitmem
Gitmem is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add gitmem --env SUPABASE_SERVICE_ROLE_KEY='<SUPABASE_SERVICE_ROLE_KEY>' -- npx -y gitmem-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"gitmem": {
"command": "npx",
"args": [
"-y",
"gitmem-mcp"
],
"env": {
"SUPABASE_SERVICE_ROLE_KEY": "<SUPABASE_SERVICE_ROLE_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"gitmem": {
"command": "npx",
"args": [
"-y",
"gitmem-mcp"
],
"env": {
"SUPABASE_SERVICE_ROLE_KEY": "<SUPABASE_SERVICE_ROLE_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"gitmem": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gitmem-mcp"
],
"env": {
"SUPABASE_SERVICE_ROLE_KEY": "<SUPABASE_SERVICE_ROLE_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"gitmem": {
"command": "npx",
"args": [
"-y",
"gitmem-mcp"
],
"env": {
"SUPABASE_SERVICE_ROLE_KEY": "<SUPABASE_SERVICE_ROLE_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"gitmem": {
"command": "npx",
"args": [
"-y",
"gitmem-mcp"
],
"env": {
"SUPABASE_SERVICE_ROLE_KEY": "<SUPABASE_SERVICE_ROLE_KEY>"
}
}
}
}Configuration
SUPABASE_URLSupabase project URL for pro tier features (semantic search, analytics). Not required for free tier.SUPABASE_SERVICE_ROLE_KEYSupabase service role key for pro tier features. Not required for free tier.
Pricing
Open source
Gitmem FAQ
Is Gitmem free?
Yes. Gitmem is open source, so you can use and self-host it for free.
How do I add Gitmem to Claude Code?
Run this command in your terminal: claude mcp add gitmem --env SUPABASE_SERVICE_ROLE_KEY='<SUPABASE_SERVICE_ROLE_KEY>' -- npx -y gitmem-mcp