This privacy-first, self-hosted MCP server helps you organize chat history, summarize messages, search across past chats with AI β and keeps everything secure and fully under your control.
Transform your Claude conversations into a searchable, organized knowledge base that grows with you
What's new in v3.0.2 β Removes the broken
SessionEndagent hook. Re-rungenerate-config.py --install-hooksto clean it from existing installs automatically.
- Core Benefits
- Prerequisites
- Quick Start
- Demo
- IDE Configuration
- Keeping Memcord Updated
- Using Memcord in a Project
- Basic Usage
- Summarizer Backends
- Documentation
- Infinite Memory - Claude remembers everything across unlimited conversations with intelligent auto-summarization
- Your Data, Your Control - 100% local storage with zero cloud dependencies or privacy concerns
- Effortless Organization - Per-project memory slots with timeline navigation and smart tagging
- Intelligent Merging - Automatically combines related conversations while eliminating duplicates
Python 3.10+ and uv are required. The installer handles both β click to expand manual instructions.
-
Python 3.10+ β python.org
-
uv (Python package manager) β install with:
macOS / Linux:
curl -LsSf https://astral.sh/uv/install.sh | shWindows (PowerShell):
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
macOS / Linux:
curl -fsSL https://github.com/ukkit/memcord/raw/main/install.sh | bashWindows (PowerShell):
irm https://github.com/ukkit/memcord/raw/main/install.ps1 | iexThis will:
- β Download and setup memcord
- β Set up Python virtual environment using uv
- β Generate platform-specific MCP configuration files
- β Configure Claude Desktop, Claude Code, VSCode, and Antigravity IDE
A demo GIF or terminal recording will be added here. Contributions welcome!
The installer auto-configures all supported IDEs. For manual setup or troubleshooting, see the detailed guides:
| IDE / Client | Guide |
|---|---|
| Claude Code CLI | Installation Guide β Claude Code |
| Claude Desktop | Installation Guide β Claude Desktop |
| VSCode + GitHub Copilot | VSCode Setup Guide |
| Google Antigravity | Installation Guide β Other MCP Apps |
| Configuration templates | config-templates/ (README) |
git clone https://github.com/ukkit/memcord.git
cd memcord
uv venv && uv pip install -e .
uv run python scripts/generate-config.pySee the Complete Installation Guide for updating, advanced options, and custom commands.
cd /path/to/memcord
git pull
uv pip install -e .
uv run python scripts/generate-config.py # Regenerate configs
# Optional: Enable auto-save hooks (new in v2.5.0)
uv run python scripts/generate-config.py --install-hooksThe --install-hooks flag is idempotent β it merges into existing .claude/settings.json without overwriting other settings or hooks.
# 1. Once you are in claude code, initialize the project with a memory slot (one-time setup)
memcord_init "." "my-project-name"
# OR
memcord_init "my_project_name"
# Creates .memcord file containing "my-project-name"
# 2. Start saving your conversations
/memcord-save-progress # Auto-detects slot from .memcord file# Just use slash commands - no slot name needed!
/memcord-read # Reads from bound slot automatically
/memcord-save # Saves to bound slot automatically
/memcord-save-progress # Summarizes and saves automaticallyuv run python scripts/generate-config.py --install-hooksAutomatically saves conversation progress before context compaction and on session end. See config-templates/README.md for details.
- When you run
/memcord-read(or save/save-progress) without arguments - Claude checks for
.memcordfile in the current working directory - If found, reads the slot name and uses it automatically
- No need to remember or type slot names!
memcord_name "project_meeting" # Create or select a slot
memcord_save "Our discussion about..." # Save exact text
memcord_save_progress # Save a compressed summary
memcord_read # Read the slotmemcord_select_entry "2 hours ago" # Jump to a point in the timeline
memcord_list # List all slots
memcord_search "API design" # Full-text search
memcord_query "What did we decide?" # Natural language querymemcord_init "." "my-project" # Bind a memory slot to this directory
memcord_zero # Privacy mode β nothing gets savedSee Complete Tools Reference for all 23 tools with full parameters and examples.
Memcord supports four summarizer backends. New slots default to sumy (graph-based, no downloads required). Existing slots keep nltk to preserve prior behavior.
| Backend | Type | Speed | Quality | Extra install |
|---|---|---|---|---|
nltk |
Extractive | Fast | Good | None (built-in) |
sumy |
Extractive (graph) | Fast | Better | None (built-in) |
semantic |
Extractive (embeddings) | Medium | Best extractive | uv pip install "memcord[semantic]" (~80 MB) |
transformers |
Abstractive (BART) | Slow | Best overall | uv pip install "memcord[transformers]" (~400 MB) |
Use memcord_configure to change the backend for any slot β no restart required:
# Check current config
memcord_configure action="get"
# Switch to the BART abstractive summarizer (best for conversations)
memcord_configure action="set" key="summarizer_backend" value="transformers"
# Switch to embedding-based semantic summarizer
memcord_configure action="set" key="summarizer_backend" value="semantic"
# Switch sumy algorithm (lexrank / lsa / edmundson)
memcord_configure action="set" key="sumy_algorithm" value="lsa"
# Reset to defaults
memcord_configure action="reset"To apply one backend to all slots (e.g. in Docker or CI), set the environment variable:
export MEMCORD_SUMMARIZER=transformersSee Tools Reference β memcord_configure for the full parameter list.
| Guide | Description |
|---|---|
| Installation Guide | Complete setup instructions for all MCP applications |
| Feature Guide | Complete list of features |
| Tools Reference | Detailed documentation for all 23 tools |
| Import & Merge Guide | Comprehensive guide for Phase 3 features |
| Search & Query Guide | Advanced search features and natural language queries |
| Usage Examples | Real-world workflows and practical use cases |
| Data Format Specification | Technical details and file formats |
| Troubleshooting | Common issues and solutions |
| Version History | Changelog for all releases |
If you find this project helpful, consider:
- β Starring the repository on GitHub
- β Support Development
- π Reporting bugs and suggesting features
MIT License - see LICENSE file for details.