# SynapseVault [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/Krittof/SynapseVault  
**GitHub Stars:** 27  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/synapsevault

## Description
Local-first, zero-dependency Python 3.11+ unified memory library for multi-Agent AI workflows (Cursor, Claude Code, Codex, Antigravity, DeepSeek Harness, MCP)

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/Krittof/SynapseVault), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
git clone https://github.com/Krittof/SynapseVault.git
```

2. Start the server:

```sh
python -m llm_memory.clients.cli daemon --port 8775
```

3. Sign in:

```sh
python -m llm_memory.clients.cli token bootstrap
```

4. Install:

```sh
powershell -ExecutionPolicy Bypass -File .\deploy\install.ps1 -Port 8775 -RegisterTask
```

5. Install:

```sh
./deploy/install.sh --port 8775 --register-service
```

## Documentation

## What SynapseVault does

SynapseVault provides a local, structured memory layer for multi-agent AI workflows. It stores information in a single-file SQLite vault and exposes that memory through MCP, allowing compatible clients to share context instead of maintaining separate agent-specific notes.

The design focuses on lifecycle-aware records rather than treating every conversation fragment as an interchangeable vector. Memories can carry types such as `user_profile`, `episode`, or `transient`, along with search terms, relationships, validity information, revisions, and provenance. Pinned entries provide reserved guardrail space when result budgets are small.

## How it works

Incoming content can arrive through the MCP capture flow, a native `dsh` bridge, manual import, or an opt-in read-only watcher. Secret and blocked-term checks, together with five-part idempotency, route accepted content into a staging inbox. A WebUI, curator agent, or optional LLM auto-curator can then turn the material into atomic memories.

The default retrieval path runs without a model or external service. It combines normalized text processing, CJK bigrams, identifier splitting, SQLite FTS5/BM25 search, bilingual search terms, clause scoring, relation expansion, and diversity reranking. Small-talk abstention can return no memory context rather than adding noise.

Optional Tier 1 retrieval handles semantic blind spots. Tier 1A uses an OpenAI-compatible embeddings endpoint, while Tier 1B uses a local `llama-server` with a GGUF embedding model. These paths are fused with the structured results and fall back to Tier 0 when disabled, offline, or outside the configured response deadline.

## Tools and capabilities

The MCP interface uses progressive disclosure so agents can begin with a compact index and request more detail only when needed:

- `memory_capture` accepts memory candidates for screening and staging.
- `memory_index` returns an initial, budget-conscious view of matching memories.
- `memory_timeline` exposes temporal history and related revisions.
- `memory_get` retrieves a selected memory with additional detail.
- The broader MCP surface contains 16 tools for capture, recall, lifecycle handling, and inspection.

Recall output includes trace identifiers and memory provenance in the form `[#id vN @machine/client]`. Persisted recall traces make it possible to audit which records contributed to a result. Version chains use compare-and-swap semantics, while `supersedes`, `contradicts`, suppression, decay, and tombstones help prevent obsolete or rejected facts from resurfacing.

## Setup and configuration

SynapseVault targets Python 3.11 or newer and uses only the Python standard library for its core implementation. It runs on Windows, Linux, and macOS. The default Tier 0 mode requires no GPU, model, or network service and stores its data in SQLite with WAL support.

Semantic retrieval is optional. For remote fallback, an OpenAI-compatible `/v1/embeddings` API can be used. For local fallback, the system can invoke a local `llama-server` and a GGUF embedding model, synchronizing vectors when needed.

## Limitations and notes

The free local workflow is intended for a single machine. Cross-device synchronization and team RBAC belong to the separately described self-hosted hub Pro track. Vector retrieval is not the primary search mechanism; it is a fallback for zero-overlap, cross-lingual, or fuzzy phrasing. The incremental watcher is opt-in and read-only, so it does not modify source logs.

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

