# Memorix [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/AVIDS2/memorix  
**GitHub Stars:** 957  
**npm Downloads (last month):** 5716  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/memorix

## Description
Local-first persistent project memory for AI coding agents across MCP clients and sessions.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

## Documentation

## What Memorix does

Memorix provides a shared memory layer for AI coding work. Its durable data is scoped to a Git project and remains available across chats, terminal sessions, IDE changes, and agent handoffs. The system covers more than free-form notes: it can retain searchable observations, session summaries, implementation details, Git-derived engineering facts, design rationale, source-backed knowledge, workflows, and project skills.

The project also includes a local control plane, agent setup utilities, optional hooks, a dashboard, a CLI, an SDK, and `memcode`, a bundled terminal coding agent that reads and writes the same memory. For coordinated work, orchestration features handle task context, handoffs, file locks, messages, verification gates, and review loops.

## How it works

SQLite is the authoritative local store. Smaller projects can use an in-process Orama search path, while larger projects can use a persistent SQLite FTS5 candidate index. When available, an optional local LanceDB semantic shadow index adds semantic search. These indexes can be rebuilt and do not cap the amount of durable memory retained. LLM-based memory formation and embeddings are optional.

Memory remains associated with the current Git project by default. Curated long-term entries are review-oriented and can include source evidence; only an explicitly portable user item can move between local projects. Git Memory derives searchable engineering facts from commits, while Reasoning Memory records decisions, alternatives, trade-offs, and risks.

Optional multi-device synchronization sends privacy-filtered observation events through a relay. Supported relay choices include GitHub JSONL, the filesystem, S3, and Postgres. Local SQLite remains canonical, and synchronization can use the project scope or an optional user scope covering local projects.

## Setup and configuration

Use the setup command to configure an agent with the interface it supports:

```bash
memorix setup --agent <agent>
```

Depending on the agent, setup can install or configure MCP, project rules, hooks, skills, plugins, bundles, or extensions. Stdio MCP is the default transport. Agent diagnostics are available through `memorix doctor agents`, and Memorix-owned agent configuration can be repaired with `memorix repair agents`.

The command-line interface also provides access to memory, context, codegraph, Git ingestion, knowledge, orchestration, synchronization, and diagnostics. Applications and automation can use the `createMemoryClient()` SDK entry point.

## Tools and capabilities

- Project context and bounded task worksets through `memorix context`, `memorix resume`, and `memorix_project_context`.
- Searchable observation memory for facts, fixes, gotchas, summaries, and implementation notes.
- Curated episodic, semantic, and procedural long-term memory with source evidence.
- Code snapshots, TypeScript and JavaScript symbols and relations, file links, and freshness checks through CodeGraph features.
- Commit ingestion and Git hooks for turning changes into searchable project facts.
- Reasoning records for architecture decisions, alternatives, trade-offs, and risks.
- Review-gated knowledge pages and canonical project workflows.
- Agent hooks, reusable skills, a local dashboard, HTTP access, and preview-first cleanup actions.
- Task planning, handoffs, locks, messaging, verification, and review loops for team work.

## Limitations and notes

Memorix is local-first: the project’s SQLite database is the source of truth, while search indexes are derived data. Semantic indexing, embeddings, and LLM-backed memory formation are optional rather than required. Code intelligence is strongest for TypeScript and JavaScript; other languages use a Lite fallback, although an existing local CodeGraph or SCIP result can contribute a bounded outline. Synchronization is optional and is limited to privacy-filtered observation events rather than replacing the local canonical store.

_Full upstream README: https://allmcps.com/mcp/memorix/readme_

