M

Memviz

pfillion42
🧠 Knowledge & Memory
0 Views
0 Installs

šŸ“‡ šŸ  šŸŽ 🪟 🐧 - Visual explorer for MCP Memory Service SQLite-vec databases. Browse, search, filter, edit memories with dashboard, timeline, UMAP projection, semantic clustering, duplicate detection, and association graph.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "pfillion42-memviz": {
      "command": "npx",
      "args": [
        "-y",
        "pfillion42-memviz"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

memviz logo

memviz

A local vector memory explorer with a modern UI inspired by Supabase and Pinecone.
Browse, search, visualize and manage the SQLite-vec database created by MCP Memory Service.

CI License: MIT


A quick note

I'm a sysadmin by trade, not a developer. My coding background is some C++ from many years ago. I built memviz entirely through vibe coding with Claude Code as a way to test AI-assisted development workflows. The whole thing was built in about two days.

It works, it has 349 tests, and I use it daily. But the code reflects the fact that an AI wrote most of it while I steered. If you spot rough edges, odd patterns, or things that could be done better, I'd genuinely appreciate the feedback. PRs and issues are very welcome.


Features

  • Dashboard - Overview with stats, top accessed memories, and usage charts (day/week/month)
  • Memory list - Browse, filter (type, tags, date, quality), full-text search, and vector similarity search
  • Memory detail - View and edit content, metadata, tags, and quality rating
  • Timeline - Chronological view grouped by day with type badges
  • Duplicates - Detect near-duplicate memories using vector similarity with adjustable threshold
  • Tags management - Rename, delete, and merge tags across all memories
  • Stale memories - Find old, low-quality memories to clean up
  • 2D embedding projection - UMAP scatter plot of your entire memory space with interactive zoom/pan
  • Semantic clustering - Automatic grouping by vector proximity with cluster visualization
  • Association graph - Force-directed graph of memory relationships
  • Bulk operations - Select multiple memories for batch delete, tag, or retype
  • Import / Export - JSON import and export of memories
  • Dark / Light theme - Toggle with system preference detection
  • EN / FR language toggle - Full interface translation with localStorage persistence
  • Keyboard shortcuts - j/k navigation, / search, ? help, and more
  • Security - Helmet headers, rate limiting, optional API token, Zod validation, localhost-only binding

Screenshots

Dashboard

Memories - Browse, search, filter, and manage

Memories

Timeline - Chronological view grouped by day

Timeline

Duplicates - Detect near-duplicates by vector similarity

Duplicates

Graph - Association graph with type-colored nodes

Graph

Prerequisites

  • Node.js 20 or later
  • A SQLite-vec database created by MCP Memory Service. This is the database memviz reads from. If you use Claude Code or Claude Desktop with the memory MCP server, you already have one.

Quick start

# Clone the repo
git clone https://github.com/pfillion42/memviz.git
cd memviz

# Backend
cd server
npm install
cp .env.example .env
# Edit .env and set MEMORY_DB_PATH to your SQLite-vec database path
npm run dev

# Frontend (in another terminal)
cd client
npm install
npm run dev

Open http://localhost:5173 in your browser.

Windows desktop shortcut (optional)

The repo includes PowerShell launcher scripts and an .ico icon file for a one-click desktop experience on Windows:

# Start both servers (minimized) + open browser
.\start-memviz.bat

# Stop both servers
.\stop-memviz.bat

To create a desktop shortcut: right-click on start-memviz.bat > Send to > Desktop (create shortcut), then change the icon to memviz.ico from the repo root.

The start script detects if servers are already running, waits for health checks (60s timeout), and opens your browser automatically.

Configuration

All configuration is done through environment variables in server/.env:

VariableRequiredDefaultDescription
MEMORY_DB_PATHYes-Path to the SQLite-vec database from MCP Memory Service
MEMORY_DB_READONLYNotrueOpen database in read-only mode (false to enable editing)
CORS_ORIGINSNohttp://localhost:5173Comma-separated allowed origins
ACCESS_LOG_DB_PATHNoDerived from MEMORY_DB_PATHPath for the access log database (writable)
API_TOKENNo-If set, requires Authorization: Bearer <token> on all API requests
HOSTNo127.0.0.1Listen address (localhost only by default)

Architecture

memviz/
ā”œā”€ā”€ server/          # Express + TypeScript API
│   ā”œā”€ā”€ src/
│   │   ā”œā”€ā”€ routes/  # REST endpoints under /api/
│   │   ā”œā”€ā”€ middleware/
│   │   └── index.ts
│   └── tests/       # Vitest (213 tests)
ā”œā”€ā”€ client/          # React + Vite + TypeScript
│   ā”œā”€ā”€ src/
│   │   ā”œā”€ā”€ pages/       # 10 pages
│   │   ā”œā”€ā”€ components/  # 11 reusable components
│   │   ā”œā”€ā”€ hooks/       # Custom React Query hooks
│   │   └── App.tsx
│   └── tests/       # Vitest + Testing Library (136 tests)
└── .github/workflows/   # CI: lint, typecheck, test, build

Stack: Express, better-sqlite3, sqlite-vec, umap-js, Zod | React 18, React Query, React Router, react-force-graph-2d, Vite, Vitest

Tests

# Run all backend tests
cd server && npm test

# Run all frontend tests
cd client && npm test

# Watch mode
cd server && npm run test:watch
cd client && npm run test:watch

349 tests total (213 server + 136 client).

Security

  • Binds to 127.0.0.1 by default (not exposed to the network)
  • CORS restricted to configured origins
  • Helmet HTTP security headers
  • Rate limiting (100 requests / 15 min)
  • Optional Bearer token authentication
  • Zod schema validation on all write endpoints
  • FTS5 query sanitization and LIKE pattern escaping
  • JSON body size limit (5 MB)

Keyboard shortcuts

KeyAction
j / kNavigate down / up in lists
/Focus search bar
EnterOpen selected memory
EscapeClose modal / clear selection
?Show keyboard shortcuts help

Troubleshooting

EACCES: permission denied on port 3001 or 5173 (Windows)

On Windows with Hyper-V or WSL enabled, the OS dynamically reserves port ranges for internal use. If memviz ports fall within these ranges, Node.js will fail with EACCES: permission denied.

Diagnose — check if your ports are in a reserved range:

netsh interface ipv4 show excludedportrange protocol=tcp

If port 3001 or 5173 appears inside one of the listed ranges, that's the issue.

Fix — permanently reserve the ports for your use (run as Administrator, one-time):

net stop winnat
netsh int ipv4 add excludedportrange protocol=tcp startport=3001 numberofports=2
netsh int ipv4 add excludedportrange protocol=tcp startport=5173 numberofports=1
net start winnat

After this, Hyper-V will never reclaim these ports. The reservation persists across reboots.

Verify — run the diagnostic command again. Your ports should now appear with a * (administered exclusion):

     3001        3002       *
     5173        5173       *

Acknowledgments

memviz exists because of MCP Memory Service by doobidoo, which creates and manages the SQLite-vec database that memviz explores. Huge thanks for building it.

Built with umap-js, sqlite-vec, React, Express, Vite, React Query, react-force-graph-2d, and Vitest.

Contributing

See CONTRIBUTING.md for guidelines.

License

MIT

Related MCP Servers

S
Server Memory
Verified

šŸ“‡ šŸ  - Knowledge graph-based persistent memory system for maintaining context

🧠 Knowledge & Memory2 views
M
Mcp Summarizer

šŸ“• ā˜ļø - AI Summarization MCP Server, Support for multiple content types: Plain text, Web pages, PDF documents, EPUB books, HTML content

🧠 Knowledge & Memory0 views
C
Claude Engram

šŸ šŸ  - Persistent memory and session intelligence for Claude Code. Auto-tracks mistakes, decisions, and context via hooks. Mines session history for patterns and cross-session search. Loop detection, pre-edit warnings, context compaction survival. Runs locally with Ollama.

🧠 Knowledge & Memory0 views
A
A2cr

šŸ ā˜ļø šŸ  šŸŽ 🪟 🐧 - MCP server for AI-agent handoffs. Saves client-encrypted WorkBaton checkpoints and WorkStash notes so Codex, Claude Code, Roo Code, and other MCP clients can resume work without passing full chat history.

🧠 Knowledge & Memory0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it →
ā˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.