About ukkit/memcord
ukkit/memcord is an MCP server published by ukkit in the Data category: 🧠 Self-hosted, privacy-first MCP server for long-term AI memory — save, search & summarize Claude/ChatGPT chat history locally. No cloud, no database. Conduid read 29 tools from its source: memcord_archive, memcord_auto_save, memcord_close, memcord_compress, memcord_configure, memcord_diagnostics and 23 more. It is published to PyPI as memcord and runs with uvx.
The repository has 74 stars and 11 forks, is licensed MIT, and its last commit was on 7 Aug 2026. The latest release is v4.3.6 (7 Aug 2026): v4.3.6 See version history for details. It follows v4.3.5 (7 Aug 2026), and the 5 most recent releases go back to v4.3.2 (7 Aug 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include antigravity, google-antigravity, devtools, conversation-management, chat-history and ai-memory.
Install
uvx memcordpip install memcordgit clone https://github.com/ukkit/memcordTools (29)
memcord_archiveArchive or restore memory slots for long-term storage| Parameter | Type | Description |
|---|---|---|
| action * | string | Action to perform with archives |
| days_inactive | integer | Days of inactivity for finding archive candidates |
| reason | string | Reason for archiving (optional) |
| slot_name | string | Memory slot name to archive/restore |
memcord_auto_saveSave chat text to memory without requiring prior slot setup. Auto-creates the default slot on first use. Ideal for gateway integrations (e.g. OpenClaw). Target slot is set via MEMCORD_DEFAULT_SLOT env var (default: 'default').| Parameter | Type | Description |
|---|---|---|
| chat_text * | string | Chat text to save |
memcord_closeDeactivate the current memory slot. Use before ending a session to prevent cross-project contamination.memcord_compressCompress memory slot content to save storage space| Parameter | Type | Description |
|---|---|---|
| action * | string | Action to perform: analyze (preview), compress, decompress, or stats |
| force | boolean | Force compression even for already compressed content |
| slot_name | string | Memory slot name to compress (optional, processes all slots if not specified) |
memcord_configureGet or set the per-slot summarizer configuration. action='get' returns current config; action='set' updates a key; action='reset' restores defaults.| Parameter | Type | Description |
|---|---|---|
| action * | string | Action to perform: 'get', 'set', or 'reset' |
| key | string | Config key to update (required for action='set'). E.g. 'summarizer_backend', 'sumy_algorithm', 'default_compression_ratio' |
| slot_name | string | Memory slot name (optional, uses current slot if not specified) |
| value | string | New value for the config key (required for action='set') |
memcord_diagnosticsRun comprehensive system diagnostics and generate health report| Parameter | Type | Description |
|---|---|---|
| check_type | string | Type of diagnostic check to run |
memcord_exportExport memory slot as MCP file resource| Parameter | Type | Description |
|---|---|---|
| format * | string | Export format |
| include_metadata | boolean | Include metadata in export |
| slot_name * | string | Memory slot name to export |
memcord_groupManage memory slot groups/folders| Parameter | Type | Description |
|---|---|---|
| action * | string | Action to perform with groups |
| group_path | string | Group path (e.g., 'project/client/meetings') |
| slot_name | string | Memory slot name (optional, uses current slot if not specified) |
memcord_importImport content from various sources into memory slots| Parameter | Type | Description |
|---|---|---|
| merge_mode | string | How to handle existing content in slot |
| slot_name * | string | Target memory slot name |
| source * | string | Source file path, URL, or '-' for clipboard |
| source_type | string | Type of source content (auto-detect if not specified) |
| tags | array | Tags to add to imported content |
memcord_initInitialize memcord for a project directory by binding it to a memory slot. Creates .memcord file in the project.| Parameter | Type | Description |
|---|---|---|
| project_path * | string | Path to the project directory to bind |
| slot_name | string | Memory slot name to bind (optional, uses directory name if not specified) |
memcord_listList all available memory slots with metadatamemcord_list_tagsList all tags used across memory slotsmemcord_logsGet operation execution logs and history| Parameter | Type | Description |
|---|---|---|
| hours | integer | Number of hours of logs to retrieve |
| limit | integer | Maximum number of log entries to return |
| status | string | Filter logs by operation status |
| tool_name | string | Filter logs by specific tool name |
memcord_mergeMerge multiple memory slots into one with duplicate detection| Parameter | Type | Description |
|---|---|---|
| action | string | Action to perform: 'preview' to see merge preview, 'merge' to execute |
| delete_sources | boolean | Whether to delete source slots after successful merge |
| similarity_threshold | number | Threshold for duplicate detection (0.0-1.0, default 0.8) |
| source_slots * | array | List of memory slot names to merge |
| target_slot * | string | Name for the merged memory slot |
memcord_metricsGet performance metrics and system statistics| Parameter | Type | Description |
|---|---|---|
| hours | integer | Number of hours of data to retrieve |
| metric_name | string | Specific metric name to retrieve (optional, shows all if not specified) |
memcord_nameSet or create a named memory slot| Parameter | Type | Description |
|---|---|---|
| slot_name * | string | Name of the memory slot to create or select |
memcord_pingLightweight health check for server warm-up. Returns minimal response to confirm server is running.memcord_queryAsk natural language questions about your memory contents| Parameter | Type | Description |
|---|---|---|
| max_results | integer | Maximum number of results to consider |
| question * | string | Natural language question about your memories |
memcord_readRetrieve full content from memory slot| Parameter | Type | Description |
|---|---|---|
| slot_name | string | Memory slot name (optional, uses current slot if not specified) |
memcord_saveSave chat text to memory slot (overwrites existing content)| Parameter | Type | Description |
|---|---|---|
| chat_text * | string | Chat text to save |
| slot_name | string | Memory slot name (optional, uses current slot if not specified) |
memcord_save_progressGenerate summary and append to memory slot| Parameter | Type | Description |
|---|---|---|
| chat_text * | string | Chat text to summarize and save |
| compression_ratio | number | Target compression ratio (0.1 = 10%, default 0.15) |
| slot_name | string | Memory slot name (optional, uses current slot if not specified) |
memcord_searchSearch across all memory slots with advanced filtering| Parameter | Type | Description |
|---|---|---|
| case_sensitive | boolean | Whether search is case sensitive |
| exclude_tags | array | Exclude slots with these tags |
| include_tags | array | Include slots with these tags |
| max_results | integer | Maximum number of results |
| query * | string | Search query with optional Boolean operators (AND, OR, NOT) |
memcord_select_entrySelect and retrieve a specific memory entry by timestamp, relative time, or index within a memory slot| Parameter | Type | Description |
|---|---|---|
| entry_index | integer | Direct numeric index (0-based, negative for reverse indexing) |
| entry_type | string | Filter by entry type |
| relative_time | string | Human descriptions like 'latest', 'oldest', '2 hours ago', 'yesterday' |
| show_context | boolean | Include timeline position and adjacent entries info |
| slot_name | string | Target memory slot (optional, uses current if not specified) |
| timestamp | string | Exact timestamp in ISO format (e.g., '2025-07-21T17:30:00') |
memcord_shareGenerate shareable memory files in multiple formats| Parameter | Type | Description |
|---|---|---|
| formats | array | List of formats to generate |
| include_metadata | boolean | Include metadata in shared files |
| slot_name * | string | Memory slot name to share |
memcord_statusGet current system health status and overview| Parameter | Type | Description |
|---|---|---|
| include_details | boolean | Include detailed health check results |
memcord_tagAdd or remove tags from a memory slot| Parameter | Type | Description |
|---|---|---|
| action * | string | Action to perform with tags |
| slot_name | string | Memory slot name (optional, uses current slot if not specified) |
| tags | array | Tags to add or remove |
memcord_unbindRemove .memcord binding from a project directory| Parameter | Type | Description |
|---|---|---|
| project_path * | string | Path to the project directory |
memcord_useActivate an existing memory slot (does not create new slots)| Parameter | Type | Description |
|---|---|---|
| slot_name | string | Name of the existing memory slot to activate (optional, reads from .memcord file if not specified) |
memcord_zeroActivate zero mode - no memory will be saved until switched to another slotSecurity checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.3K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock.
- ✓No dynamic code executionScanned 44 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/memcord/server.py:2879
- Starts other programs
- 2 callsutilities/verify_vscode_setup.py:73, utilities/verify_vscode_setup.py:255
- Outbound network calls
- 1 callsrc/memcord/importer.py:202
- Writes or deletes files
- 44 callssrc/memcord/archival.py:119, src/memcord/archival.py:125, src/memcord/archival.py:131
- Lockfile
- uv.lock
Pattern matches on the source text of 44 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.3K words, fetched a month ago. The original in the repository is authoritative.
Read full README