
I built a local MCP memory layer so Claude Code can share context with other coding agents
I kept running into the same annoying workflow problem.
I use Claude Code for some work, Codex for review, sometimes Gemini/opencode for a second pass, and each agent needs the same repo decisions explained again.
So I built Pathmark: a tiny local MCP server that gives coding agents one shared memory layer.
It is intentionally boring:
- - plain JSONL on disk
- - no account
- - no hosted database
- - no API key
- - local stdio MCP server
- - works across different agent harnesses
By default it writes to:
\~/.pathmark/memory/memory.jsonl``
So you can inspect it, delete it, back it up, or migrate it without trusting another service.
Current tools:
- - remember project facts and decisions
- - create conclusions from a session
- - search memory
- - get project context
- - ask memory a question
It works with Claude Code, Codex, opencode, Gemini CLI, Cursor, Claude Desktop, and other MCP clients.
Install:
npm install -g pathmark
claude mcp add pathmark -- pathmark
u/Specialist-Whole-640 — 6 days ago