MCP Hub
Back to servers

Smara Memory MCP Server

Provides persistent, decay-aware memory for AI applications by integrating the Smara Memory API through semantic search and Ebbinghaus forgetting curves. It enables tools to store, search, and manage long-term user context with importance-based ranking and automatic decay.

glama
Updated
Mar 31, 2026

@smara/mcp-server

MCP server for the Smara Memory API — give any AI app persistent, decay-aware memory.

Quick Start

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

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

Get a free API key at smara.io (10,000 memories, no credit card).

Tools

ToolDescription
store_memoryStore a fact about a user with importance scoring
search_memoriesSemantic search with Ebbinghaus decay-aware ranking
get_user_contextPre-formatted context string for LLM system prompts
delete_memoryDelete a specific memory
get_usageCheck plan limits and memory count

How It Works

Smara combines vector similarity search (Voyage AI embeddings) with Ebbinghaus forgetting curves. Memories decay over time — recent, frequently-accessed memories rank higher, just like human recall.

score = similarity × 0.7 + decay_score × 0.3

Works With

  • Claude Desktop
  • Claude Code
  • Cursor
  • Windsurf
  • VS Code (GitHub Copilot)
  • Any MCP-compatible client

Environment Variables

VariableRequiredDefault
SMARA_API_KEYYes
SMARA_API_URLNohttps://api.smara.io

License

MIT

Reviews

No reviews yet

Sign in to write a review