Universal Memory Layer

One memory for
all your AI tools.

Install once, remember everywhere. Claude Code, Cursor, Codex—they all share the same persistent memory. Auto-stores context silently. Ebbinghaus decay lets old facts fade while what matters persists.

Add to your MCP config

Claude Code, Cursor, Windsurf—paste this and restart. Memory is automatic.

{
  "smara": {
    "command": "npx",
    "args": ["-y", "@smara/mcp-server"],
    "env": { "SMARA_API_KEY": "your-key-here" }
  }
}

Three calls. That's it.

No SDKs to install. No schemas to define. Just REST.

POST /v1/memories POST
curl -X POST https://api.smara.io/v1/memories \
  -H "Authorization: Bearer smara_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "user_id":    "user_42",
    "fact":       "Prefers dark mode. Uses vim keybindings.",
    "importance": 0.7
  }'
Response
{ "id": "mem_8f3a...", "decay_score": 1.0, "status": "stored" }
GET /v1/users/:user_id/context GET
curl https://api.smara.io/v1/users/user_42/context \
  -H "Authorization: Bearer smara_your_key"
Response — full user context, ranked by relevance × decay
{ "user_id": "user_42",
  "memory_count": 23,
  "context": [
    { "fact": "Prefers dark mode. Uses vim keybindings.", "score": 0.96 },
    { "fact": "Working on a Rust CLI tool for log parsing", "score": 0.89 }
  ] }

Memory that works
everywhere

Works everywhere

MCP for Claude Code, Cursor, Windsurf. OpenAI functions for Codex and ChatGPT. REST API for everything else. One memory pool, every tool.

Zero-config auto-memory

Install the MCP server. That's it. Smara automatically loads context at conversation start and silently stores new facts as you work. No manual tool calls needed.

Smart forgetting

Ebbinghaus decay scoring means old trivia fades while important facts persist. Contradiction detection auto-replaces outdated memories. Just like human memory.

Source tagging

Every memory knows where it came from—Claude Code, Cursor, Codex, or your API. Cross-platform context with full provenance. Filter by source or see everything.

Start free.
Scale when you need to.

Free
$0
For prototyping and side projects
  • 10,000 memories
  • Full API access
  • Decay scoring
  • Community support
Get started free
Pro
$99/mo
For teams shipping at scale
  • 2,000,000 memories
  • $0.50 per 10K after
  • Dedicated embedding queue
  • Slack support + SLA
Subscribe

Get your API key

Free tier. 10,000 memories. No credit card.

Takes 2 seconds. Your key appears right here.