kiro-recall
Syncs memory to an Obsidian vault, rendering semantic facts, lessons, and episodic memories as Markdown files with wikilinks for graph navigation.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kiro-recallWhat do you remember about me?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
kiro-recall
A local MCP memory server for Kiro CLI that gives your AI assistant persistent, semantic memory across sessions.
Inspired by Kiro Crew's memory architecture — reimplemented as a lightweight, self-contained system using SQLite + Ollama embeddings, with Obsidian as the human-readable sync target.
What it does
Semantic memory — structured key-value facts (
pref.editor: Neovim,project.active: MyProject)Episodic memory — conversation fragments that decay over time (~23 day half-life)
Lessons — corrections and rules that override all other memory (highest priority)
Semantic recall — vector similarity search via Qwen3-Embedding (1024-dim, runs locally)
Obsidian sync — renders memory to markdown with
[[wikilinks]]for graph navigation
Related MCP server: tartarus-mcp
Architecture
┌──────────────────────────────────────────┐
│ Kiro CLI / any MCP client │
│ Tools: Remember, Recall, Learn, Forget │
└──────────────┬───────────────────────────┘
│ stdio (MCP protocol)
┌───────▼───────┐ ┌─────────────────┐
│ memory.db │ sync → │ Obsidian Vault │
│ (SQLite) │ │ (Markdown) │
└───────┬───────┘ └─────────────────┘
│
┌───────▼───────┐
│ Ollama │
│ qwen3-embed │
│ (localhost) │
└───────────────┘Requirements
Install
git clone https://github.com/fredluckham/kiro-recall.git
cd kiro-recall
bash install.shThe install script will:
Install Ollama (if not present) and start it as a service
Pull the
qwen3-embedding:0.6bmodelCreate a Python venv and install dependencies
Install the MCP server config into
~/.kiro/settings/mcp.jsonInstall the steering file to
~/.kiro/steering/obsidian-memory.mdOptionally seed memory from an existing Obsidian vault
Manual setup
If you prefer not to use the install script:#
# 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/recall
mkdir -p ~/.kiro/recall
cp server.py db.py embed.py obsidian_sync.py ~/.kiro/recall/
# 4. Add to MCP config (see install.sh for the JSON patch)MCP Tools
Tool | Description |
| Store a fact, episode, or lesson |
| Semantic search across all memory |
| Store a high-priority correction/rule |
| Remove a memory by key or ID |
| Show counts, age, and decay health per memory tier |
| Hard-delete soft-deleted and fully decayed episodic rows |
Memory tiers
Tier | Priority | Decay | Use case |
Lessons | Highest | None | "Always use wikilinks", "Never assume region" |
Semantic | High | None (updated in place) | Structured facts about user/projects |
Episodic | Medium | exp(-0.03 × days) | Conversation fragments, decisions |
Key format
pref.*— User preferences (pref.theme,pref.voice,pref.editor)project.*— Active projects (project.active,project.stack)user.*— User facts (user.role,user.company,user.tools)
Obsidian sync
Run manually or via cron:
~/.kiro/recall/.venv/bin/python ~/.kiro/recall/obsidian_sync.pyOutputs:
Memory/Semantic.md— all facts grouped by prefixMemory/Lessons.md— corrections grouped by categorySessions/YYYY-MM-DD.md— today's episodic memories
Configuration
Set the Obsidian vault path via environment variable (prompted during install, saved to ~/.kiro/recall/.env):
export KIRO_MEMORY_VAULT="$HOME/Documents/Obsidian/My Vault"The default is ~/Documents/Obsidian/Kiro Knowledge Base.
Enable automatic Obsidian sync after every Remember or Learn call:
export KIRO_MEMORY_AUTOSYNC=1When disabled (default), sync runs manually or via cron. Auto-sync adds a small write overhead per call but keeps the vault always current.
The Ollama endpoint is set in embed.py:
OLLAMA_URL = "http://localhost:11434/api/embed"
MODEL = "qwen3-embedding:0.6b"License
MIT
Available Tools
6 toolsForgetA
Remove a memory.
Args: memory_type: One of 'semantic', 'episodic', or 'lesson'. identifier: The key (for semantic) or ID number (for episodic/lesson).
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes | ||
| memory_type | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It correctly signals a destructive operation via 'Remove', but does not disclose permanence, reversibility, failure behavior, or any side effects. The parameter details add some context, but behavioral transparency remains minimal for a mutation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and well-structured, with a one-line purpose statement and a clear Args block. Every sentence adds value and there is no filler or repetition.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-parameter delete tool, the description covers the essential invocation details: what to remove and how to identify it. An output schema exists, so return-value documentation is not required. The lack of alternative-selection guidance is the only notable gap, though it is more a usage-guideline concern.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description fully compensates by enumerating valid memory_type values ('semantic', 'episodic', 'lesson') and clarifying that identifier is a key or ID number depending on type. This is exactly the semantic content an agent needs beyond the bare schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Remove a memory') with a specific verb and resource. It is distinct from Remember (add), Recall (retrieve), and MemoryStats (inspect), but does not explicitly differentiate itself from the sibling PruneMemory, which also removes memories.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is given on when to use Forget versus PruneMemory or other siblings. The description explains parameters but provides no context for selecting this tool over alternatives, nor any prerequisites or caveats.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
LearnA
Store a correction or rule that should always be followed.
These have the highest priority and override other memories.
Args: rule: The rule or correction. e.g. "Always use wikilinks when writing to Obsidian" category: One of 'preference', 'tool', 'knowledge'. Default 'preference'.
| Name | Required | Description | Default |
|---|---|---|---|
| rule | Yes | ||
| category | No | preference |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses a key behavioral trait: learned rules have highest priority and override other memories. However, it does not explain side effects, whether prior conflicting rules are overwritten or merely deprioritized, persistence duration, or how removal works.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and front-loaded with the core purpose and priority behavior, followed by an efficient Args section. Every sentence earns its place with no redundant filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-parameter tool, the description covers purpose, priority behavior, and parameter semantics. It does not explain how it relates to sibling tools like Remember, but the presence of an output schema reduces the need to describe return values.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, but the description compensates fully. It defines 'rule' with an instructive example and 'category' with its allowed values and default. This gives an agent everything needed to fill both parameters correctly.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Store' and the resource 'correction or rule', and it adds the defining trait that these entries have highest priority and override other memories. This distinguishes Learn from the sibling Remember behaviorally, though it does not name the alternative explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies this tool is for storing persistent corrections or rules that must always be followed, but it does not explicitly state when to use Learn versus Remember or when not to use it. Usage must be inferred from the stated priority semantics rather than directly guided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
MemoryStatsA
Show memory statistics — counts, age, and decay health per memory tier.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. 'Show' implies a read-only inspection, and the description names the reported dimensions (counts, age, decay health, tier). It does not disclose potential side effects, whether decay health calculations are triggered, or any access/cost implications, but for a read-style stats tool this is a reasonable baseline.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, tight sentence that front-loads the action and then specifies the meaningful output categories. No filler, no repetition of the tool name, and every word contributes to understanding.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter statistics tool, the description is largely complete: it names the resource and the specific metrics reported. The presence of an output schema helps cover return details. Minor room for improvement would be stating whether this is a pure read operation or if it can trigger decay calculations.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters and the schema is empty, matching the description. With no parameters to document, the description adds value by clarifying what each result category covers, which is all that is needed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb ('Show'), a clear resource ('memory statistics'), and detailed specifics ('counts, age, and decay health per memory tier'). It is clearly distinct from the sibling tools, which perform actions like remembering, recalling, forgetting, or pruning rather than reporting statistics.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The intended use is implied: call this when you need memory statistics rather than performing a memory operation. However, it does not explicitly state when to use it versus alternatives, nor does it provide any exclusion conditions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
PruneMemoryA
Hard-delete decayed and soft-deleted episodic memories.
Removes soft-deleted rows and any active episodic rows whose maximum possible decay score has fallen below score_floor (~115 days at default).
Args: score_floor: Rows with max possible decay score below this are removed. Default 0.05. Set lower (e.g. 0.01) to be more conservative.
| Name | Required | Description | Default |
|---|---|---|---|
| score_floor | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly states the operation is a hard delete, defines the exact selection rule (max possible decay score below score_floor), and even translates the default into a time estimate (~115 days). It does not mention side effects like return counts, but the output schema covers return structure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and front-loaded: the first sentence states the purpose, and the following lines explain the selection rule and parameter without redundancy. Every sentence earns its place, and the Args block is clearly formatted for quick scanning.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter tool with an output schema and no annotations, the description covers purpose, destructive behavior, selection criteria, and parameter semantics well. The only notable gap is explicit guidance on when to invoke this tool relative to sibling tools like Forget, but the core operational context is complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema only gives type and default for score_floor, with 0% schema description coverage. The description fully compensates with a dedicated Args section explaining what score_floor controls, the default value, and how to adjust it for a more conservative prune. This exceeds what the schema provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The opening phrase 'Hard-delete decayed and soft-deleted episodic memories' names a specific verb (hard-delete), a clear resource (episodic memories), and a precise scope (decayed and soft-deleted). This clearly distinguishes the operation from generic memory operations and from siblings like Recall or MemoryStats.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies this is a maintenance/cleanup operation for removing decayed or already-soft-deleted rows, but it never explicitly states when to use PruneMemory versus alternatives such as Forget. There are no exclusions or routing hints to sibling tools, only parameter-tuning guidance ('Set lower to be more conservative').
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
RecallA
Search memory by semantic similarity.
Args: query: What to search for. Can be a question, topic, or keyword. memory_type: One of 'all', 'semantic', 'episodic', or 'lessons'. limit: Max results to return. Default 10. score_threshold: Minimum similarity score (0.0–1.0) to include a result. Applied to semantic cosine scores and episodic decay scores. Default 0.35. Set to 0.0 to disable filtering. category: Filter lessons by category (e.g. 'preference', 'tool', 'knowledge'). Only applied when memory_type includes lessons. Empty string returns all.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| category | No | ||
| memory_type | No | all | |
| score_threshold | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Without annotations, the description carries the burden of disclosing behavior, and it does so well by explaining how score_threshold applies to semantic cosine and episodic decay scores, and how category only affects lessons. It stops short of explicitly stating side-effect-free behavior, but 'Search' and the parameter semantics strongly imply a read-only operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-organized: a one-sentence summary followed by a tight, informative arg list. Every line adds value, and defaults are included inline, making it easy to scan without unnecessary prose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the technical complexity of the tool and the complete lack of schema-level descriptions or annotations, the description covers all essential aspects: query semantics, filtering modes, threshold behavior, and conditional category logic. Since an output schema exists, omitting return-value details is acceptable and does not detract from completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema provides no descriptions, so the description fully compensates by explaining every parameter, including valid memory_type values, defaults, threshold semantics, and conditional category filtering. This is exemplary semantic enrichment beyond the raw input schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with 'Search memory by semantic similarity,' a specific verb + resource that clearly defines the tool's function. This distinguishes Recall from sibling write/delate tools like Remember, Forget, and PruneMemory, and from MemoryStats.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly implies when to use Recall—when retrieving semantically related memory content—but it does not explicitly compare it to alternatives or state when not to use it. The sibling tool names provide context, but the description itself offers no direct routing guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
RememberA
Store something in memory.
Args: text: The content to remember. memory_type: One of 'episodic' (conversation fragment), 'semantic' (structured fact), or 'lesson' (correction/rule). key: Required for semantic type. Format: 'pref.theme', 'project.name', 'user.role', etc. importance: 0.0-1.0, how important this memory is. Higher = slower decay. Default 0.5. tags: Comma-separated tags for episodic memories.
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| tags | No | ||
| text | Yes | ||
| importance | No | ||
| memory_type | No | episodic |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the behavioral burden, and it adds useful detail: importance affects decay speed, key is required for semantic memories, and memory_type values map to concrete meanings. It does not discuss overwrite behavior or side effects, but the core persistence behavior is clearly disclosed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact, front-loaded with the one-line purpose, and uses an Args block where every line adds useful semantic information. No filler or repetition of schema defaults beyond what is helpful.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The five parameters are all explained, and the output schema relieves the description from explaining return values. The only notable gap is the lack of explicit guidance about when Remember should be chosen over the sibling Learn tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must fully document parameters, and it does: text, memory_type values, key format ('pref.theme' etc.), importance range/default, and tag format. It adds meaningful context beyond the raw schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The first line, 'Store something in memory,' names a specific verb ('store') and a clear resource ('memory'), and the memory_type options further scope the action. It distinguishes this tool from sibling operations such as Recall, Forget, and PruneMemory, which imply retrieval or deletion.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use the tool by saying 'Store something in memory' and by explaining memory_type alternatives, but it never explicitly contrasts this with siblings like Learn or states when not to use it. An agent must infer that Recall is for retrieval and Learn may be for lessons.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
6 tool updates
v0.1.0- First observed
Forget - First observed
Learn - First observed
MemoryStats - First observed
PruneMemory - First observed
Recall - First observed
Remember
TDQS
Remember and Learn overlap because Remember accepts memory_type='lesson', which is essentially Learn's entire purpose. The other tools are clearly distinct, and the detailed descriptions help clarify priority and scope, but the lesson overlap creates real ambiguity.
Most tools use simple single-word verbs like Remember, Recall, Learn, and Forget, which is internally consistent. MemoryStats and PruneMemory break the pattern by using compound names, but the overall naming is still predictable and readable.
Six tools is well-scoped for a memory system. Each tool handles a distinct part of the lifecycle: storing, learning, recalling, forgetting, pruning, and inspecting statistics, with no unnecessary redundancy.
The core memory lifecycle is well covered: create, recall, delete, prune, and stats. The main gap is the lack of an update/edit operation for existing memories and no exact-key lookup, though agents can work around it by forgetting and re-remembering.
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 Connectors
Private persistent memory for Claude, ChatGPT & Gemini via MCP - semantic search, zero-code setup.
An MCP memory server. One memory your agents share — across models, devices and apps.
Persistent memory for AI agents across Claude, ChatGPT and any MCP client.
Persistent memory for AI agents — log and recall conversation context over MCP.
Related MCP Servers
- AlicenseAqualityCmaintenanceA local, fully-offline MCP memory server that enables persistent storage and retrieval of information using SQLite with both keyword and semantic vector search capabilities.102312MIT
- AlicenseNot gradedqualityCmaintenanceA local-first MCP memory server providing persistent, searchable memory for AI agents, powered by SQLite.61Apache 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.3MIT
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