A lightweight, local-first persistent memory server for AI tools. Stores structured memory entries in SQLite and exposes them over both the Model Context Protocol (MCP) and a plain REST HTTP API. Comes with a React UI for browsing and managing memories in the browser.
What it does
A lightweight, local-first persistent memory server for AI tools. Stores structured memory entries in SQLite and exposes them over both the Model Context Protocol (MCP) and a plain REST HTTP API
Persists named memory entries (title + content + tags) in a local SQLite database
First start the server in HTTP mode (npm start), then point your MCP client at:
http://localhost:5172/mcp
The server follows the MCP Streamable HTTP spec: send a POST with no mcp-session-id header to initialize a session, then include the returned session ID in all subsequent POST/GET/DELETE requests.
Available MCP tools
Tool
Description
memory_list
List all memories, newest first. Filter by tags. Call at session start.
memory_create
Create a new memory (title, content, optional tags)
memory_read
Read full content of a single memory by ID
memory_update
Partially update a memory — only changed fields needed
memory_delete
Permanently delete a memory by ID
memory_search
Full-text search across titles and content
Memory content is stored in compressed shorthand (≤100 words). The tools guide the AI to drop filler words and use symbols/abbreviations so more context fits in less space.
REST API
Base path: http://localhost:5172/api/memories
Method
Path
Description
GET
/api/memories
List all memories. Query params: search=<text>, tags=<tag1,tag2>
GET
/api/memories/:id
Get a single memory by UUID
POST
/api/memories
Create a memory. Body: { title, content, tags? }
PUT
/api/memories/:id
Update a memory. Body: { title?, content?, tags? }
DELETE
/api/memories/:id
Delete a memory
Example: create a memory
curl -X POST http://localhost:5172/api/memories \
-H "Content-Type: application/json" \
-d '{"title": "My note", "content": "important context here", "tags": ["project:myapp"]}'
Tags follow a namespace:value convention to make filtering meaningful, e.g. project:myapp, lang:typescript, pref:style.
M
Mini Memory
utk09-NCL·14 顆星·
A lightweight, local-first persistent memory server for AI tools. Stores structured memory entries in SQLite and exposes them over both the Model Context Protocol (MCP) and a plain REST HTTP API
上次檢查時間:2026-10-28。 A lightweight, local-first persistent memory server for AI tools. Stores structured memory entries in SQLite and exposes them over both the Model Context Protocol (MCP) and a plain REST HTTP API