Skip to main content
Glama
memanto-mcp
by geoffsdesk

memanto-mcp

Claudeのための型付きセマンティックメモリ。規制の厳しいB2Bエージェント向けに設計された、意見を持つメモリ。

ほとんどの「メモリMCP」サーバーは save_memory(text) を提供して終わりですが、本サーバーは意見を持ったメモリモデルを提供します。型付きレコード(fact、decision、commitment、instructionなど)、すべての書き込みにおける出所と信頼性、テナントを意識したスコープ設定、バイテンポラル(二重時間)リコールを備えています。さらに、モデルに対して「いつ記憶し、いつ想起し、いつ回答するか」、そして「どのように引用とテナントの分離を維持するか」を指示するClaudeスキルも同梱されています。

Anthropicのプラットフォーム上でB2Bエージェント(リーガルテック、金融、ヘルスケア、顧客対応、社内ナレッジワークなど)を構築している場合、まさにそのためのツールです。

特徴

  • 型付きメモリ。 13種類のファーストクラスのメモリ型(fact、preference、goal、decision、commitment、instruction、relationship、context、observation、event、artifact、learning、error)。型が間違っているとリコールがノイズだらけになります。適切な型を選択することはAPI契約の一部です。

  • すべてのレコードにおける出所と信頼性。 explicit_statement / inferred / observed / validated / corrected / imported に加え、0.0〜1.0の信頼度スコア。リコール時に min_confidence でフィルタリング可能です。監査証跡は後付けではなく、データの中に組み込まれています。

  • バイテンポラル(二重時間)読み取り。 recall_as_of(date) は特定の時点でのメモリを返し、recall_current は上書き/期限切れのレコードを除外します。「時点で何を知っていたか」というワークフローのために構築されています。

  • 価値あるClaudeスキルを同梱。 skills/memanto-memory/SKILL.md は、Claudeに対して各動詞の使用タイミング、複合的な agent_id を介したテナント境界へのメモリのスコープ設定、生の想起が合成回答に勝る場合(外部向けテキストのドラフト作成など、常に生の想起が必要)、そして読み取り時にメモリ本体を信頼できないものとして扱う方法を指示します。

  • 単一プロセス。 memanto Pythonサービスレイヤーを直接ラップしているため、実行すべき別のRESTプロセスは不要です。

Related MCP server: CozoDB Memory MCP Server

本ツールが対象としないもの

  • 汎用的なベクトルストアではありません。メモリは短く、構造化され、型付けされています。10万件の契約書をインデックス化する必要がある場合は、ドキュメントストアで行い、本ツールはエージェントがそれらについて行う「決定、コミットメント、観察」のために使用してください。

  • バックエンド非依存ではありません(現時点)。現在はベクトルバックエンドとして Moorcheh に結合されています。無料枠は月間10万オペレーションです。プラグイン可能なバックエンドは ロードマップ に記載されています。

  • エンタープライズ監査システムではありません。スキルは規制されたデプロイメントに必要なものについて意見を持っていますが、サーバー側ではまだすべてを強制していません。不足している点については ロードマップ を参照してください。

ツール

memanto 名前空間下の9つのMCPツール:

ツール

目的

memanto_remember

型付きメモリ(事実、好み、目標、決定など)を保存

memanto_recall

エージェントのメモリに対するセマンティック検索

memanto_recall_current

現在アクティブな(上書きされていない)メモリのみを想起

memanto_recall_as_of

特定の日付時点での想起

memanto_answer

memantoの内蔵LLMを使用したRAGベースの回答

memanto_create_agent

新しいエージェントのプロビジョニング(Moorcheh名前空間を作成)

memanto_list_agents

既知のエージェントを一覧表示

memanto_get_agent

単一エージェントのメタデータを取得

memanto_delete_agent

エージェントとそのすべてのメモリを削除(破壊的)

インストール

Coworkプラグインとして(AnthropicのCoworkモード)

  1. 最新の memanto-mcp.plugin リリースをダウンロードします。

  2. プラグインインストールUI経由でCoworkにドロップします。

  3. Coworkが継承する環境変数に MOORCHEH_API_KEY を設定し、Coworkを再起動します。

スタンドアロンMCPサーバーとして(Claude Code, Cline, Cursor, Continueなど)

pip install memanto-mcp
export MOORCHEH_API_KEY="mch_..."

次に、MCPホストをバイナリに向けます。Claude Codeの場合:

claude mcp add memanto -- memanto-mcp

Cursor / Cline / Continueの場合:コマンド memanto-mcp を持つstdioサーバーとしてMCP設定に追加します。

スキルをサポートするMCPホスト(Cowork、スキルプラグイン付きのClaude Codeなど)で同梱スキルを読み込むには、skills/memanto-memory/SKILL.md をホストのスキルディレクトリにコピーしてください。

Moorcheh APIキーの取得

https://console.moorcheh.ai/api-keys でサインアップしてください。無料枠は月間10万オペレーションです。

初回実行

> Create a memanto agent called acme:matter-4711:user-jdoe and remember
> that this matter has a 60-day notice period.

Claudeは memanto_create_agent を呼び出し、次に memanto_remember(memory_type="fact", content="Matter 4711 (Acme): 60-day notice period.", confidence=0.95) を呼び出します。

> What do we know about Matter 4711?

Claudeは memanto_recall(query="Matter 4711", agent_id="acme:matter-4711:user-jdoe") を呼び出し、保存された事実を引用します。

> What was our position on Matter 4711 before the redesign on 2026-03-01?

Claudeは memanto_recall_as_of(query="Matter 4711 position", agent_id=..., as_of_date="2026-02-28") を呼び出します。

スキルにおけるスコープ設定の考え方

サーバーは agent_id をスコープのプリミティブとして使用します。スキルはClaudeに対し、これを複合キーとして扱うよう教えます:

agent_id = "<tenant>:<workspace>:<actor>"

例: acme:matter-4711:user-jdoe。テナントをまたぐ想起は、本番環境のメモリシステムにおいて最も影響の大きい障害モードです。スキルは、境界が間違っている場合に空の結果を黙って返すのではなく、Claudeにそれを明確に拒否させます。

複合キーに適合しない軸(管轄、地域、利益相反グループ、製品ライン)については、tags を使用してください。これらはリコール時にフィルタリング可能です。

ドラフト作成のルール

ユーザーが 外部向けテキスト(契約修正案、顧客向けメール、規制当局への提出書類、臨床要約、ブリーフィングメモなど)を作成している場合、スキルはClaudeに対し、memanto_answer(合成)ではなく memanto_recall(生のヒット)を使用して引用するよう指示します。言い換えられた引用の監査コストは高すぎるためです。

ユーザーが調査、探索、または自分自身へのブリーフィングを行っている場合は、memanto_answer で問題ありません。

ロードマップ

完全に規制されたデプロイメントで必要とされるであろうと想定されるものの、サーバーがまだ実装していない正直なギャップは ROADMAP.md に文書化されています。ハイライト:構造化された source_uri + source_span フィールド(引用は現在 content 内にエンコードされています)、バージョン管理された変更 + 編集API、プラグイン可能なストレージバックエンド、非stdioホスト用のHTTPトランスポートなど。

リポジトリ構成

memanto-mcp/
├── .claude-plugin/plugin.json       # Cowork plugin manifest
├── .mcp.json                        # MCP server registration (Cowork)
├── server/memanto_mcp_server.py     # FastMCP server (stdio)
├── skills/memanto-memory/SKILL.md   # the bundled skill
├── pyproject.toml                   # for `pip install memanto-mcp`
├── README.md                        # this file
├── ROADMAP.md                       # what's missing, ranked
├── CONTRIBUTING.md
├── CHANGELOG.md
├── LICENSE                          # MIT
└── docs/
    └── launch-post.md               # cross-post draft

貢献

CONTRIBUTING.md を参照してください。現在最も影響力の大きい貢献は、(1) プラグイン可能なストレージバックエンド(インターフェース + SQLiteまたはpgvectorの実装)と、(2) 構造化された引用モデル(source_uri + source_span + quote)の2点です。どちらも ロードマップ に記載されています。

ライセンス

MIT。 LICENSE を参照してください。

クレジット

  • memanto および Moorcheh — 本ツールがラップしている型付きメモリモデルとベクトルバックエンド。

  • AnthropicのMCP および Agent Skills — プロトコルとスキル形式。

  • 公開されたパターンが本スキルの参考となったエンタープライズエージェントシステムを開発しているチーム:Harvey, Hebbia, Robin AI, Clio, EvenUp, Casetext。

AnthropicまたはMoorchehとは提携していません。

Available Tools

9 tools
memanto_answerB

RAG-grounded answer using the agent's memory.

Memanto retrieves relevant memories and synthesizes an answer with citations. Use this when the user wants a synthesized response, not raw search hits.

Inputs: query (required), agent_id (required). Returns: object

memanto_create_agentA

Create a new agent (provisions a dedicated Moorcheh namespace).

Args: agent_id: Unique kebab-case identifier (e.g. 'customer-support', 'geoff-personal'). description: Optional human description. pattern: One of support, project, tool. Default 'support'.

Inputs: agent_id (required), pattern, description. Returns: object

memanto_delete_agentA

Delete an agent and its memory namespace.

DESTRUCTIVE: this removes the agent's stored memories. Confirm with the user before calling.

Inputs: agent_id (required). Returns: object

memanto_get_agentB

Get metadata for a single agent (or None if it doesn't exist).

Inputs: agent_id (required). Returns: result

memanto_list_agentsA

List all agents this MCP server knows about.

Inputs: no named parameters. Returns: object

memanto_recallB

Semantic search over an agent's memory.

Args: query: Natural-language query. agent_id: Whose memory to search. memory_types: Optional filter by type(s). tags: Optional filter by tag(s). limit: Max results (default 10). min_confidence: Optional minimum confidence threshold.

Returns: dict with search hits (content, score, metadata).

Inputs: query (required), agent_id (required), tags, limit, +2 more. Returns: object

memanto_recall_as_ofC

Recall memories as they existed at a specific date.

Args: as_of_date: ISO 8601 date or datetime (e.g. '2026-01-15' or '2026-01-15T12:00:00Z').

Inputs: query (required), agent_id (required), as_of_date (required), tags, +2 more. Returns: object

memanto_recall_currentC

Recall only currently-active memories (excludes superseded, expired, deleted).

Inputs: query (required), agent_id (required), tags, limit, +1 more. Returns: object

memanto_rememberA

Store a typed memory for an agent.

Args: agent_id: Which agent's memory to write to (must already exist; create with memanto_create_agent). content: The memory content (1–10000 chars). memory_type: One of fact, preference, goal, decision, artifact, learning, event, instruction, relationship, context, observation, commitment, error. title: Optional short title; auto-derived from content if omitted. tags: Optional list of free-form tags for filtering on recall. confidence: Confidence score in [0.0, 1.0]; defaults to 0.8. source: Free-form source label (e.g. "claude", "user", a tool name). provenance: How the memory was obtained — explicit_statement, inferred, observed, validated, corrected, imported.

Returns: dict with the stored memory's id and namespace.

Inputs: content (required), agent_id (required), tags, title, +4 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 9 tools

    Disambiguation3/5

    The forget/remember/recall core is clear, but three retrieval tools (recall, recall_as_of, recall_current) overlap: the docs never state whether plain `recall` already excludes superseded memories, and recall_as_of/recall_current document no agent_id or filter args, so an agent cannot tell whether they are scoped per-agent or global. The remember-vs-answer split (raw storage vs synthesized RAG) is well delineated.

    Naming Consistency5/5

    Every tool uses the same `memanto_` prefix with a snake_case verb or verb_object form (remember, recall, answer, create_agent, list_agents, get_agent, delete_agent). The recall_* variants form a predictable modifier pattern rather than a convention break.

    Tool Count5/5

    Nine tools is well-scoped: five memory operations plus four agent lifecycle operations, each earning its place. No obvious filler tools or redundancies that would bloat the surface.

    Completeness3/5

    Agent management is full CRUD except update_agent, but the memory lifecycle is write-and-read only — there is no way to update, forget, delete, or supersede an individual memory, despite memory types like 'error' and 'commitment' implying correction workflows. recall_as_of and recall_current also lack documented parameters, leaving dead ends for filtered use.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Persistent memory API for AI agents — store, recall, and inject semantically-searchable context across sessions. EU-hosted, GDPR-compliant. Supports Claude, Cursor, Cline, and any MCP-compatible client.
      4
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables Claude Code and other LLM agents to capture, consolidate, and retrieve memories from conversation history, building a local-first knowledge graph with semantic search and dream-state consolidation.
      75 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables Claude and other AI agents to store and retrieve decisions, patterns, and knowledge persistently across sessions and context compaction, either self-hosted on Redis/Valkey or through a managed SaaS.
      17 npm
      MIT