Your Agent
Never Forgets
Persistent memory with semantic search for AI agents. Install in 10 seconds. No cloud. No API keys. Works with Claude Code, Cursor, Windsurf, and any MCP client.
Every Session Starts From Zero
Your AI agent loses everything when the session ends. Smart Memory fixes that.
Interactive Playground
Type a command below. This is what your AI agent sees.
6 Tools. One Install.
Everything your AI agent needs to build persistent knowledge.
Store Knowledge
Store anything with categories and tags. Persists across sessions. Your agent builds a real knowledge base.
Semantic Search
TF-IDF similarity matching. Finds memories by meaning, not keywords. Natural language queries.
Knowledge Overview
Total entries, categories, access patterns. See what your agent has learned at a glance.
Pattern Detection
Detect patterns in your knowledge. Tag frequency, co-occurrence, hidden connections.
PROProactive Suggestions
Context-aware suggestions. Warnings, solutions, best practices. Your agent anticipates needs.
PROQuality Feedback
Rate entries as useful or not. Boosts high-value memories. Self-improving system.
PROHow It Works
Install
One command. Zero config. No API keys, no cloud, no setup.
Learn
Your agent stores knowledge as it works. Decisions, patterns, solutions.
Recall
Next session, semantic search finds what matters. No cold start.
Powered by TF-IDF with cosine similarity. Pure JavaScript, zero ML dependencies. Data stays local as JSON in ~/.smart-memory/
Works With Everything
One-line install for every major MCP client.
claude mcp add memory -- npx mcp-smart-memory
That's it. Restart Claude Code and you're done.
// .cursor/mcp.json
{
"mcpServers": {
"smart-memory": {
"command": "npx",
"args": ["mcp-smart-memory"]
}
}
}
Add to .cursor/mcp.json, restart Cursor.
// Windsurf MCP config
{
"mcpServers": {
"smart-memory": {
"command": "npx",
"args": ["mcp-smart-memory"]
}
}
}
Add to Windsurf MCP settings, restart.
# Run directly via npx
npx mcp-smart-memory
# Or add to any MCP config
{
"mcpServers": {
"smart-memory": {
"command": "npx",
"args": ["mcp-smart-memory"]
}
}
}
Works with any MCP-compatible client over stdio.
Free vs Pro
The free version is genuinely useful. Pro is for power users.
- memory_learn
- memory_recall
- memory_stats
- Unlimited entries
- 100% local storage
- MIT License
- Pattern detection
- Proactive suggestions
- Quality feedback
- Everything in Free
- memory_patterns
- memory_suggest
- memory_evaluate
- Multi-database support
- Export / Import
- Auto-categorization
- Priority tagging
Smart Memory vs Alternatives
The only MCP-native memory system that works with every client.
| Feature | Smart Memory | claude-mem | mem0 | Zep |
|---|---|---|---|---|
| MCP Native | Yes | Plugin | SDK | SDK |
| Any MCP Client | Yes | Claude only | Python | Python |
| No Cloud Required | Yes | Yes | No | No |
| No API Key | Yes | Yes | No | No |
| Semantic Search | TF-IDF | No | Embeddings | Embeddings |
| Pattern Detection | Yes | No | No | No |
| Proactive Suggestions | Yes | No | No | No |
| Zero Dependencies | Yes | No | No | No |
Common Questions
~/.smart-memory/ as JSON files. Nothing leaves your computer. No cloud, no API calls, no telemetry.SMART_MEMORY_DB environment variable to create separate databases for different projects.npx install, Smart Memory runs entirely offline. All search and storage happens locally.Your Agent Deserves
A Memory.
Install in 10 seconds. Free and open source. Pro for $29 if you want the full system.