Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Kotrotsosv0.1.0MIT
Persistent memory MCP server with BM25 search, namespace segmentation, and two-phase retrieval for efficient context engineering
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Persistent, searchable memory for AI assistants.
Memento is an MCP server that gives Claude long-term memory across sessions, projects, and machines. Store what you learn, search it later, recall only what you need.
No databases. No embedding models. No external services. Plain files, runs locally.
Most AI assistants forget everything the moment a session ends. Memento fixes that by giving Claude a persistent store it can read and write to across sessions.
The design is built around two-phase retrieval: search returns compact snippets so the AI can decide what's relevant, then recall fetches full content only for the entries it actually needs. This keeps context windows lean and costs low.
Storage is append-only JSONL files on disk. Search is BM25, the same probabilistic ranking that powers most search engines. No ML, no APIs, just fast deterministic text matching.
claude plugin add github:Kotrotsos/memento-core
The plugin auto-builds on first use via a SessionStart hook (takes about 10 seconds). After that it's instant.
git clone https://github.com/Kotrotsos/memento-core.git
cd memento-core
npm install && npm run build
Then register the MCP server. Add this to your ~/.mcp.json or a project-level .mcp.json:
{
"mcpServers": {
"memento": {
"command": "node",
"args": ["/path/to/memento-core/build/index.js"]
}
}
}
Restart Claude Code. You should see the memory_* tools available.
Memento exposes five tools over the Model Context Protocol.
memory_storeCreate a new memory or update an existing one.
memory_store(content, namespace?, tags?, id?, relations?, ttl?)
| Parameter | Type | Default | Description |
|---|---|---|---|
content | string | required | The memory text |
namespace | string | "global" | Where to file it: global, projects/my-app, decisions, etc. |
tags | string[] | [] | Labels for filtering: architecture, preference, bug, etc. |
id | string | auto | Provide an existing ID to update that memory |
relations | string[] | [] | IDs of related memories |
ttl | string | permanent | ISO 8601 expiry. After this timestamp, the memory is excluded from results |
Example
{
"content": "Use JSONL for storage. Chosen over SQLite (binary, overkill) and single JSON files (can't stream/append).",
"namespace": "decisions",
"tags": ["architecture", "storage"]
}
memory_searchSearch memories with BM25 ranking. Returns snippets, not full content.
memory_search(query, namespace?, tags?, limit?)
| Parameter | Type | Default | Description |
|---|---|---|---|
query | string | required | Search terms |
namespace | string | all | Scope results to a namespace |
tags | string[] | — | Filter by tags (AND logic, all must match) |
limit | number | 10 | Max results to return |
Response
[
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"namespace": "decisions",
"tags": ["architecture", "storage"],
"snippet": "Use JSONL for storage. Chosen over SQLite (binary, overkill) and single JSON files...",
"score": 6.41,
"updated": "2026-02-26T14:30:00Z"
}
]
Snippets are the first ~150 characters of content, enough to judge relevance without burning context.
memory_recallFetch full content for specific memory IDs. Use after search to load what you actually need.
memory_recall(ids)
| Parameter | Type | Description |
|---|---|---|
ids | string[] | One or more memory IDs from a previous search |
Response
[
{
"id": "550e8400-...",
"namespace": "decisions",
"content": "Use JSONL for storage. Chosen over SQLite (binary, overkill) and single JSON files (can't stream/append). JSONL is append-friendly, streamable, human-readable, and grep-compatible.",
"tags": ["architecture", "storage"],
"created": "2026-02-26T14:30:00Z",
"updated": "2026-02-26T14:30:00Z",
"source": "claude-code",
"relations": [],
"ttl": null
}
]
memory_deleteSoft-delete a memory. The entry stays in the JSONL file but is excluded from all queries.
memory_delete(id, namespace)
memory_list_namespacesList all namespaces with entry counts. No parameters.
[
{ "namespace": "global", "count": 42 },
{ "namespace": "projects/my-app", "count": 17 },
{ "namespace": "decisions", "count": 8 }
]
Memento includes a web interface for browsing and managing memories.
npm run admin
Opens at http://localhost:3000. Custom port:
MEMENTO_ADMIN_PORT=8080 npm run admin
What you get:
Generated from the plugin's indexed repository (kotrotsos/memento-core) — no native marketplace selected
npx claudepluginhub p/kotrotsos-memento-corePlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.