# smara [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/smara-io/mcp-server  
**GitHub Stars:** 0  
**npm Downloads (last month):** 211  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/smara

## Description
Persistent cross-platform memory for AI agents with Ebbinghaus decay scoring.

## Tools
Capabilities this server exposes over MCP:

- **store_memory** — 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.
- **search_memories** — 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.
- **get_user_context** — 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.
- **update_memory** — 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.
- **list_memories** — 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.
- **delete_memory** — Delete a specific memory by ID. Use when a user asks to forget something.
- **get_usage** — Check current memory usage — plan, limits, and how many memories are stored. Useful for monitoring quota.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "smara": {
    "command": "npx",
    "args": ["-y","@smara/mcp-server"],
    "env": {
      "SMARA_API_KEY": "",
      "SMARA_API_URL": ""
    }
  }
}
```

**Requires environment variables:** `SMARA_API_KEY`, `SMARA_API_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What smara MCP server does

The smara MCP server exposes the Smara Memory API through the Model Context Protocol. It gives an AI application a set of tools for recording, finding, formatting, removing, and monitoring user memories. The service is intended for applications that need information about a user to persist beyond a single conversation or session.

Memories can be stored as user facts with an importance value. Semantic search retrieves relevant entries using Smara's Temporal Memory Scoring™ system. A separate context tool returns memory information in a format suitable for inclusion in an LLM system prompt.

## How it works

The MCP client starts the package and supplies requests to the server. The server communicates with the Smara Memory API, whose default endpoint is `https://api.smara.io`. An API key identifies the Smara account used for memory operations.

The available operations cover the memory lifecycle. An agent can save a fact, search for related memories, request a prepared context string, delete one specific memory, or inspect plan limits and the current memory count. Smara's temporal ranking is designed to make recent or important memories appear before stale or less important ones.

## Setup and configuration

To run the smara MCP server, install or launch the package through `npx` and add it to the MCP client's server configuration. The documented Claude Desktop setup uses the package `@smara/mcp-server` with `npx -y`.

Set `SMARA_API_KEY` to a valid key from smara.io. The README identifies this variable as required and states that free keys are available with a 10,000-memory allowance and no credit card. `SMARA_API_URL` is optional; when omitted, requests use the hosted Smara API endpoint. Set it only when the server should target a different API URL.

The README names Claude Desktop, Claude Code, Cursor, Windsurf, and VS Code with GitHub Copilot as supported clients. It also describes the package as usable with any MCP-compatible client.

## Tools and capabilities

- `store_memory`: saves a user fact and accepts importance scoring.
- `search_memories`: performs semantic memory search with Temporal Memory Scoring™.
- `get_user_context`: produces a pre-formatted context string for an LLM system prompt.
- `delete_memory`: removes a specific memory.
- `get_usage`: reports plan limits and the number of stored memories.

## Limitations and notes

The server depends on the Smara Memory API and therefore requires a valid API key. Plan limits and memory counts are exposed through `get_usage`; the available allowance depends on the Smara account plan.

_Full upstream README: https://allmcps.com/mcp/smara/readme_

