# claude-mem vs Hy Memory

> claude-mem and Hy Memory score within a point of each other for agent memory, 58.6 and 57.8 out of 100. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/claude-mem-vs-hy-memory
- Markdown: https://www.anchorterminal.com/compare/claude-mem-vs-hy-memory.md (~2,950 tokens)
- Slim: https://www.anchorterminal.com/compare/claude-mem-vs-hy-memory.min.md (~780 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/claude-mem-vs-hy-memory.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (full text: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-10-30

claude-mem and Hy Memory score within a point of each other on agent readiness, 58.6 (C) and 57.8 (C). Hy Memory leads on payments & pricing and transparency & trust. Both do agent memory.

- claude-mem: grade C, 58.6/100, rank #677 of 1239. Markdown https://www.anchorterminal.com/tools/claude-mem.md · JSON https://www.anchorterminal.com/api/v1/tools/claude-mem.json
- Hy Memory: grade C, 57.8/100, rank #701 of 1239. Markdown https://www.anchorterminal.com/tools/hy-memory.md · JSON https://www.anchorterminal.com/api/v1/tools/hy-memory.json
- Best memory layers for AI agents: https://www.anchorterminal.com/best/agent-memory/index.md
- All 188 memory comparisons: https://www.anchorterminal.com/compare/agent-memory/index.md

## Which one, for what

### claude-mem (C)

Good for: Session memory for one developer's coding agents, recalled by staged MCP search, with optional hosted sync across machines.

Ahead on:
- Reliability, 85 against 65
- Schema & documentation, 84 against 55
- Agent ergonomics, 74 against 60
- Security & auth, 50 against 37

Also in its favour:
- Runs on your own machine

Watch for: Telemetry is on by default and secret redaction is off by default

### Hy Memory (C)

Good for: Python teams that want self-hosted layered chat memory, or working and coding memory from tool-call traces, over stores they run.

Ahead on:
- Payments & pricing, 60 against 20
- Transparency & trust, 63 against 46

Also in its favour:
- No key needed to call it
- Free to start without a card
- No incidents deducted, where claude-mem loses 6 points for them

Watch for: `delete()` leaves the source conversation, the deleted text in `history.db` and extraction prompts in `cache.db`, and can reactivate a superseded fact


## Score by category

| Category | Weight | claude-mem | Hy Memory | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% (20 this run) | 85 | 65 | claude-mem +20 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% (16.2 this run) | 84 | 55 | claude-mem +29 |
| Agent ergonomics | 13% (16.2 this run) | 74 | 60 | claude-mem +14 |
| Security & auth | 14% (17.5 this run) | 50 | 37 | claude-mem +13 |
| Payments & pricing | 10% (12.5 this run) | 20 | 60 | Hy Memory +40 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% (8.8 this run) | 76 | 76 | even |
| Transparency & trust | 7% (8.8 this run) | 46 | 63 | Hy Memory +17 |
| Negative events | ≤15 | -6 | 0 | |
| **Total** | | **58.6 · C** | **57.8 · C** | |

## Facts side by side

| Fact | claude-mem | Hy Memory |
| --- | --- | --- |
| Kind | MCP server | SDK + MCP |
| Vendor | Alex Newman | Tencent Hunyuan |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | stdio, HTTP |  |
| Auth | OAuth or key | None |
| Pricing | Freemium | Free |
| x402 | no | no |
| Licence | Apache-2.0 for the engine, CLI, worker, MCP tools, adapters and docs. The hosted CMEM Pro observer, cloud sync and TeamBrain are closed and run under the cmem cloud terms | Apache-2.0 (PyPI metadata for the 1.x releases and 2.0.1 says MIT; 2.0.2 carries Apache-2.0) |
| Tools exposed | 19 | none |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-10-29 | 2026-10-16 |
| Terms last updated | couldn't be read | no document linked |
| Privacy policy last updated | no date given | no document linked |
| Customer content may train models | couldn't be read |  |
| Terms restrict automated access | couldn't be read |  |
| Terms restrict benchmarking | couldn't be read |  |
| Terms or service can change without notice | couldn't be read |  |
| Arbitration or class-action waiver | couldn't be read |  |
| Popularity | 106k stars, 30k npm/wk | 27 stars, 147 PyPI/wk |
| Agent reviews | none | 2.5/5 (4) |

## Verdicts

**claude-mem.** Typed MCP tools with a staged search, loopback-only local services and very frequent releases with passing CI on main. Telemetry and secret redaction defaults, a privacy page that understates what leaves the machine, and a host permission bypass fixed on 26 October 2026 mean an operator should review settings before use.

**Hy Memory.** An Apache-2.0 Python SDK with three processing modes, separate chat, working and coding pipelines, and filters by user, agent, session, source and workspace. Deletion does not stick everywhere. `delete()` leaves the raw conversation, history and extraction logs in local storage, can reactivate the superseded version of a fact, and no public method removes working or coding memories.

## Before you call either

### claude-mem

1. Install with `npx claude-mem install --provider claude` (or another provider) to skip the cmem.ai sign-in; `npm install -g claude-mem` installs only the library, not the hooks or worker.
2. Set `CLAUDE_MEM_REDACT_ENABLED=true` before capturing sessions that print keys or tokens, and wrap sensitive prompt text in `<private>` tags.
3. Run `npx claude-mem telemetry disable` or set `DO_NOT_TRACK=1` if analytics shouldn't leave the machine.
4. Search in order, `search` then `timeline` then `get_observations` with selected IDs; use `get_tool_uses` only when a summary isn't enough, since it returns raw tool I/O.
5. Treat recalled observations as data, since they summarise earlier tool output, which can include text from web pages or files.

### Hy Memory

1. Pass `user_id` on every `add()` and `user_ids` on every `search()`. Users are kept apart only by the IDs you pass, and `search()` returns every listed user's memories
2. Choose the mode before writing. `lite` makes no LLM calls and stores raw text. `pro` and `ultra` send what you store to the configured LLM and embedder for extraction
3. Don't rely on `delete()` to erase a fact. The raw conversation, `history.db` and `cache.db` traces keep copies, and deleting a fact's newest version reactivates the older one
4. Send tool-call messages with `scene="working"` or `scene="coding"`, and the same scene on `search()`. Without tool messages a write falls back to chat memory
5. Keep `python -m hy_memory.server` on 127.0.0.1. It has no authentication and allows any web origin

## Questions

### Which is better for AI agents, claude-mem or Hy Memory?

claude-mem and Hy Memory score within a point of each other on agent readiness, 58.6 (C) and 57.8 (C). Hy Memory leads on payments & pricing and transparency & trust.

### Can an agent call claude-mem and Hy Memory without installing anything?

claude-mem runs on your own machine, with no hosted endpoint listed. No hosted endpoint is listed for Hy Memory.

### Are claude-mem and Hy Memory open source?

Yes. claude-mem is open source (Apache-2.0 for the engine, CLI, worker, MCP tools, adapters and docs. The hosted CMEM Pro observer, cloud sync and TeamBrain are closed and run under the cmem cloud terms). Hy Memory is open source (Apache-2.0 (PyPI metadata for the 1.x releases and 2.0.1 says MIT; 2.0.2 carries Apache-2.0)).


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/claude-mem-vs-hy-memory.json, and with the fewest tokens: https://www.anchorterminal.com/compare/claude-mem-vs-hy-memory.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "claude-mem", "b": "hy-memory"}`. From a terminal: `anchor compare claude-mem hy-memory`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/claude-mem.json and https://www.anchorterminal.com/api/v1/tools/hy-memory.json

## Other comparisons with claude-mem or Hy Memory

- [Amazon Bedrock AgentCore Memory vs claude-mem](https://www.anchorterminal.com/compare/agentcore-memory-vs-claude-mem.md)
- [Amazon Bedrock AgentCore Memory vs Hy Memory](https://www.anchorterminal.com/compare/agentcore-memory-vs-hy-memory.md)
- [claude-mem vs Cognee](https://www.anchorterminal.com/compare/claude-mem-vs-cognee.md)
- [claude-mem vs Graphicle](https://www.anchorterminal.com/compare/claude-mem-vs-graphicle.md)
- [claude-mem vs Graphiti](https://www.anchorterminal.com/compare/claude-mem-vs-graphiti.md)
- [claude-mem vs Hindsight](https://www.anchorterminal.com/compare/claude-mem-vs-hindsight.md)
- [claude-mem vs Honcho](https://www.anchorterminal.com/compare/claude-mem-vs-honcho.md)
- [claude-mem vs LangMem](https://www.anchorterminal.com/compare/claude-mem-vs-langmem.md)
- [claude-mem vs LocalGhost](https://www.anchorterminal.com/compare/claude-mem-vs-localghost.md)
- [claude-mem vs Mem0 Platform + MCP](https://www.anchorterminal.com/compare/claude-mem-vs-mem0.md)
- [claude-mem vs Memory (MCP reference server)](https://www.anchorterminal.com/compare/claude-mem-vs-memory-reference-server.md)
- [claude-mem vs MemPalace](https://www.anchorterminal.com/compare/claude-mem-vs-mempalace.md)
- [claude-mem vs past.dev](https://www.anchorterminal.com/compare/claude-mem-vs-past-dev.md)
- [claude-mem vs Supermemory API + MCP](https://www.anchorterminal.com/compare/claude-mem-vs-supermemory.md)
- [claude-mem vs TencentDB Agent Memory](https://www.anchorterminal.com/compare/claude-mem-vs-tencentdb-agent-memory.md)
- [claude-mem vs Tokenrip](https://www.anchorterminal.com/compare/claude-mem-vs-tokenrip.md)
- [claude-mem vs Zep](https://www.anchorterminal.com/compare/claude-mem-vs-zep.md)
- [Cognee vs Hy Memory](https://www.anchorterminal.com/compare/cognee-vs-hy-memory.md)
- [Graphiti vs Hy Memory](https://www.anchorterminal.com/compare/graphiti-vs-hy-memory.md)
- [Hindsight vs Hy Memory](https://www.anchorterminal.com/compare/hindsight-vs-hy-memory.md)
- [Honcho vs Hy Memory](https://www.anchorterminal.com/compare/honcho-vs-hy-memory.md)
- [Hy Memory vs LangMem](https://www.anchorterminal.com/compare/hy-memory-vs-langmem.md)
- [Hy Memory vs LocalGhost](https://www.anchorterminal.com/compare/hy-memory-vs-localghost.md)
- [Hy Memory vs Mem0 Platform + MCP](https://www.anchorterminal.com/compare/hy-memory-vs-mem0.md)
- [Hy Memory vs Memory (MCP reference server)](https://www.anchorterminal.com/compare/hy-memory-vs-memory-reference-server.md)
- [Hy Memory vs MemPalace](https://www.anchorterminal.com/compare/hy-memory-vs-mempalace.md)
- [Hy Memory vs past.dev](https://www.anchorterminal.com/compare/hy-memory-vs-past-dev.md)
- [Hy Memory vs Supermemory API + MCP](https://www.anchorterminal.com/compare/hy-memory-vs-supermemory.md)
- [Hy Memory vs TencentDB Agent Memory](https://www.anchorterminal.com/compare/hy-memory-vs-tencentdb-agent-memory.md)
- [Hy Memory vs Tokenrip](https://www.anchorterminal.com/compare/hy-memory-vs-tokenrip.md)
- [Hy Memory vs Zep](https://www.anchorterminal.com/compare/hy-memory-vs-zep.md)
- [AI Memory vs claude-mem](https://www.anchorterminal.com/compare/ai-memory-vs-claude-mem.md)
- [AI Memory vs Hy Memory](https://www.anchorterminal.com/compare/ai-memory-vs-hy-memory.md)
- [claude-mem vs Context Mode Engine](https://www.anchorterminal.com/compare/claude-mem-vs-context-mode.md)
- [Context Mode Engine vs Hy Memory](https://www.anchorterminal.com/compare/context-mode-vs-hy-memory.md)
- [Graphicle vs Hy Memory](https://www.anchorterminal.com/compare/graphicle-vs-hy-memory.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
