kiro-recall
kiro-recall
Kiro CLI 用のローカル MCP メモリサーバーで、AI アシスタントにセッションをまたいだ永続的なセマンティックメモリを提供します。
Kiro Crew のメモリアーキテクチャに触発され、SQLite + Ollama エンベディングを使用した軽量な自己完結型システムとして再実装し、Obsidian を人間が読める同期先としています。
機能
セマンティックメモリ — 構造化されたキーと値のファクト(
pref.editor: Neovim、project.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) │
└───────────────┘要件
インストール
git clone https://github.com/YOUR_USERNAME/kiro-recall.git
cd kiro-recall
bash install.shインストールスクリプトは以下を実行します:
Ollama をインストール(未導入の場合)し、サービスとして起動
qwen3-embedding:0.6bモデルをプルPython 仮想環境を作成し、依存関係をインストール
MCP サーバー設定を
~/.kiro/settings/mcp.jsonにインストールステアリングファイルを
~/.kiro/steering/obsidian-memory.mdにインストール既存の 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 ツール
ツール | 説明 |
| ファクト、エピソード、またはレッスンを保存 |
| すべてのメモリを横断したセマンティック検索 |
| 優先度の高い修正またはルールを保存 |
| キーまたは ID でメモリを削除 |
| メモリ階層ごとの件数を表示 |
メモリ階層
階層 | 優先度 | 減衰 | 使用例 |
レッスン | 最高 | なし | 「常に wikilinks を使用」、「リージョンを推測しない」 |
セマンティック | 高 | なし(その場で更新) | ユーザー/プロジェクトに関する構造化されたファクト |
エピソード | 中 | exp(-0.03 × 日数) | 会話の断片、決定事項 |
キー形式
pref.*— ユーザー設定(pref.theme、pref.voice、pref.editor)project.*— アクティブなプロジェクト(project.active、project.stack)user.*— ユーザーファクト(user.role、user.company、user.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
This server cannot be installed
Maintenance
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
- AlicenseAqualityBmaintenanceA local, fully-offline MCP memory server that enables persistent storage and retrieval of information using SQLite with both keyword and semantic vector search capabilities.107812MIT
- AlicenseNot gradedqualityCmaintenanceA local-first MCP memory server providing persistent, searchable memory for AI agents, powered by SQLite.51Apache 2.0
- AlicenseNot gradedqualityCmaintenanceA 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
- AlicenseNot gradedqualityBmaintenanceMCP 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.14MIT
Related MCP Connectors
Person-owned, portable AI memory as a remote MCP server, readable and writable by any MCP client.
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
Cloud-hosted MCP server for durable AI memory
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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