MCP-first agent learning: capture failures, validate lessons, retrieve context, improve.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
MCP-first agent learning layer for Claude, Cursor, and custom agent workflows.
SuperMemory captures distilled lessons from failures and corrections β not full conversation transcripts β validates them before storage, and improves agents over time through a closed-loop cycle.
Or with uv:
Latest release: v0.2.4 β wheel + sdist attached on every GitHub Release.
| Component | Description |
|---|---|
| MCP server | 29 tools + 4 resources over stdio (or streamable HTTP) |
| Agent skill | skills/supermemory-agent-learning/SKILL.md β bundled in the PyPI package |
| Python SDK | In-process integration via uall_python |
| REST API | FastAPI server for remote / polyglot clients |
| Storage | Local .supermemory/ files by default; SQLite and PostgreSQL optional |
Everything lives in one repo: MCP server, skills, SDK, REST API, tests, and release packages.
After install, bundled skills are at site-packages/skills/supermemory-agent-learning/. Copy to your editor skills folder if needed.
Each release ships installable assets:
Browse all versions: github.com/YashvantHange/SuperMemory/releases
Copy examples/cursor.mcp.json to .cursor/mcp.json in your project:
Merge examples/claude_desktop_config.json into:
Restart Claude Desktop after saving.
Do not run supermemory-agent alone in a terminal β stdio mode expects JSON-RPC from an MCP client. Pressing Enter in the shell causes a JSON parse error.
When configured in Cursor or Claude Desktop, the client launches the server automatically over stdio.
| Source | Path |
|---|---|
| Canonical (edit here) | skills/supermemory-agent-learning/ |
| Cursor project | .cursor/skills/supermemory-agent-learning/ |
| Claude Code project | .claude/skills/supermemory-agent-learning/ |
| PyPI install | site-packages/skills/supermemory-agent-learning/ |
After editing skills/, sync copies:
Mention SuperMemory, agent learning, or MCP memory in chat to load the skill.
Core rule: capture workflow outcomes and distilled lessons only β never full transcripts. Default retrieval budget: max_tokens=800.
Core (13): retrieve, record_event, record_failure, record_correction, reflect, validate, process_promotions, report_outcome, get_policies, add_policy, add_skill, search_skills, get_skill
Extended UALL (16): learn.run.start, learn.run.event, learn.run.end, learn.store, learn.retrieve, learn.reflect, learn.validate, learn.evaluate, learn.feedback, learn.improvements, learn.analytics, learn.policies, learn.experiment, learn.rollback, learn.skills, learn.telemetry
All tools include MCP safety annotations (readOnlyHint / destructiveHint).
supermemory://policies/activesupermemory://lessons/{lesson_id}supermemory://memory/{lesson_id}/provenancesupermemory://skills/{skill_id}Server: http://localhost:8000 β see api/openapi.yaml.
| Tier | Backend | Config |
|---|---|---|
| Default | .supermemory/ JSON files | SUPERMEMORY_STORAGE_PATH or UALL_DATA_DIR |
| Optional | SQLite | UALL_STORAGE_BACKEND=sqlite |
| Enterprise | PostgreSQL | UALL_STORAGE_BACKEND=postgres |
| Doc | Purpose |
|---|---|
| docs/GIT_SETUP.md | Fix commit author name/email on GitHub |
| docs/RELEASES.md | Release checklist β every tag ships wheel + sdist |
| docs/PUBLISHING.md | PyPI, MCP Registry, Cursor & Claude directories |
| PRIVACY.md | Privacy policy |
| skills/README.md | Agent skill install paths |
MCP Registry name: io.github.YashvantHange/supermemory
PyPI package: supermemory-agent
MIT β see LICENSE
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/supermemory)<a href="https://allmcps.com/mcp/supermemory"><img src="https://allmcps.com/api/badge/supermemory?style=directory" alt="SuperMemory on AllMCPs" /></a>