Who it is forA developer using an MCP-capable agent host that cannot run hooks and who wants project memory available without letting the agent edit it.
The problemThe host can call tools but has no hook point, and giving it write access to project memory would let bad entries spread.
The outcomeThe host can call recall and read against the project's own OwnMem copy, while gate commands and memory writes stay off the surface.
What you need first
- Node.js 20.6 or newer
- A Git repository that should own the project memory
- At least one supported AI coding agent: Claude Code, Codex, Cursor, Gemini CLI, or Grok CLI
Steps
- Run
npx ownmem mcpin the repository to serve recall and read over stdio. - Register the server in the host's MCP settings by following the Plugins guide, so it runs the project's own copy.
- Complete the one manual MCP step that Cursor or Gemini CLI requires.
- Ask the host a project question and confirm it answers from the repository memory.
Prompt for your agent
In the repository grpcer/ownmem, register `npx ownmem mcp` as an MCP server in <host name> following the Plugins guide. Expected output: the host lists exactly two tools, recall and read. Verify that the host cannot call audit, trust, compile, or any write operation.
Caveat. The README says the MCP path exposes only recall and read, so memory writes must still happen through the repository and Git.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for grpcer/ownmem and "Give an MCP-only host read-only project recall"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer