Skip to main content

SuperMemory MCP

MCP-first learning memory layer for Claude, Cursor, and agent workflows. Captures distilled lessons from failures and corrections (not full transcripts), validates before storage, and improves agents over time through a closed-loop cycle.

Install from PyPI (recommended for Claude / Cursor users)

pip install supermemory-agent-mcp
supermemory-agent-mcp --storage .supermemory --transport stdio

Or with uv:

uvx supermemory-agent-mcp --storage .supermemory --transport stdio

Install from source (developers)

pip install -e ".[dev]"

Run MCP server

python -m supermemory_mcp.server --storage .supermemory --transport stdio

Or via CLI entry point:

supermemory-agent-mcp --storage .supermemory --transport stdio

Streamable HTTP:

python -m supermemory_mcp.server --storage .supermemory --transport streamable-http

MCP tools (29 total)

GitHub-compatible 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

MCP resources

  • supermemory://policies/active
  • supermemory://lessons/{lesson_id}
  • supermemory://memory/{lesson_id}/provenance
  • supermemory://skills/{skill_id}

Agent learning loop

retrieve → record_failure → reflect(event_ids) → validate → process_promotions
         → retrieve again → report_outcome

Cursor / Claude Desktop

MCP server

Copy examples/cursor.mcp.json to .cursor/mcp.json (Cursor project).

For Claude Desktop, merge examples/claude_desktop_config.json into:

%APPDATA%\Claude\claude_desktop_config.json

Restart Claude Desktop after editing the config.

Agent skills (Cursor + Claude Code)

Platform Project path Global path
Cursor .cursor/skills/supermemory-agent-learning/ ~/.cursor/skills/supermemory-agent-learning/
Claude Code .claude/skills/supermemory-agent-learning/ ~/.claude/skills/supermemory-agent-learning/
Canonical source skills/supermemory-agent-learning/ edit here, then run python scripts/sync_skills.py

Mention SuperMemory, agent learning, or MCP memory in chat to load the skill.

Python SDK

from uall_python import UALLClient

client = UALLClient(storage="file")

with client.run(workflow_id="pdf-pipeline", step="planner", namespace="team:eng") as run:
    lessons = run.retrieve(step="planner", max_tokens=800)
    run.record_failure(snippet="chose OCR for searchable PDF", tags=["routing"])
    run.report_lesson_outcome(lesson_id="lesson_001", used=True, accepted=True, improved=True)

REST API

python -m uall_server

Server runs at http://localhost:8000. See api/openapi.yaml.

Storage

Tier Backend Default path
Default .supermemory/ JSON files SUPERMEMORY_STORAGE_PATH or UALL_DATA_DIR
Optional SQLite UALL_STORAGE_BACKEND=sqlite
Enterprise PostgreSQL + stubs UALL_STORAGE_BACKEND=postgres

Tests

python tests/run_all.py              # full suite (pytest + agent demos)
python -m pytest tests/ -v           # all unit/integration tests
python -m pytest tests/test_mcp_server.py -v   # real stdio MCP transport
python -m pytest tests/test_core.py -v         # GitHub-compatible closed loop

License

MIT — see LICENSE

Publish / list in directories

See docs/PUBLISHING.md for MCP Registry, Cursor Directory, and Claude Connectors Directory submission steps.

Metadata

Release files for supermemory-agent-mcp 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for supermemory-agent-mcp 0.2.2
File Size Uploaded Provenance
supermemory_agent_mcp-0.2.2.tar.gz 62.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for supermemory-agent-mcp 0.2.2
File Interpreter ABI Platform
supermemory_agent_mcp-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 118.0 kB

Release files / supermemory_agent_mcp-0.2.2.tar.gz

Download URL supermemory_agent_mcp-0.2.2.tar.gz
Size 62.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4eb7cdda7dd66cf7493050674ed5cde7ac8b18c65b135baffcba0d6682a5bb25
BLAKE2b-256 checksum
How to use checksums
cf148ab4f0eae7989498eb547a2c13bcda00768980291b54833290911f4864e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / supermemory_agent_mcp-0.2.2-py3-none-any.whl

Download URL supermemory_agent_mcp-0.2.2-py3-none-any.whl
Size 55.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c3c230710d24b2e067ca22095616f8269775640314d3ca886d5bd96a93481e2d
BLAKE2b-256 checksum
How to use checksums
9f3b1b0d45509827a82335601f19e106f0916f60229a8d8e2ce985efceb35a8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for supermemory-agent-mcp 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page