# genome [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/NORTHTEKDevs/genome  
**GitHub Stars:** 12  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/genome

## Description
Fully local memory for AI agents: zero-LLM ingest, semantic recall, air-gapped, auditable.

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

```json
"mcpServers": {
  "genome": {
    "command": "uvx",
    "args": ["genome-memory"]
  }
}
```

## Documentation

## What genome does

genome adds persistent memory to MCP-compatible AI agents without sending memory data to an external API. Incoming messages are embedded locally and saved for later semantic retrieval. The MCP interface exposes four agent tools: `remember` writes a memory, `recall` searches stored memories, `forget` removes a memory, and `reset_memories` clears the memory store.

The default MCP setup keeps data in `~/.genome/memories.db`. This makes the server suitable for cross-session memory on a local workstation, including environments where outbound network access is restricted or blocked. No API key is required for the MCP server.

## How it works

On the write path, genome applies the local `all-MiniLM-L6-v2` embedding model and stores the resulting vector with the input. The process does not call an LLM or make network requests during ingestion. Because the embedding step is deterministic, replaying the same journal reproduces the same content and vectors, although separately generated record IDs and timestamps can differ.

Recall performs exact cosine similarity search over the rows belonging to the relevant tenant. It does not require an approximate-nearest-neighbor index. A local cross-encoder reranker can optionally refine retrieved results.

An optional bi-temporal layer records when a fact became true in the represented world, rather than only when genome received it. This supports queries about the state of a fact at a particular point in time and allows later updates to remain part of the historical record instead of simply replacing earlier values.

The underlying storage design supports SQLite or Postgres. The packaged MCP example uses the local SQLite database path described above.

## Setup and configuration

Install the MCP extra with pip:

```bash
pip install "genome-memory[mcp]"
```

Register the server as a stdio MCP process:

```json
{
  "mcpServers": {
    "genome": {
      "command": "genome-mcp"
    }
  }
}
```

For an installation-free launch through uv, use `uvx` with the package and executable:

```json
{
  "mcpServers": {
    "genome": {
      "command": "uvx",
      "args": ["--from", "genome-memory[mcp]", "genome-mcp"]
    }
  }
}
```

The project targets Python 3.11 through 3.14. The local embedding model is downloaded once during initial setup and is approximately 90 MB; subsequent runs use the local copy.

## Tools and capabilities

- `remember`: store incoming information as local memory.
- `recall`: find relevant memories through semantic similarity search.
- `forget`: remove a selected memory.
- `reset_memories`: clear stored memories.
- Optional bi-temporal fact resolution for point-in-time questions.
- Optional local cross-encoder reranking of retrieved results.
- Tenant-scoped retrieval using exact cosine search.

## Limitations and notes

genome’s fully local write path depends on a local embedding model, so the first run may need to download model files before the server can operate offline. The server’s deterministic ingestion records the input and its embedding; it does not use an LLM on every message to decide which information should be retained.

Bi-temporal behavior is optional rather than inherent to every stored memory. Point-in-time answers depend on using that fact-recording layer and supplying the relevant domain time. The project reports benchmark parity with Mem0 on the cited LoCoMo and LongMemEval evaluations, but its stated advantages are local operation, write cost, speed, and auditability rather than higher answer accuracy.

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

