vestige/packages/vestige-mcp-npm
Sam Valladares 14b061f124
Release v2.1.23 Receipt Lock hardening
Hardens Sanhedrin Receipt Lock for model-agnostic use, adds fail-open telemetry and receipt docs, fixes smart_ingest batch safety, wires opt-in CUDA Qwen3 device selection, and refreshes dashboard/release assets.\n\nFixes #54\nFixes #58\nFixes #60\nRefs #59
2026-05-27 19:03:16 -05:00
..
bin Prepare agent-neutral hardening release 2026-05-24 16:09:44 -05:00
scripts Prepare agent-neutral hardening release 2026-05-24 16:09:44 -05:00
.gitignore feat(v2.0.5): Intentional Amnesia — active forgetting via top-down inhibitory control 2026-04-14 17:30:30 -05:00
.npmignore Release v2.1.0 2026-04-27 13:20:51 -05:00
package.json Release v2.1.23 Receipt Lock hardening 2026-05-27 19:03:16 -05:00
README.md Prepare agent-neutral hardening release 2026-05-24 16:09:44 -05:00

vestige-mcp-server

Vestige MCP Server - A synthetic hippocampus for AI assistants.

Built on 130 years of cognitive science research, Vestige provides biologically-inspired memory that decays, strengthens, and consolidates like the human mind.

Installation

npm install -g vestige-mcp-server

This automatically downloads the correct binary for your platform (macOS, Linux, Windows) from GitHub releases.

Already installed? Update without copying release URLs:

vestige update

This refreshes the binaries only. Optional Claude Code Cognitive Sandwich companion files are refreshed with vestige update --sandwich-companion or vestige sandwich install.

What gets installed

Command Description
vestige-mcp MCP server for local agent memory
vestige CLI for stats, health checks, and maintenance
vestige-restore Restore helper for backup recovery

Verify installation

vestige health

Usage with MCP Clients

Vestige works with any client that can register a stdio MCP server.

Claude Code

claude mcp add vestige vestige-mcp -s user

Codex

codex mcp add vestige -- vestige-mcp

Then restart your MCP client.

Usage with Claude Desktop

Add to your Claude Desktop configuration:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "vestige": {
      "command": "vestige-mcp"
    }
  }
}

CLI Commands

vestige stats          # Memory statistics
vestige stats --states # Cognitive state distribution
vestige health         # System health check
vestige consolidate    # Run memory maintenance cycle
vestige update         # Update binaries
vestige update --sandwich-companion # Also refresh optional Claude Code files
vestige sandwich install # Manage optional Claude Code hook files

Features

  • FSRS-6 Algorithm: State-of-the-art spaced repetition for optimal memory retention
  • Dual-Strength Memory: Bjork & Bjork (1992) - Storage + Retrieval strength model
  • Synaptic Tagging: Memories become important retroactively (Frey & Morris 1997)
  • Semantic Search: Local embeddings via nomic-embed-text-v1.5 (768 dimensions)
  • Local-First: All data stays on your machine - no cloud, no API costs

Storage & Memory

Vestige uses SQLite for storage. Your memories are stored on disk, not in RAM.

  • Database limit: 216TB (SQLite theoretical max)
  • RAM usage: ~64MB cache (configurable)
  • Typical usage: 1 million memories ≈ 1-2GB on disk

You'll never run out of space. A heavy user creating 100 memories/day would use ~1.5GB after 10 years.

Embeddings

On first use, Vestige downloads the nomic-embed-text-v1.5 model (~130MB). This is a one-time download and all subsequent operations are fully offline.

The model is stored in Vestige's OS cache directory, or you can set a global location:

export FASTEMBED_CACHE_PATH="$HOME/.fastembed_cache"

Environment Variables

Variable Description Default
RUST_LOG Log verbosity + per-module filter info
FASTEMBED_CACHE_PATH Embeddings model cache override OS cache dir
VESTIGE_DATA_DIR Storage directory fallback; database lives at <dir>/vestige.db OS data dir
VESTIGE_DASHBOARD_PORT Dashboard port 3927
VESTIGE_AUTH_TOKEN Bearer auth for dashboard + HTTP MCP auto-generated

Storage precedence is --data-dir <path>, then VESTIGE_DATA_DIR, then your OS's per-user data directory.

Troubleshooting

"Could not attach to MCP server vestige"

  1. Verify binary exists: which vestige-mcp
  2. Test directly: vestige-mcp (should wait for stdio input)
  3. Check your MCP client's server logs.

"vestige: command not found"

Reinstall the package:

npm install -g vestige-mcp-server

Embeddings not downloading

The model downloads on first memory ingest or search operation. If your MCP client cannot connect to the MCP server, no memory operations happen and no model downloads.

Fix the MCP connection first, then the model will download automatically.

Supported Platforms

Platform Architecture
macOS ARM64 (Apple Silicon), x86_64 (Intel)
Linux x86_64
Windows x86_64

License

AGPL-3.0-only