ai-memory — Persistent Memory for Any AI
@alphaonedev
About ai-memory — Persistent Memory for Any AI
Persistent memory for any AI assistant. Zero token cost until recall. Stores memories locally in SQLite, ranks by 6-factor scoring, returns results in TOON compact format (79% smaller than JSON). 17 MCP tools, 20 HTTP endpoints, 25 CLI commands. 4 tiers from keyword to autonomous
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"memory": {
"command": "ai-memory",
"args": [
"--db",
"~/.claude/ai-memory.db",
"mcp",
"--tier",
"semantic"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is ai-memory?
ai-memory is a persistent memory system for AI assistants that uses zero context tokens until recall. It returns only relevant memories using six-factor scoring and TOON format, reducing response size by 79% compared to JSON. It is designed for use with multiple AI platforms including Claude, Codex, Gemini, and others.
How to use ai-memory?
Install ai-memory via cargo install ai-memory. Then use its 17 MCP tools such as memory_store, memory_recall, memory_search, and memory_list. The default tier is semantic; you can switch to keyword, smart (with Ollama), or autonomous (with Ollama) as needed.
Key features of ai-memory
- Zero token cost until memory_recall is called
- TOON format responses are 79% smaller than JSON
- Six
Basic information
More Memory & Knowledge MCP servers

ctxfile
ctxfileLocal-first MCP server that snapshots your project's working state into one context object. Open-core, privacy-first.
Ultimate Google Docs & Drive MCP Server
a-bonusThe Ultimate Google Docs, Sheets, Drive, Gmail, & Google Calendar MCP Server. This MCP (primarily for use in Claude Desktop) gains full access to your google suite and lets claude do its thing.
Notion MCP Server
suekouA Model Context Protocol server for connecting Notion to MCP-compatible clients
RAG Documentation MCP Server
hannesrudolphAn MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context.
Notion MCP Server
awkoyNotion MCP server for Claude, Cursor, ChatGPT & Claude Desktop. Connect AI agents to Notion via Model Context Protocol — pages, databases, blocks, comments, files.
Comments