Smara README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Smara listing page.

@smara/mcp-server

MCP server for the Smara Memory API — give any AI app persistent memory with Temporal Memory Scoring™.

Quick Start

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

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 Temporal Memory Scoring™
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 uses Temporal Memory Scoring™ — a proprietary ranking system that makes AI memory work like human recall. Memories naturally fade over time, modulated by importance and access patterns. Recent, critical memories surface first. Stale, trivial ones fade. Contradictions are auto-detected and resolved.

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