mem0

mem0 is a plugin for Cursor from mem0ai/mem0. Its token cost is not measured, scanned A, original, Apache-2.0.

A memory add-on for coding agents that stores and searches information across separate conversations. It is intended to reduce the amount of repeated context sent to the agent.

In plain words
What is it for?
Use it to create and search memories by user or repository, share a stable memory identity across machines, and control the number and size of retrieved results.
Why use it?
It helps an agent retain useful information after a conversation ends, so users do not need to repeat the same background each time. It also limits how much retrieved memory is added to a request.

Plugin for Cursor

Written for Cursor: a Cursor plugin manifest.

▶ Mem0 + Claude Code MCP — Give Your AI Agent a Permanent Memory Prompt Engineer · about mem0 · on YouTube →

Good fit Use it to create and search memories by user or repository, share a stable memory identity across machines, and control the number and size of retrieved results.

Compare 6 plugins from other repositories ↓
Install with agentmods
npx agentmods add plugins/mem0ai/mem0/cursor-plugin
About the project

mem0 is memory infrastructure that lets AI agents and applications store and retrieve information across interactions. It supports agents and developers who need persistent context for AI systems.

mem0ai/mem0 · 67,312 stars · on GitHub · mem0.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/mem0ai/mem0

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mem0

README.md
[![agentmods](https://agentmods.dev/badge/plugins/mem0ai/mem0/cursor-plugin/github.svg)](https://agentmods.dev/plugins/mem0ai/mem0/cursor-plugin)
Your own site
<a href="https://agentmods.dev/plugins/mem0ai/mem0/cursor-plugin"><img src="https://agentmods.dev/badge/plugins/mem0ai/mem0/cursor-plugin/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mem0

Your own site · 80×15
<a href="https://agentmods.dev/plugins/mem0ai/mem0/cursor-plugin"><img src="https://agentmods.dev/badge/plugins/mem0ai/mem0/cursor-plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

mem0 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

integrations/cursor-plugin/.cursor-plugin/plugin.json · 25 lines

What it actually says

{
  "name": "mem0",
  "version": "0.3.3",
  "description": "Cross-session memory and token savings for coding agents.",
  "author": { "name": "Mem0", "email": "[email protected]" },
  "homepage": "https://docs.mem0.ai/integrations/cursor",
  "repository": "https://github.com/mem0ai/mem0",
  "license": "Apache-2.0",
  "keywords": ["memory", "coding-agents", "continual-learning", "token-efficiency"],
  "skills": "./skills/",
  "hooks": "./hooks/hooks.json",
  "mcpServers": "./mcp.json",
  "variables": {
    "type": "object",
    "properties": {
      "api_key": { "type": "string", "title": "Mem0 API Key", "description": "Mem0 Platform API key used to create and search memories." },
      "user_id": { "type": "string", "title": "Memory user ID", "description": "Optional stable ID shared across machines.", "default": "" },
      "top_k": { "type": "number", "title": "Manual search results", "default": 3, "minimum": 1, "maximum": 20 },
      "max_context_chars": { "type": "number", "title": "Maximum retrieved context", "default": 4000, "minimum": 1000, "maximum": 10000 },
      "search_scope": { "type": "string", "title": "Default search scope", "default": "repo", "enum": ["repo", "dir", "mine"] }
    },
    "required": ["api_key"]
  }
}
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 23d ago Changed 745edc54f941
  2. 28d ago Changed 71a1d7706129
  3. 1mo ago Changed · -1 lines 4be74aca38f9
  4. 1mo ago First seen · 26 lines scan A 81045f8fca90

Subscribe to this mod's changes

mem0 is a plugin published in the GitHub repository mem0ai/mem0 (67,312 stars, last pushed today), licensed Apache-2.0. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-09.