head to head · open source
claude-mem vs contextgem
claude-mem has 109,619 GitHub stars, 9,582 forks, 186 open issues and last shipped yesterday. contextgem has 2,045 stars, 187 forks, 0 open issues and last shipped 6 days ago. claude-mem leads on adoption by 5,260% (109,619 vs 2,045 stars). claude-mem is written in TypeScript under Apache-2.0; contextgem is written in Python under Apache-2.0. claude-mem has attracted 9% as many forks as stars, contextgem 9%. claude-mem was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (ai), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| claude-mem | contextgem | |
|---|---|---|
| GitHub stars | ★ 110K | ★ 2.0K |
| License | Apache-2.0 | Apache-2.0 |
| Written in | TypeScript | Python |
| Last push | 2026-11-02 | 2026-10-28 |
| Forks | ⑂ 9.6K | ⑂ 187 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick claude-mem if
- You weight community size — 110K stars and counting
- You want the Apache-2.0 license terms
- Your stack matches TypeScript
- You value the larger contributor base for long-term maintenance
pick contextgem if
- You want the contextgem feature set and don't need the biggest community
- You prefer the Apache-2.0 license terms
- Your stack matches Python
- You evaluated both and contextgem fits your workflow better
About claude-mem
Claude Mem is now Grok Mem. The package is still claude mem . 🇨🇳 中文 • 🇹🇼 繁體中文 • 🇯🇵 日本語 • 🇵🇹 Português • 🇧🇷 Português • 🇰🇷 한국어 • 🇪🇸 Español • 🇩🇪 Deutsch • 🇫🇷 Français • 🇮🇱 עברית • 🇸🇦 العربية • 🇷🇺 Русский • 🇵🇱 Polski • 🇨🇿 Čeština • 🇳🇱 Nederlands • 🇹🇷 Türkçe • 🇺🇦 Українська • 🇻🇳 Tiếng Việt • 🇵🇭 Tagalog • 🇮🇩 Indonesia • 🇹🇭 ไทย • 🇮🇳 हिन्दी • 🇧🇩 বাংলা • 🇵🇰 اردو • 🇷🇴 Română • 🇸🇪 Svenska • 🇮🇹 Italiano • 🇬🇷 Ελληνικά • 🇭🇺 Magyar • 🇫🇮 Suomi • 🇩🇰 Dansk • 🇳🇴 Norsk Grok Mem is how Grok Bots remember. Sits next to Grok's own memory. Does not replace it. Quick…
read the full claude-mem overview →
About contextgem
ContextGem: Effortless LLM extraction from documents ContextGem is a free, open source LLM framework that makes it radically easier to extract structured data and insights from documents — with minimal code. 💎 Why ContextGem? Reliable structured extraction from documents typically involves writing extraction prompts, designing validation models, mapping outputs back to source references, orchestrating multi step pipelines, and tracking usage across LLMs. ContextGem handles all of this through powerful abstractions — you describe what to extract in natural language, and the framework handles how . The result…
read the full contextgem overview →
More in AI & Machine Learning
Related comparisons
More AI Development Platforms projects
Compare either of these against the rest of the AI Development Platforms field.
Frequently asked questions
Is claude-mem or contextgem more popular?
claude-mem has 109,619 GitHub stars and contextgem has 2,045. claude-mem has the larger community by that measure.
Are claude-mem and contextgem free?
Both are open source. claude-mem is licensed under Apache-2.0 and contextgem under Apache-2.0. Neither carries a licence fee.
What is the difference between claude-mem and contextgem?
claude-mem is written in TypeScript and contextgem in Python. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, claude-mem or contextgem?
Choose claude-mem if you want the larger community (109,619 stars) or its Apache-2.0 licence terms. Choose contextgem if its feature set, stack or Apache-2.0 licence fits better. Both are self-hostable.