MemoryGuard
Shared memory for coding agents, without shared-memory chaos.
What It Does
MemoryGuard provides a local MCP stdio memory backend that coding agents (Claude Code, Codex, Cursor) can write to. Every write is auto-organized: classified, deduplicated, superseded, quarantined, or compressed.
Install
pip install agent-memguard
MCP Configuration
Add to your agent's MCP config:
{
"mcpServers": {
"memoryguard": {
"command": "python",
"args": ["-m", "memoryguard.mcp_server"]
}
}
}
Tools
memoryguard_memory_read- Read a single memory record by IDmemoryguard_memory_search- Search memories by query, kind, or statusmemoryguard_memory_write- Write a new memory; auto-organizes on writememoryguard_memory_update- Update a memory (body / kind / status)memoryguard_memory_delete- Soft-delete a memorymemoryguard_memory_status- Get shared memory group statusmemoryguard_binding_create- Bind an agent to a share groupmemoryguard_binding_list- List agent bindingsmemoryguard_extract_memories- Extract memory segments from a source filememoryguard_accept_candidates- Accept extracted candidates and write to shared memorymemoryguard_semantic_check- Check text for semantic duplicates / conflictsmemoryguard_provider_install- Install provider adapter (Claude / Codex / Cursor)
Privacy
No account. No server. No telemetry. All data stays in local SQLite under .memoryguard/.
