Skip to main content
Glama
Smara Memory MCP Server
by smara-io

@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):

{
  "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).

Related MCP server: Mnemex

Tools

Tool

Description

store_memory

Store a fact about a user with importance scoring

search_memories

Semantic search with Temporal Memory Scoring™

get_user_context

Pre-formatted context string for LLM system prompts

delete_memory

Delete a specific memory

get_usage

Check 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

Variable

Required

Default

SMARA_API_KEY

Yes

—

SMARA_API_URL

No

https://api.smara.io

License

MIT

Available Tools

7 tools
delete_memoryDelete MemoryA

Delete a specific memory by ID. Use when a user asks to forget something.

Inputs: id (required).

get_usageGet UsageB

Check current memory usage — plan, limits, and how many memories are stored. Useful for monitoring quota.

Inputs: no named parameters.

get_user_contextGet User ContextA

Retrieve a pre-formatted context string for a user, ready to inject into an LLM system prompt. Ranked by Temporal Memory Scoring. Can be called without a query to get the most important recent memories. When a team is configured, includes team memories automatically.

Inputs: user_id (required), q, top_n, namespace, +2 more.

list_memoriesList MemoriesA

List stored memories for a user with their visibility status (private or team). Use when the user wants to see what's remembered, review team vs private memories, or find a memory to update/delete.

Inputs: user_id (required), limit, offset, namespace, +2 more.

search_memoriesSearch MemoriesA

Semantic search across stored memories for a user. Ranked by Temporal Memory Scoring — balances semantic relevance with memory freshness and importance. When a team is configured, returns both private and team memories by default.

Inputs: user_id (required), q (required), limit, namespace, +2 more.

store_memoryStore MemoryA

Store a fact or preference about a user. Smara handles deduplication and contradiction detection automatically. Use importance 0.1-0.3 for trivia, 0.5 for general facts, 0.7-1.0 for critical preferences.

Inputs: user_id (required), fact (required), importance, namespace, +2 more.

update_memoryUpdate MemoryA

Update a memory's visibility (private/team) or importance. Use when a user wants to make a memory private, share it with the team, or change its importance. Find the memory ID via search_memories or list_memories first.

Inputs: id (required), visibility, importance.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap. For example, 'list_memories' shows stored memories, 'search_memories' performs semantic search, 'store_memory' creates new memories, 'update_memory' modifies existing ones, 'delete_memory' removes memories, 'get_user_context' retrieves formatted context, and 'get_usage' monitors system usage. The descriptions reinforce these unique roles, eliminating any ambiguity.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case, such as 'list_memories', 'search_memories', 'store_memory', 'update_memory', 'delete_memory', 'get_user_context', and 'get_usage'. This uniformity makes the tool set predictable and easy to navigate, with no deviations in naming conventions.

    Tool Count5/5

    With 7 tools, this server is well-scoped for a memory management system. The count is appropriate as it covers essential operations like CRUD (create, read, update, delete), search, context retrieval, and usage monitoring without being excessive or insufficient. Each tool serves a clear, necessary function in the domain.

    Completeness5/5

    The tool set provides complete coverage for memory management, including storing, listing, searching, updating, deleting, retrieving context, and monitoring usage. There are no obvious gaps; it supports full lifecycle management from creation to deletion, with additional utilities for context and system health, ensuring agents can handle all typical workflows without dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Provides AI agents with persistent long-term memory capabilities using semantic search. Enables storing, retrieving, and searching memories through three core tools integrated with Mem0 and vector storage.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides human-like memory dynamics for AI assistants where memories naturally fade over time unless reinforced through use, mimicking the Ebbinghaus forgetting curve. Enables automatic saving, searching, and management of contextual information with temporal decay algorithms.
      11
      39
      AGPL 3.0