# Titen Memory [Health: Active]

**Category:** 🗄️ Databases  
**Repository:** https://github.com/RamaAditya49/titen  
**GitHub Stars:** 20  
**npm Downloads (last month):** 3135  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/titen-memory

## Description
Evidence-grounded agent memory with mandatory provenance, on local SQLite or Cloudflare D1

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

```json
"mcpServers": {
  "titen-memory": {
    "command": "npx",
    "args": ["-y","titen-memory","mcp"]
  }
}
```

## Documentation

## What Titen Memory does

Titen Memory provides agent memory as an MCP service with evidence attached to each stored claim. Memory records retain their originating source, identify who may read them, and preserve evidence that conflicts with the claim instead of silently replacing it. The default model is caller-authored: an application supplies statements and links them to source observations it has already recorded.

The server is designed to run without external providers. It does not require an API key, an LLM, or an embedding service for its default retrieval path. Local operation uses one SQLite file and makes no outbound network calls. Cloudflare D1 is also supported as a storage option.

Titen also includes an audit command for examining memory stores. It can inspect a Titen database, a reference MCP memory JSON or JSONL store, or a Mem0 export, and reports exact duplicates, near duplicates, recall loops, secret patterns, and stale entries with item-level evidence.

## How it works

The local CLI starts an MCP server over stdio. With no environment variables, it creates or opens `~/.titen/memory.db`, initializes organization, workspace, project, and owner records, and serves the connection in process. Retrieval uses SQLite FTS5 with stemming and ranked results; vector retrieval can be used when a vector index is configured.

Memory reads are scoped by organization, subject, project, and workspace, with authorization applied before retrieval. Retention and eviction policies are available for controlling store growth. Contradictory claims remain linked to their supporting evidence and can be flagged rather than overwritten.

Titen exposes the same nine tool names and schemas as `@modelcontextprotocol/server-memory`, and answers the `memory://knowledge-graph` resource. On first local startup it can import an existing reference-server memory graph when `MEMORY_FILE_PATH` points to the old store.

## Setup and configuration

Bun 1.2 or newer is required by the CLI. A basic local setup is:

```bash
npx titen-memory mcp
```

The install script can install Bun when needed and add the `titen` command:

```bash
curl -fsSL https://titen.dev/install.sh | bash
```

Claude Code can register the server with stdio transport:

```bash
claude mcp add --transport stdio --scope user titen -- npx -y titen-memory mcp
```

To import an existing reference memory store, pass its path with `MEMORY_FILE_PATH`. Titen also checks the working directory, its `node_modules` directory, and the npm `npx` cache when that variable is absent. A served instance can be addressed with `TITEN_MCP_URL` and authenticated with `TITEN_API_KEY`.

## Tools and capabilities

- Serve agent memory through MCP over stdio.
- Store claims with source provenance and contradictory evidence.
- Apply organization, subject, project, and workspace scoping.
- Enforce authorization before retrieving memories.
- Search with FTS5 stemming and ranked results.
- Audit Titen, reference-server, and Mem0 memory stores locally.
- Import an existing `@modelcontextprotocol/server-memory` graph on first local start.

## Limitations and notes

The default memory model depends on the caller to author claims and record the source observations; it does not read a transcript and independently decide what to remember. Embeddings and model enrichment are optional rather than prerequisites. Audit reports are limited to signals available in the inspected export, and the audit command opens the path read-only without uploading it.

The local CLI refuses to start without Bun 1.2 or newer. When importing a reference-server store, using the correct path matters because that server may write beside its installation rather than in the directory from which it is launched. Titen's compatibility layer preserves the reference server's nine tool names and resource, but changes retrieval, scoping, authorization, contradiction handling, and storage behavior underneath.

_Full upstream README: https://allmcps.com/mcp/titen-memory/readme_

