Mnemos: memory for AI agents
Private, bi-temporal long-term memory for AI agents: what is true now and what was true then.
使うべきか
品質と安全性
検出事項(5)
- HIGH
- MEDIUMmnemos_topup_quote 内
- MEDIUMmnemos_export 内
- LOWmnemos_balance 内
- LOWmnemos_claim 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"memory": {
"url": "https://mnemos.uk/mcp"
}
}
}リモートエンドポイント
https://mnemos.uk/mcpstreamable-httpできること
ツール一覧
ツール(13)
🟡mnemos_create_space(label)
Open a new private memory space with free trial credits. Returns the space key once: keep it.
入力スキーマ
{
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "A name for the space, for your own reference."
}
}
}⚪mnemos_remember(text, kind, subject, tags, source, ...)
Store one memory. An exact duplicate of a current memory is not stored again and costs nothing. Returns the librarian's notes (same subject, close duplicates). Costs 3 credits.
入力スキーマ
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The memory itself, in plain words. One idea per memory. Up to 8,000 characters."
},
"kind": {
"type": "string",
"enum": [
"fact",
"event",
"preference",
"decision",
"instruction",
"note",
"summary"
],
"description": "What sort of memory this is. Default fact."
},
"subject": {
"type": "string",
"description": "Optional key for what it is about, e.g. \"user/timezone\" or \"customer:acme/plan\"."
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Up to 16 short tags."
},
"source": {
"type": "string",
"description": "Where it came from (a URL, a message id, \"user said\")."
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"importance": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Higher comes first in context. Default treated as 0.5."
},
"valid_from": {
"type": "string",
"description": "ISO 8601. When this became true in the world. Default now."
},
"valid_to": {
"type": "string",
"description": "ISO 8601. When it stops (or stopped) being true. Leave out if open-ended."
},
"supersedes": {
"type": "string",
"description": "Id of a memory this one replaces."
},
"replace_subject": {
"type": "boolean",
"description": "A change over time: current memories with the same subject and kind that began earlier end where this one begins (valid_to = its valid_from) and stay true before that date; ones that begin later are replaced."
},
"key": {
"type": "string",
"description": "Your space key (mk_...). Only needed if your client cannot send the Authorization header."
}
},
"required": [
"text"
]
}🟢mnemos_recall(query, kind, subject, tag, as_of, ...)
Search this space. With query, found by meaning and keywords together (ask in your own words) and ranked by relevance; without, newest first. By default it shows what is true now; valid_at shows what was true at a date, as_of what the space knew at a moment, include_history adds facts that have ended. Each result has status: current, history, future or superseded. Costs 3 credits.
入力スキーマ
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"kind": {
"type": "string",
"description": "One kind or several, comma-separated: fact, event, preference, decision, instruction, note, summary."
},
"subject": {
"type": "string",
"description": "Exact subject, or a prefix ending in *."
},
"tag": {
"type": "string"
},
"as_of": {
"type": "string",
"description": "ISO 8601 moment: memories as recorded then."
},
"valid_at": {
"type": "string",
"description": "ISO 8601 moment: facts true then."
},
"include_history": {
"type": "boolean",
"description": "Also show facts whose valid_to has passed (and ones not valid yet)."
},
"include_superseded": {
"type": "boolean",
"description": "Also show replaced versions."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"key": {
"type": "string",
"description": "Your space key (mk_...). Only needed if your client cannot send the Authorization header."
}
}
}🟢mnemos_context(task, budget_tokens, key)
A compact block of what this space knows that bears on a task: standing instructions, preferences, relevant memories, recent decisions, within a token budget. Put it in your working context. Costs 5 credits.
入力スキーマ
{
"type": "object",
"properties": {
"task": {
"type": "string",
"description": "What you are about to do, in a sentence."
},
"budget_tokens": {
"type": "integer",
"minimum": 200,
"maximum": 8000
},
"key": {
"type": "string",
"description": "Your space key (mk_...). Only needed if your client cannot send the Authorization header."
}
},
"required": [
"task"
]
}⚪mnemos_supersede(id, text, kind, subject, tags, ...)
Store a corrected version of a memory: the old one was wrong. Fields you leave out (subject, kind, tags, valid_from, valid_to and the rest) are kept from it. The old version stays readable through history and as_of. Costs 3 credits.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The memory to replace."
},
"text": {
"type": "string",
"description": "The memory itself, in plain words. One idea per memory. Up to 8,000 characters."
},
"kind": {
"type": "string",
"enum": [
"fact",
"event",
"preference",
"decision",
"instruction",
"note",
"summary"
],
"description": "What sort of memory this is. Default fact."
},
"subject": {
"type": "string",
"description": "Optional key for what it is about, e.g. \"user/timezone\" or \"customer:acme/plan\"."
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Up to 16 short tags."
},
"source": {
"type": "string",
"description": "Where it came from (a URL, a message id, \"user said\")."
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"importance": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Higher comes first in context. Default treated as 0.5."
},
"valid_from": {
"type": "string",
"description": "ISO 8601. When this became true in the world. Default now."
},
"valid_to": {
"type": "string",
"description": "ISO 8601. When it stops (or stopped) being true. Leave out if open-ended."
},
"key": {
"type": "string",
"description": "Your space key (mk_...). Only needed if your client cannot send the Authorization header."
}
},
"required": [
"id",
"text"
]
}🟢mnemos_history(id, key)
Every version of a memory, oldest first, and which one is current. Costs 3 credits.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"key": {
"type": "string",
"description": "Your space key (mk_...). Only needed if your client cannot send the Authorization header."
}
},
"required": [
"id"
]
}🔴mnemos_forget(id, chain, key)
Delete a memory for good (with chain: true, every version of it). Free.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"chain": {
"type": "boolean"
},
"key": {
"type": "string",
"description": "Your space key (mk_...). Only needed if your client cannot send the Authorization header."
}
},
"required": [
"id"
]
}🟢mnemos_digest(key)
The librarian's report on the whole space: counts by kind, subjects with conflicting current memories, facts past their valid_to, recent changes, top tags. Costs 20 credits.
入力スキーマ
{
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "Your space key (mk_...). Only needed if your client cannot send the Authorization header."
}
}
}🟢mnemos_balance(key)
Credits left, prices, and how to top up. Free.
入力スキーマ
{
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "Your space key (mk_...). Only needed if your client cannot send the Authorization header."
}
}
}🟡mnemos_topup_quote(usd, network, key)
Reserve an exact USDC amount for a top-up by direct transfer (valid one hour). Send exactly that amount, then call mnemos_claim with the transaction hash. Agents that speak x402 can instead POST https://mnemos.uk/v1/credits/topup?usd=N. Free.
入力スキーマ
{
"type": "object",
"properties": {
"usd": {
"type": "number",
"enum": [
1,
5,
20,
100
]
},
"network": {
"type": "string",
"description": "eip155:8453 (Base). Leave out for the default."
},
"key": {
"type": "string",
"description": "Your space key (mk_...). Only needed if your client cannot send the Authorization header."
}
},
"required": [
"usd"
]
}🟢mnemos_export(limit, cursor, key)
Every memory in this space, every version, a page at a time (pass next_cursor back as cursor). Free. Over HTTP, GET https://mnemos.uk/v1/export streams the whole space as NDJSON.
入力スキーマ
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 500
},
"cursor": {
"type": "string",
"description": "next_cursor from the page before."
},
"key": {
"type": "string",
"description": "Your space key (mk_...). Only needed if your client cannot send the Authorization header."
}
}
}🔴mnemos_close_space(confirm, key)
Close this space for good: every memory is deleted, the key stops working and credits left are dropped. Needs confirm: "close". Export first if you want a copy. Free.
入力スキーマ
{
"type": "object",
"properties": {
"confirm": {
"type": "string",
"enum": [
"close"
]
},
"key": {
"type": "string",
"description": "Your space key (mk_...). Only needed if your client cannot send the Authorization header."
}
},
"required": [
"confirm"
]
}⚪mnemos_claim(tx_hash, network, key)
Credit a direct USDC transfer made against a quote. Free.
入力スキーマ
{
"type": "object",
"properties": {
"tx_hash": {
"type": "string"
},
"network": {
"type": "string"
},
"key": {
"type": "string",
"description": "Your space key (mk_...). Only needed if your client cannot send the Authorization header."
}
},
"required": [
"tx_hash"
]
}コミュニティ
エビデンス