server
v0.3.6MCP server for persistent AI agent memory
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
remember
Store a memory about this codebase — conventions, decisions, architecture, patterns, or lessons learned
| Parameter | Type | Description |
|---|---|---|
key * | string | A short, descriptive key for this memory |
type * | string | The type of memory |
value * | string | The memory content |
conditions | array | When this applies — conditions or prerequisites |
crossSystemRefs | array | Keys of related memories in other systems |
examples | array | Concrete input/output examples |
executionFlow | object | Step-by-step execution pipeline (for execution type) |
filePaths | array | Related file paths |
force | boolean | Override secret detection blocking |
phases | array | Phases or stages this memory relates to |
tags | array | Tags for categorization |
recall
Search codebase memories by fuzzy query — finds conventions, decisions, patterns, and lessons. Results are numbered passages [1..n] with source and date. Before answering, briefly note which numbered passage(s) support your answer, then cite them.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query for fuzzy matching |
assembledContext | boolean | Return one deduped, chronologically-ordered assembled-context block instead of numbered passages |
limit | integer | Max results |
maxTokens | integer | Maximum token budget for response (approx 4 chars per token). Results truncated to fit. |
type | string | Filter by memory type |
forget
Delete a memory by its key
| Parameter | Type | Description |
|---|---|---|
key * | string | The key of the memory to delete |
conventions
List all coding conventions for this project
architecture
List all architecture notes and module boundaries
decisions
List the decision log — why things were built the way they are
context
Get all memories related to a specific file path
| Parameter | Type | Description |
|---|---|---|
filePath * | string | File path to get context for |
staleness
Check for stale memories that may be outdated or no longer relevant
conflicts
Detect potential conflicts between memories — overlapping or contradictory entries
stats
Show memory usage statistics — counts by type, recall hit rate, agent sessions, most/least accessed
observe
Report what you are doing or learning — Tages silently extracts memories from your observations. Call this naturally as you work, no need to format.
| Parameter | Type | Description |
|---|---|---|
observation * | string | What you observed, decided, or learned while working |
session_end
End the current session with a summary of what was built, decided, or learned — auto-extracts memories from the summary
| Parameter | Type | Description |
|---|---|---|
summary * | string | Summary of what happened in this session |
extractMemories | boolean | Auto-extract memories from the summary (default: true) |
verify_memory
Verify a pending auto-extracted memory — promotes it to live so it appears in recall results
| Parameter | Type | Description |
|---|---|---|
key * | string | Key of the pending memory to verify |
pending_memories
List auto-extracted memories that need verification before they appear in recall
memory_stats_detail
Detailed memory statistics — counts by type and status, average confidence, top 5 agents, and total count
memory_history
Get the version history of a memory — shows past values, confidence changes, and who changed it. Optionally revert to a previous version.
| Parameter | Type | Description |
|---|---|---|
key * | string | Key of the memory to get history for |
revertToVersion | integer | Version number to revert to |
contextual_recall
Search memories filtered by execution context — current files, agent name, or phase. More precise than recall for context-aware retrieval.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query (can be empty to list all contextual matches) |
context | object | Execution context to filter results |
limit | integer | Max results |
resolve_conflict
Resolve a detected memory conflict using keep_newer, keep_older, or merge strategies
| Parameter | Type | Description |
|---|---|---|
conflictId * | string | ID of the conflict to resolve |
strategy * | string | Resolution strategy (auto_merge uses 3-way LCS merge) |
mergedValue | string | Merged content (required when strategy is "merge") |
resolvedBy | string | Agent or user resolving the conflict |
list_conflicts
List unresolved memory conflicts for this project
suggestions
Get suggestions for memories you should store, based on queries that returned no results
import_memories
Import memories from a JSON array or markdown file content. Handles duplicates with skip/overwrite/merge strategies.
| Parameter | Type | Description |
|---|---|---|
content * | string | JSON array or markdown content to import (max 500KB) |
format | string | Input format |
strategy | string | Duplicate handling strategy |
memory_graph
Build a relationship graph from crossSystemRefs and output as a Mermaid diagram
fork_branch
Fork current memories into a session branch for experimentation. Branch writes won't affect main until merged.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Unique session identifier for this branch |
merge_branch
Merge a session branch back into main memory. Detects conflicts between branch and main changes.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session ID of the branch to merge |
strategy * | string | force = branch wins; skip_conflicts = skip conflicting keys |
list_branches
List memories in a session branch
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session ID to inspect |
detect_duplicates
Detect near-duplicate memories using Jaccard similarity on key+value tokens
| Parameter | Type | Description |
|---|---|---|
threshold | number | Jaccard similarity threshold (default 0.7) |
consolidate_memories
Merge two duplicate memories into one, preserving all metadata
| Parameter | Type | Description |
|---|---|---|
survivorKey * | string | Key of the memory to keep |
victimKey * | string | Key of the memory to delete and merge into survivor |
mergedValue | string | Custom merged value (optional, defaults to more detailed version) |
impact_analysis
Analyze the downstream impact of a memory — how many others depend on it
| Parameter | Type | Description |
|---|---|---|
key * | string | Memory key to analyze impact for |
risk_report
Get project-wide risk ranking — which memories are most dangerous to change
graph_analysis
Analyze the memory dependency graph — orphans, critical paths, impact scores
check_convention
Check a memory against all stored conventions — detect conflicts or duplicates before storing
| Parameter | Type | Description |
|---|---|---|
key * | string | Memory key to check against all conventions |
agentName | string | Agent name for violation tracking |
enforcement_report
Get per-agent convention compliance stats and recent violations
memory_quality
Score a specific memory on completeness, freshness, consistency, and usefulness (0-100)
| Parameter | Type | Description |
|---|---|---|
key * | string | Memory key to score |
project_health
Get overall project memory health score with dimension breakdown and improvement suggestions
list_templates
List available memory templates (api-endpoint, react-component, database-migration, test-suite, cli-command)
match_templates
Find templates matching given file paths — prompts agent to fill required fields
| Parameter | Type | Description |
|---|---|---|
filePaths * | array | File paths to match against templates |
apply_template
Create a memory from a filled template with automatic key generation
| Parameter | Type | Description |
|---|---|---|
fields * | object | Field values for the template |
templateId * | string | Template ID to apply |
filePaths | array | Related file paths |
archive_memory
Archive a memory to cold storage — removes it from recall but preserves it for restoration
| Parameter | Type | Description |
|---|---|---|
key * | string | Memory key to archive |
reason | string | Reason for archiving |
restore_memory
Restore an archived memory back to live status
| Parameter | Type | Description |
|---|---|---|
key * | string | Memory key to restore from archive |
list_archived
List archived memories with their archive reasons and dates
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max archived memories to list |
archive_stats
Get archive statistics — total archived, restored, expired
auto_archive
Scan for stale low-quality memories and auto-archive them
| Parameter | Type | Description |
|---|---|---|
qualityThreshold | number | Archive memories below this quality score (default 20) |
stalenessDays | number | Archive memories not accessed in this many days (default 60) |
federate_memory
Promote a project memory to the org-wide federated library
| Parameter | Type | Description |
|---|---|---|
key * | string | Memory key to promote to federated library |
promotedBy | string | Agent/user promoting this memory |
scope | string | Federation scope (default: org) |
import_federated
Import a federated memory from the shared library into this project
| Parameter | Type | Description |
|---|---|---|
key * | string | Federated memory key to import into this project |
list_federated
List all memories in the federated library
| Parameter | Type | Description |
|---|---|---|
scope | string | Filter by scope |
federation_overrides
Show which federated memories have local project overrides
session_replay
Replay a session timeline showing all tool calls with metrics
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session ID to replay |
agent_metrics
Get agent effectiveness metrics — recall hit rate, memory creation quality, convention compliance
| Parameter | Type | Description |
|---|---|---|
agentName | string | Filter by agent name |
trends
Detect performance trends across sessions — improvements and regressions
| Parameter | Type | Description |
|---|---|---|
agentName | string | Filter by agent name |
pre_check
Before starting a task, get a list of gotchas: anti-patterns to avoid, conventions to follow, and lessons learned from past experience
| Parameter | Type | Description |
|---|---|---|
taskDescription * | string | Description of the task you are about to perform |
filePaths | array | File paths you plan to edit |
file_recall
Find memories related to specific file paths — matches by exact path, directory prefix, or reverse prefix. Prioritises anti-pattern and convention memories.
| Parameter | Type | Description |
|---|---|---|
filePaths * | array | File paths currently being edited |
limit | integer | Max results |
project_brief
Generate a token-budgeted project brief for system prompt injection. Returns gotchas, conventions, architecture, and decisions — prioritized by importance. Use this ONCE at session start instead of calling recall/conventions/architecture individually.
| Parameter | Type | Description |
|---|---|---|
budget | integer | Max estimated tokens for the brief (default 3000) |
task | string | Description of the current task — used to prioritize relevant memories |
import_claude_md
Parse a CLAUDE.md file and auto-create memories from its sections. Conventions, architecture notes, decisions, and anti-patterns become typed memories.
| Parameter | Type | Description |
|---|---|---|
content * | string | Raw CLAUDE.md file content |
strategy | string | How to handle existing memories with the same key |
memory_audit
Audit project memory coverage and quality: type distribution, brief-critical coverage score, imperative phrasing ratio, and actionable suggestions.
sharpen_memory
Rewrite a memory value into imperative form (ALWAYS/NEVER/MUST/DO NOT) using Claude Haiku. Returns a before/after preview unless confirmed=true.
| Parameter | Type | Description |
|---|---|---|
key * | string | Key of the memory to rewrite in imperative form |
confirmed | boolean | If false (default), returns a preview without mutating. If true, applies the rewrite. |
post_session
End-of-session tool: extract memories from a session summary, optionally regenerate the project brief. Combines session_end + brief regeneration in one call.
| Parameter | Type | Description |
|---|---|---|
summary * | string | Summary of what happened in this session |
refreshBrief | boolean | If true, regenerates the project brief after extracting memories and returns it as text |