Dev.to
7/24/2026

memcp: an open-source tool for sharing session memory between AI coding agents
Original: Codex can now read Claude Code's memory
Short summary
memcp is an open-source tool that captures session logs from multiple AI coding agents (Claude Code, Codex CLI) into a shared local SQLite database, exposed via MCP. Any connected agent can search past sessions from a different tool, eliminating the friction of re-explaining context when switching agents. All data stays local with no cloud sync or telemetry.
- •memcp unifies session logs from Claude Code and Codex CLI into one local SQLite DB
- •Agents can search another tool's past sessions via four MCP tools (search_memory, read_session, list_recent_sessions, ingest_session)
- •Requires project-level instructions (CLAUDE.md/AGENTS.md) for proactive cross-agent memory search
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



