Skip to main content
Glama

CI Tests MCP tools License TypeScript Bun MCP Built on Claude

Your memory, architected. Recalled in full, and yours alone.

What it does · How it fits together · Connectome · Quickstart · Make it yours · Engineering · FAQ

What it does

Related MCP server: engram

How it fits together

Connectome

Quickstart

With Docker (memory server plus local models):

git clone https://github.com/Claudiusvs/Tulvin.git && cd Tulvin
cp .env.example .env      # set CONNECTOME_MCP_TOKEN, e.g. with: openssl rand -hex 32
docker compose up -d      # first run pulls bge-m3 and qwen3:8b (~6 GB)

From source (needs Bun ≥ 1.3 and Ollama):

git clone https://github.com/Claudiusvs/Tulvin.git && cd Tulvin
bun install && bun run test       # 935 tests, about 20 s, no Ollama needed
ollama pull bge-m3 && ollama pull qwen3:8b
cp .env.example .env              # set CONNECTOME_MCP_TOKEN
bun run connectome:start          # serves http://127.0.0.1:8766/mcp

Connect Claude Code, then add the agent roles and memory skills:

set -a; . ./.env; set +a          # load the token into this shell
claude mcp add --transport http --scope user connectome http://127.0.0.1:8766/mcp \
  --header "Authorization: Bearer $CONNECTOME_MCP_TOKEN"
mkdir -p ~/.claude/agents ~/.claude/skills
cp agents/*.md ~/.claude/agents/ && cp -R skills/* ~/.claude/skills/

Give it your identity (optional): copy the blank templates, fill them in, and have every session load them:

mkdir -p ~/.tulvin && cp -R templates/soma ~/.tulvin/soma   # then edit the files

Add this to ~/.claude/settings.json, using the absolute path to your clone:

{
  "hooks": {
    "SessionStart": [
      { "hooks": [{ "type": "command", "command": "bun /path/to/Tulvin/packages/soma/session-start.ts" }] }
    ]
  }
}

Try it: tell Claude "remember that we chose Postgres for billing because we need transactions", then in a new session ask "what database did we pick for billing, and why?"

Prefer to let Claude do the setup? Paste this into Claude Code:

Clone https://github.com/Claudiusvs/Tulvin, follow its README Quickstart with Docker, and connect it to Claude Code.

Make it yours

Engineering

FAQ

No. It uses vectors (sqlite-vec) for similarity, but recall also weighs memory type, decay, keyword matches and the knowledge graph. The store also changes as it is used: a contradicted fact is superseded when the new one is written, and recalling one memory weakens its close competitors. Slower processes, such as consolidating related events into facts and applying decay, run when an agent or a scheduled job calls the maintenance tools.

Not by default. Storage, embeddings and consolidation all run locally (SQLite, Kùzu, Ollama). Using the Claude API for consolidation is opt-in (CONNECTOME_LLM_PROVIDER=claude with an ANTHROPIC_API_KEY). The agents themselves run on Claude, so anything you say to them goes to Anthropic.

Yes. Connectome is a standalone MCP server that any MCP client can use. The agent roles and skills are optional.

Docker, or Bun ≥ 1.3 with Ollama: bge-m3 for embeddings and qwen3:8b for consolidation and graph extraction (or the Claude API instead, with an ANTHROPIC_API_KEY). Claude Code for the agents, skills and identity hook.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Self-hosted MCP-native agent memory server. Gives AI agents persistent, decay-weighted memory via 83 MCP tools — no cloud, full control. RocksDB+HNSW backend. Works with Claude Code, Cursor, and any MCP-compatible agent.
      14
      9
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Gives AI persistent personal memory with hybrid search, temporal decay, and knowledge graph. Works with Claude and any MCP client.
      109 npm
      10
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides AI agents and teams with self-hosted adaptive memory, combining hybrid search and a self-improving neural memory graph to enable precise recall and serendipitous discovery across MCP-compatible clients.
      15
      Apache 2.0
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables Claude Code to run a self-hosted persistent memory server backed by Qdrant, Neo4j, and Ollama, exposing 11 MCP tools for adding, searching, updating, deleting, and organizing memories and knowledge-graph entities. Supports Anthropic or local Ollama LLMs, automatic session hooks, and cross-session memory management.
      -