Skip to main content
Glama

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)   │
       └───────────────┘

요구 사항

  • 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 venv 생성 및 의존성 설치

  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 × days)

대화 조각, 결정

키 형식

  • 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

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