Skip to main content
Glama

kiro-recall

Kiro CLI 用のローカル MCP メモリサーバーで、AI アシスタントにセッションをまたいだ永続的なセマンティックメモリを提供します。

Kiro Crew のメモリアーキテクチャに触発され、SQLite + Ollama エンベディングを使用した軽量な自己完結型システムとして再実装し、Obsidian を人間が読める同期先としています。

機能

  • セマンティックメモリ — 構造化されたキーと値のファクト(pref.editor: Neovimproject.active: MyProject

  • エピソードメモリ — 時間とともに減衰する会話の断片(約23日の半減期)

  • レッスン — 他のすべてのメモリに優先する修正とルール(最高優先度)

  • セマンティック検索 — Qwen3-Embedding(1024次元、ローカル実行)によるベクトル類似度検索

  • Obsidian 同期[[wikilinks]] を使用したマークダウンへのメモリレンダリング(グラフナビゲーション用)

Related MCP server: tartarus-mcp

アーキテクチャ

┌──────────────────────────────────────────┐
│  Kiro CLI / any MCP client               │
│  Tools: Remember, Recall, Learn, Forget  │
└──────────────┬───────────────────────────┘
               │ stdio (MCP protocol)
       ┌───────▼───────┐          ┌─────────────────┐
       │  memory.db    │  sync →  │  Obsidian Vault  │
       │  (SQLite)     │          │  (Markdown)      │
       └───────┬───────┘          └─────────────────┘
               │
       ┌───────▼───────┐
       │  Ollama       │
       │  qwen3-embed  │
       │  (localhost)   │
       └───────────────┘

要件

  • macOS または Linux

  • Python 3.10+

  • Ollama(ローカルエンベディング用)

  • uv(推奨)または pip

インストール

git clone https://github.com/YOUR_USERNAME/kiro-recall.git
cd kiro-recall
bash install.sh

インストールスクリプトは以下を実行します:

  1. Ollama をインストール(未導入の場合)し、サービスとして起動

  2. qwen3-embedding:0.6b モデルをプル

  3. Python 仮想環境を作成し、依存関係をインストール

  4. MCP サーバー設定を ~/.kiro/settings/mcp.json にインストール

  5. ステアリングファイルを ~/.kiro/steering/obsidian-memory.md にインストール

  6. 既存の Obsidian ボールトからメモリをオプションでシード

手動セットアップ

インストールスクリプトを使用しない場合:

# 1. Install Ollama and the embedding model
brew install ollama  # or: curl -fsSL https://ollama.com/install.sh | sh
brew services start ollama
ollama pull qwen3-embedding:0.6b

# 2. Create venv and install deps
uv venv .venv
uv pip install "mcp[cli]>=1.0.0" "httpx>=0.27.0"

# 3. Copy to ~/.kiro/memory
mkdir -p ~/.kiro/memory
cp server.py db.py embed.py obsidian_sync.py ~/.kiro/memory/

# 4. Add to MCP config (see install.sh for the JSON patch)

MCP ツール

ツール

説明

Remember

ファクト、エピソード、またはレッスンを保存

Recall

すべてのメモリを横断したセマンティック検索

Learn

優先度の高い修正またはルールを保存

Forget

キーまたは ID でメモリを削除

MemoryStats

メモリ階層ごとの件数を表示

メモリ階層

階層

優先度

減衰

使用例

レッスン

最高

なし

「常に wikilinks を使用」、「リージョンを推測しない」

セマンティック

なし(その場で更新)

ユーザー/プロジェクトに関する構造化されたファクト

エピソード

exp(-0.03 × 日数)

会話の断片、決定事項

キー形式

  • pref.* — ユーザー設定(pref.themepref.voicepref.editor

  • project.* — アクティブなプロジェクト(project.activeproject.stack

  • user.* — ユーザーファクト(user.roleuser.companyuser.tools

Obsidian 同期

手動または cron で実行:

~/.kiro/memory/.venv/bin/python ~/.kiro/memory/obsidian_sync.py

出力:

  • Memory/Semantic.md — プレフィックスごとにグループ化されたすべてのファクト

  • Memory/Lessons.md — カテゴリごとにグループ化された修正

  • Sessions/YYYY-MM-DD.md — 今日のエピソードメモリ

設定

環境変数で Obsidian ボールトのパスを設定します(インストール時にプロンプト表示、~/.kiro/memory/.env に保存):

export KIRO_MEMORY_VAULT="$HOME/Documents/Obsidian/My Vault"

デフォルトは ~/Documents/Obsidian/Kiro Knowledge Base です。

Ollama エンドポイントは embed.py で設定:

OLLAMA_URL = "http://localhost:11434/api/embed"
MODEL = "qwen3-embedding:0.6b"

ライセンス

MIT

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    A local, fully-offline MCP memory server that enables persistent storage and retrieval of information using SQLite with both keyword and semantic vector search capabilities.
    10
    78
    12
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A local-first MCP memory server providing persistent, searchable memory for AI agents, powered by SQLite.
    5
    1
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    A fully local, self-hosted memory server for MCP clients (Claude Code, Cursor, etc.) that provides persistent memory storage with semantic search, using local embeddings and a local Qdrant vector store.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    MCP server that provides semantic memory with search, related-content traversal, and write-back capabilities, all powered by local embeddings of your notes, documents, and chat histories.
    14
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fredluckham/kiro-recall'

If you have feedback or need assistance with the MCP directory API, please join our Discord server