Source: https://seerepo.com/compare/foambubble/foam/vs/thedotmack/claude-mem
Markdown source: https://seerepo.com/compare/foambubble/foam/vs/thedotmack/claude-mem.md
Description: foam and claude-mem share 6 technologies: Anthropic, MCP, Zod, remark-parse, unified, and unist-util-visit. Both are written in TypeScript.

# foam vs claude-mem

foam and claude-mem share 6 technologies: Anthropic, MCP, Zod, remark-parse, unified, and unist-util-visit. Both are written in TypeScript.

- [foambubble/foam](https://seerepo.com/r/foambubble/foam): A personal knowledge management and sharing system for VSCode
- [thedotmack/claude-mem](https://seerepo.com/r/thedotmack/claude-mem): Persistent Context Across Sessions for Every Agent –  Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

## What they share and what sets them apart

- In common: Anthropic, MCP, Zod, remark-parse, unified, unist-util-visit
- Only in foam: Lit, yaml, gray-matter, remark-frontmatter, D3, d3-force, d3-scale, force-graph
- Only in claude-mem: React, Express, bullmq, Postgres, PostHog, Vite, PostCSS, @clack/prompts, Better Auth, Hugging Face, ansi-to-html, dompurify, parse5, sharp, typebox, Tailwind CSS, cn, class-variance-authority, motion, Radix UI, ansi-to-react, embla-carousel-react, Lucide, ai

## Side by side

| | foam | claude-mem |
|---|---|---|
| Size | 98,809 lines written, 298 code files | 516,621 lines written, 808 code files |
| Who writes it | 5.1% of its commits signed by AI. With Claude Code and GitHub Copilot | 61.1% of its commits signed by AI. With Claude Code, Cursor, GitHub Copilot, Codex, and CodeRabbit |
| Activity | Last push November 6, 2026, 1,715 commits, 17,473 stars | Last push November 4, 2026, 3,582 commits, 112,476 stars |
| Tests | 217 test files. 63.1% of its code files have a test that imports them | 1,299 test files. 70.3% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, foam or claude-mem?

claude-mem, with 516,621 lines written; foam has 98,809.

The proof: [thedotmack/claude-mem's code at commit d8bf121](https://github.com/thedotmack/claude-mem/tree/d8bf121ae98063e5e3158befff33a9d635c0246b)

### Which has more GitHub stars, foam or claude-mem?

claude-mem, with 112,476 stars; foam has 17,473.

The proof: [thedotmack/claude-mem on GitHub](https://github.com/thedotmack/claude-mem)

### Which has more tests, foam or claude-mem?

claude-mem, with 1,299 test files; foam has 217.

The proof: [thedotmack/claude-mem's code at commit d8bf121](https://github.com/thedotmack/claude-mem/tree/d8bf121ae98063e5e3158befff33a9d635c0246b)

### Which was updated more recently, foam or claude-mem?

foam: its last push was on November 6, 2026, and claude-mem's on November 4, 2026.

The proof: [foambubble/foam's commits on GitHub](https://github.com/foambubble/foam/commits)

### Which has more commits signed by AI, foam or claude-mem?

claude-mem: an AI signed 61.1% of its commits, with Claude Code, Cursor, GitHub Copilot, Codex, and CodeRabbit; in foam, 5.1%.

The proof: [the commits each tool signed in thedotmack/claude-mem](https://seerepo.com/r/thedotmack/claude-mem/ai)

## Sources

- foambubble/foam: Read on November 6, 2026, at commit b0bafb0 (https://github.com/foambubble/foam/tree/b0bafb04389e2dd1c7b4cde83d0b3ce5c4fc0328)
- thedotmack/claude-mem: Read on November 4, 2026, at commit d8bf121 (https://github.com/thedotmack/claude-mem/tree/d8bf121ae98063e5e3158befff33a9d635c0246b)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
