Memex
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
One Memory. All CLIs. Never Compacted. Exact Search.
Session history management for AI coding assistants. Never lose your conversations again.
Features
On-demand search - You control when to search; automatic injection is opt-in
Original preservation - Raw messages always kept; summaries are optional layers
Multi-CLI support - Claude Code, Codex, OpenCode, Gemini in one database
Powerful search - Full-text (FTS5) + semantic vectors + hybrid ranking
MCP integration - Search directly from your AI CLI
REST API - Integrate into any workflow
Local storage - All data stays on your machine
Related MCP server: Claude Code History MCP
Quick Start
Full
brew install vimo-ai/tap/memex
# Verify server is running
curl http://localhost:10013/healthLite
Zero-dependency CLI, reads local session data directly:
brew install vimo-ai/tap/memex-lite
memex search "anything you want"
memex list -n 10Docker
macOS / Linux:
docker run -d -p 10013:10013 \
-v ~/.vimo:/data \
-v ~/.claude/projects:/claude:ro \
-v ~/.codex:/codex:ro \ # 可选: Codex
-v ~/.local/share/opencode:/opencode:ro \ # 可选: OpenCode
-v ~/.gemini/tmp:/gemini:ro \ # 可选: Gemini
-e OLLAMA_HOST=http://host.docker.internal:11434 \ # 可选: 本机 Ollama (Docker Desktop)
ghcr.io/vimo-ai/memex:latestWindows (PowerShell):
docker run -d -p 10013:10013 `
-v "$env:USERPROFILE\.vimo:/data" `
-v "$env:USERPROFILE\.claude\projects:/claude:ro" `
-v "$env:USERPROFILE\.codex:/codex:ro" ` # 可选: Codex
-v "$env:LOCALAPPDATA\opencode:/opencode:ro" ` # 可选: OpenCode
-v "$env:USERPROFILE\.gemini\tmp:/gemini:ro" ` # 可选: Gemini
-e OLLAMA_HOST=http://host.docker.internal:11434 ` # 可选: 本机 Ollama (Docker Desktop)
ghcr.io/vimo-ai/memex:latestBinary downloads available at Releases.
Configure MCP
# Claude Code
claude mcp add memex -- npx -y mcp-remote http://localhost:10013/api/mcp
# Codex
codex mcp add memex -- npx -y mcp-remote http://localhost:10013/api/mcp
# Gemini
gemini mcp add --transport http memex http://localhost:10013/api/mcp
# OpenCode - edit ~/.config/opencode/opencode.json
# { "mcp": { "memex": { "type": "remote", "url": "http://localhost:10013/api/mcp" } } }Then search in your AI CLI:
use memex search "anything you want"Hooks (Optional)
Auto-inject relevant memory context into Claude Code sessions. See Hook Documentation for setup.
Documentation
Community
Join our Discord server for discussions, support, and updates.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent memory for Claude Code and Cursor. Stop re-explaining your project every session.
Your versioned prompt library: search, read, save and version prompts from Claude Code.
One searchable history across every AI coding tool, with secret scanning and a shared task board.
Shared memory for AI tools: save once, recall word for word from Claude, ChatGPT, Codex or Gemini.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceEnables comprehensive search and analysis of Claude Code conversation history using full-text search, optional semantic vector search, and conversation management tools. Provides fast SQLite-based indexing with role-based filtering, project organization, and hybrid search capabilities combining keyword and semantic matching.-
- AlicenseNot gradedqualityDmaintenanceSearch and reference your Claude Code conversation history directly from Claude, with full-text search, conversation viewing, and project browsing.23 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables searching and browsing past Claude Code conversations directly from within an active Claude session, with full-text search and cost tracking.MIT
- AlicenseNot gradedqualityFmaintenanceProvides Claude with long-term memory by indexing conversation history, enabling semantic search, decision tracking, and cross-project search.18 npm29MIT