Skip to content
MCP server

Memorix

Local-first shared project memory for coding agents across Claude Code, Codex and Cursor

Runs locally

Memorix is an MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.

Platforms
CLI, Self-hosted, macOS
Runs
Locally
Version
1.10.5
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add memorix -- npx -y memorix

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "memorix": {
      "command": "npx",
      "args": [
        "-y",
        "memorix"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "memorix": {
      "command": "npx",
      "args": [
        "-y",
        "memorix"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "memorix": {
      "command": "npx",
      "args": [
        "-y",
        "memorix"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "memorix": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "memorix"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add memorix -- npx -y memorix

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.memorix]
command = "npx"
args = ["-y", "memorix"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "memorix": {
      "command": "npx",
      "args": [
        "-y",
        "memorix"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "memorix": {
          "command": "npx",
          "args": [
            "-y",
            "memorix"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user memorix npx -- -y memorix

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "memorix": {
          "command": "npx",
          "args": [
            "-y",
            "memorix"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "memorix": {
          "command": "npx",
          "args": [
            "-y",
            "memorix"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "memorix": {
          "command": "npx",
          "args": [
            "-y",
            "memorix"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "memorix": {
          "command": "npx",
          "args": [
            "-y",
            "memorix"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "memorix": {
          "command": "npx",
          "args": [
            "-y",
            "memorix"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "memorix": {
          "command": "npx",
          "args": [
            "-y",
            "memorix"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "memorix": {
          "command": "npx",
          "args": [
            "-y",
            "memorix"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Memorix

Memorix keeps memory under the Git project instead of inside one chat or tool. Memories are source-labelled, covering decisions, fixes, gotchas and session summaries, and a Reasoning Memory records why choices were made, with alternatives. Git Memory turns commits into searchable facts, and CodeGraph ties files, symbols and impact checks to source.

SQLite is the canonical store. Small projects use an in-process index, larger ones a persistent full-text index with an optional local semantic one, and no LLM key is needed. The task context command, for example memorix context with a task description, builds a bounded workset of facts, verification and next steps for the next session rather than replaying old conversations. A local dashboard shows memory sources, retention and health, and a bundled terminal agent called memcode shares the same memory.

Access is through MCP, CLI, hooks and SDK. Install it with npm install -g memorix and connect with memorix setup, for example --agent claude --global. The README lists many supported agents, including Claude Code, Codex, Cursor, Windsurf, Copilot, Gemini CLI and Kiro.

Tools this server provides (1)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 name doesn't say.

From the server's own tool labels and tool names; not verified by us.

memorix_project_context
Returns a bounded task workset with start files, memory and verification.

What it does

Shared project memory
One memory pool per Git project across agents.
Git and reasoning memory
Commits become facts; decisions keep their alternatives.
Task workset
A bounded context brief for the next task.
CodeGraph
Source-backed files, symbols and impact context.
Local dashboard
Inspect sources, retention and health.
memcode terminal agent
A bundled agent that uses the same memory.

Good for

  • Continue work in a new agent session
  • Switch between Claude Code and Cursor without re-explaining
  • Recall why an architecture choice was made
  • Search facts derived from git commits
  • Coordinate parallel agent tasks

Memorix FAQ

Does Memorix need an LLM key?

No. Local full-text retrieval works without one and providers are optional.

Is Memorix only for Claude Code?

No. It works with the agents and MCP clients in its integration matrix.

Does Memorix replay old conversations?

No. Context is bounded and shaped around the current task.

How do I install Memorix?

npm install -g memorix, then memorix setup --agent claude --global.

How do I add Memorix to Claude Code?

Run this command in your terminal: claude mcp add memorix -- npx -y memorix

What are the best alternatives to Memorix?

The closest alternatives to Memorix are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README and the project's website.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers