Every AI tool has its own isolated memory. Tell Claude Code you prefer Python — switch to Cursor, it has no idea. Open Codex — starts from scratch. You repeat yourself endlessly: "we use Postgres", "deploy to Fly.io", "the API is at /v2".
CLAUDE.md and .cursorrules files are manual, fragile, and don't share context across tools.
Smara gives your AI tools a shared memory that works everywhere:
You code normally in any tool
↓
Smara silently captures decisions, preferences, architecture choices
↓
Next session — in any tool — your AI already knows
npx @smara/mcp-server --initOr add to your MCP config manually:
{
"mcpServers": {
"smara": {
"command": "npx",
"args": ["-y", "@smara/mcp-server"],
"env": {
"SMARA_API_KEY": "your-key-here"
}
}
}
}Works with Claude Code (~/.claude/mcp_config.json), Cursor (.cursor/mcp.json), Windsurf (~/.codeium/windsurf/mcp_config.json), and any MCP-compatible client.
Get your free API key at smara.io — no credit card required.
| Feature | Smara | CLAUDE.md / .cursorrules | RAG / Vector DB |
|---|---|---|---|
| Cross-tool memory | Yes | No (per-tool) | Manual |
| Auto-capture context | Yes | Manual editing | Manual indexing |
| Ebbinghaus decay scoring | Yes | No | No |
| Contradiction detection | Yes | No | No |
| Semantic search | Yes | No | Yes |
| Teams & shared context | Yes | No | No |
| Source tagging | Yes | No | Partial |
| Zero config | Yes | Needs maintenance | Complex setup |
Memory relevance is scored using Ebbinghaus forgetting curves:
R = e^(-t/S)
Where t is time elapsed and S is memory strength (based on importance + access frequency). Important, frequently-used facts stay strong. Old noise fades naturally. No manual cleanup needed.
Store "we use Postgres" today, then "we migrated to MySQL" next month — Smara detects the contradiction, soft-deletes the old fact, and keeps the new one. Your AI never gets confused by stale context.
A decision captured in Claude Code is instantly available in Cursor, Windsurf, Codex, or any connected tool. Every memory is tagged with its source — filter by tool or see everything.
Three endpoints. That's it.
curl -X POST https://api.smara.io/v1/memories \
-H "Authorization: Bearer $SMARA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "user_42",
"fact": "Prefers Python over TypeScript for backend work",
"importance": 0.8,
"source": "claude-code"
}'Returns "action": "stored", "duplicate" (cosine >= 0.985), or "replaced" (contradiction detected).
curl "https://api.smara.io/v1/memories/search?user_id=user_42&q=language+preferences" \
-H "Authorization: Bearer $SMARA_API_KEY"Results ranked by semantic similarity × Ebbinghaus decay. Recent + relevant beats old + relevant.
curl "https://api.smara.io/v1/users/user_42/context?q=preferences" \
-H "Authorization: Bearer $SMARA_API_KEY"Returns pre-formatted context ready to inject into LLM system prompts.
Full API reference: api.smara.io/docs
smara.io/playground — interactive demo where you can store, recall, and see contradiction detection in action. No signup required.
| Tool | Method | Status |
|---|---|---|
| Claude Code | MCP server | Live |
| Cursor | MCP server | Live |
| Windsurf | MCP server | Live |
| CrewAI | Python SDK | smara-crewai |
| LangChain | Python SDK | smara-langchain |
| Paperclip | Plugin | paperclip-plugin |
| OpenAI / Codex | REST API | Use endpoints directly |
| Free | Developer | Pro | |
|---|---|---|---|
| Memories | 10,000 | 200,000 | 2,000,000 |
| Teams | 1 team / 3 members | 3 teams / 10 members | Unlimited / 50 members |
| AI Agents | 2 | 10 + 5 custom skills | Unlimited |
| Price | $0 | $19/mo | $99/mo |
Compare: Mem0 Pro $249/mo · Letta Max $200/mo · Zep Flex+ $475/mo
Get your free API key — no credit card required
git clone https://github.com/smara-io/api.git && cd api
VOYAGE_API_KEY=your-key docker compose up -dRuns on localhost:3011. Requires PostgreSQL 15+ with pgvector and a Voyage AI key for embeddings.
See smara-io/api for full setup instructions.
| Package | Description |
|---|---|
@smara/mcp-server |
MCP server for Claude Code, Cursor, Windsurf |
smara-io/api |
Self-hostable API server (Docker + manual) |
smara-io/paperclip-plugin |
Paperclip AI plugin |
- Why Your AI Tools Forget Everything — the science behind persistent AI memory
- Mem0 vs Smara — honest feature & pricing comparison
- Add Memory to Claude Code — 30-second setup guide
- How Ebbinghaus Curves Make AI Smarter — technical deep dive
Smara is in active development. We read every submission:
- Request a feature
- Report a bug
- Email: sri@smara.io
- Twitter: @SmaraMemo


