
Memory
io.github.shackleaiPublished by GitHub account shackleaiv0.5.2Updated Oct 24, 2026
Persistent memory for AI coding tools. 11 tools for any MCP-compatible AI tool.
The publisher's own server: Memory.fit
Overview
Gives AI coding tools persistent, searchable project memory stored locally as Markdown and SQLite.
- What you can do
- Provides 11 MCP tools for storing, searching, updating, deleting, exporting and importing memories, listing projects, and saving session summaries. Memories are categorized (decisions, conventions, bugs, architecture, preferences, TODOs, context) and retrieved by semantic vector search, with automatic deduplication and archiving. It also exposes project context as an MCP resource and auto-detects the project and tech stack on startup.
- When to use it
- Useful when you want an AI coding assistant to remember decisions, conventions and open items across sessions and across different AI tools, without a cloud account. Best for developers working on one or more local projects who want memory to persist and be version-controlled with git.
- Requirements
- Local process via npm package @shackleai/memory-mcp; Node.js 20 or later and npm 7 or later. An MCP-compatible client. First run downloads an ~80MB embedding model; afterwards it works offline. No API keys or accounts for local mode. Optional cloud mode requires a ShackleAI account and an API key sent as an Authorization Bearer header.
Installation
In SourceWeft
- Open Memory in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
ShackleAI Memory
Persistent memory for AI coding tools. The first MCP-native memory server.
[npm version] [npm downloads] [MIT License]
Give Claude Code, Cursor, Windsurf, VS Code Copilot, OpenAI Codex, or any MCP-compatible AI tool persistent memory across sessions. Your AI remembers decisions, conventions, bugs, and context — picks up exactly where you left off.
Install — One Command
Run this in your project directory:
This creates two files in your project:
.mcp.json— registers the memory server so your AI tool auto-starts itCLAUDE.md— tells the AI to actively use memory every session
Commit both to git so your whole team gets memory. That's it — no config, no API keys, no accounts.
npm/npx version too old? If the command fails, see Troubleshooting.
How It Works
You don't need to do anything after setup. The AI sees the memory tools and uses them proactively — storing important decisions, searching for past context, and saving session summaries.
Verify It Works
After setup, start a session and give your AI a task. Then ask:
"What have you stored in memory so far?"
If it calls memory_search and shows stored entries, it's working. In your next session, ask:
"What do you remember about this project?"
It should recall context from the previous session without reading any files.
Alternative Setup Methods
The npx setup command works for all MCP clients. If you prefer client-specific configuration:
Claude Code (global config)
This adds memory to your global Claude Code config. It works across all projects, but won't be shared with your team via git.
Cursor
Add to ~/.cursor/mcp.json:
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
VS Code Copilot
Add to .vscode/mcp.json in your project:
Claude Desktop
Add to your Claude Desktop config:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Install globally (if npx doesn't work)
Or use the global binary directly in your MCP config:
Run from source (for contributors)
First Run
The first run downloads the embedding model (~80MB, one-time). After that, everything works offline.
Features
- One-command setup —
npx -y @shackleai/memory-mcp@latest setupand you're done - Fully automatic — auto-detects project on startup, no manual init needed
- 11 MCP tools — init, store, search, update, delete, list projects, session end, TODO status, export, import, cleanup
- MCP resources — project context available as a readable resource
- Local-first — everything stored on your machine at
~/.shackleai/ - Zero config — no API keys, no cloud account, no setup beyond the install command
- Offline — local embeddings via MiniLM-L6-v2 (free, runs on CPU)
- Human-readable — memories stored as Markdown files you can read and edit
- Git-friendly — version control your AI's memory with standard git
- Semantic search — find relevant memories by meaning, not just keywords
- Deduplication — automatically detects and merges duplicate memories
- Auto-archive — old session files cleaned up based on retention period
- Multi-project — separate memory spaces per project, auto-detected
- LLM-portable — switch AI tools anytime, your memory stays
MCP Tools Reference
memory_init
Initialize or switch project context. Auto-called on server startup — only call manually if switching projects mid-session.
Auto-detects project name from package.json, pyproject.toml, or directory name. Detects tech stack (Node.js, Python, Rust, Go, Java, Ruby, PHP, .NET, Docker, etc.).
memory_store
Save important information to persistent memory. Use for decisions, conventions, bugs, architecture, preferences, TODOs, and context.
Automatically checks for duplicates. If similar content exists (cosine similarity > 0.9), updates the existing memory instead of creating a new one.
memory_search
Search past memories by semantic meaning.
Uses vector similarity search — finds relevant memories even when wording differs.
memory_update
Update an existing memory when information changes.
memory_delete
Remove a memory that is no longer relevant (soft delete).
memory_list_projects
List all projects with stored memories.
memory_session_end
Save a session summary and open items. Creates continuity between sessions.
MCP Resources
The server exposes project context as an MCP resource:
memory://project/context— Current project's conventions, decisions, architecture, bugs, and TODOs. MCP clients that support resources can auto-load this at session start.
Storage
All data lives locally on your machine:
Markdown is the source of truth. You can read, edit, or delete any memory file with a text editor. The SQLite database is the search index.
Configuration
Create ~/.shackleai/config.yaml (optional — sensible defaults work out of the box):
Cloud Mode
By default, ShackleAI Memory runs locally with SQLite — no account needed. Cloud mode syncs your memories to ShackleAI's managed infrastructure via the Gateway, giving you server-side persistence, cross-device access, and PostgreSQL + pgvector-powered semantic search.
Local vs Cloud
Get an API Key
- Go to shackleai.com and sign in (or create an account)
- Navigate to Settings > API Keys
- Click Create Key — you'll get a unified account key in the format
sk_shackle_* - Copy the key. It won't be shown again.
Configure Cloud Mode
Cloud mode connects to the ShackleAI Gateway MCP endpoint with Bearer authentication. Configure your MCP client to point at the Gateway instead of running the local server.
Claude Code
Or add to .mcp.json in your project:
Cursor / Windsurf / VS Code Copilot
Add to your client's MCP config file:
All 11 memory tools (memory_init, memory_store, memory_search, memory_update, memory_delete, memory_list_projects, memory_session_end, memory_status, memory_export, memory_import, memory_cleanup) work identically in cloud mode — no code changes needed.
Advanced: Auto-Init Options
The server auto-detects your project in this order:
- CLI argument:
--project-path /path/to/project - Environment variable:
SHACKLEAI_PROJECT_PATH=/path/to/project - Working directory: Uses
process.cwd()(this is what most MCP clients pass)
For explicit control, set the project path in your MCP config:
Or via environment variable:
Troubleshooting
npx setup fails or "command not found: setup"
Your npm/npx is too old. This happens when npm is v6.x (ships with older Node installers). Check with:
If it shows 6.x, fix it:
"Cannot connect to MCP server" / Server fails to start
Make sure Node.js 20+ is installed. Then verify the server runs:
If using a global install, verify the binary is in your PATH:
Claude Code: "memory" not showing in claude mcp list
If you used npx setup, Claude Code reads .mcp.json from your project directory automatically — you don't need claude mcp list to show it. Just start claude in the project directory.
If you used claude mcp add instead, verify with:
AI not storing memories during sessions
The setup command creates a CLAUDE.md file with instructions that tell the AI to use memory proactively. If you already had a CLAUDE.md, the setup appends memory instructions to it. Check that your CLAUDE.md contains the "ShackleAI Memory" section.
If the AI still isn't storing, you can ask it directly:
"Store what you just did in memory"
This confirms the tools work, and the AI will be more proactive about storing in subsequent interactions.
First tool call is slow
The embedding model (~80MB) downloads on first use. This is a one-time download. Subsequent runs use the cached model and are fast.
Memory not persisting between sessions
Check that ~/.shackleai/ directory exists and has write permissions. The server creates it automatically on first run.
Wrong project detected
Use --project-path to explicitly set the project, or call memory_init with the correct path.
Why ShackleAI?
Every AI coding tool today has amnesia. Close the session, context is gone. Switch tools, everything lost.
ShackleAI fixes this by providing a universal memory layer that works across every MCP-compatible AI tool:
- Works with every AI tool — Claude Code, Cursor, Windsurf, VS Code Copilot, OpenAI Codex, Claude Desktop
- Works with every LLM — Claude, GPT, Gemini, Llama, Mistral — any LLM behind any MCP client
- Your memory is YOUR asset — switch tools anytime, your knowledge stays
- No vendor lock-in — open source, local storage, standard protocol
Requirements
- Node.js 20 or later
- npm 7 or later (for
npx setup— or install globally with any npm version) - Any MCP-compatible AI client
Contributing
Issues and PRs welcome at github.com/shackleai/memory-mcp.
License
MIT — free and open source forever.
The shackle that keeps your AI anchored. Built by ShackleAI.
Source: README.md at commit 4c5fa7e
Tools
0Version history
1- v0.5.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Memory integrations

Memory.fit
fit.memoryOfficial publisher
Hosted Memory.fit server that lets an AI read your training, sleep, recovery and nutrition data and write back weekly plans, targets and meal plans.
pg.ddx.io: the PostgreSQL community's memory
io.ddx.pgOfficial publisher
pg.ddx.io: the PostgreSQL community's memory's hosted MCP server, published by pg.ddx.io; no sign-in required; Streamable HTTP; 29 tools.
var.gg Naming Memory
gg.varOfficial publisher
Remote MCP server that suggests and searches code identifier names from domain concepts in Korean, Japanese, Chinese, Vietnamese and English, and exposes ERD…

Counterparts
ai.counterparts
Local-first long-term memory for Claude Code and Claude Desktop: the assistant writes notes about you and your projects and recalls them in later sessions.

LAHZE - Persian AI Memory Platform
Published by GitHub account pedramgholizadeh
LAHZE - Persian AI Memory Platform's hosted MCP server; no sign-in required; Streamable HTTP; 13 tools.