
Research
/Security News
Popular npm Packages in the keyv and Cacheable Namespaces Compromised in Active Supply Chain Attack
Popular npm packages keyv and cacheable compromised.
@unclick/memory-mcp
Advanced tools
Persistent cross-session memory for AI agents. Zero-config local mode or Supabase cloud sync. 6-layer architecture, 17 MCP tools.
Persistent cross-session memory for AI agents. An MCP server that gives Claude Code, Cursor, and any MCP client a 6-layer memory architecture.
Zero-config local mode - works out of the box, no database needed. Supabase cloud mode - sync across machines with your own database.
Add to your MCP config and you're done. No accounts, no keys, no database.
Add to ~/.claude/mcp.json:
{
"mcpServers": {
"unclick-memory": {
"command": "npx",
"args": ["-y", "@unclick/memory-mcp"]
}
}
}
Add to your Claude Desktop config:
{
"mcpServers": {
"unclick-memory": {
"command": "npx",
"args": ["-y", "@unclick/memory-mcp"]
}
}
}
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"unclick-memory": {
"command": "npx",
"args": ["-y", "@unclick/memory-mcp"]
}
}
}
Restart your AI tool. Memory is now active. Data is stored locally at ~/.unclick/memory/.
npx @unclick/memory-mcp setup
Interactive setup that auto-detects your MCP clients and writes the config for you.
For cross-machine sync, team sharing, or backup, connect your own Supabase project:
schema.sql in your Supabase SQL Editor{
"mcpServers": {
"unclick-memory": {
"command": "npx",
"args": ["-y", "@unclick/memory-mcp"],
"env": {
"SUPABASE_URL": "https://your-project.supabase.co",
"SUPABASE_SERVICE_ROLE_KEY": "your-service-role-key"
}
}
}
}
Your data lives in YOUR Supabase. UnClick never sees it.
Copy CLAUDE.md to your project root or ~/.claude/CLAUDE.md. This teaches the agent to:
get_startup_context)add_fact)write_session_summary)This is what makes memory work across sessions. Without it, the agent has the tools but won't use them automatically.
| Layer | Name | Purpose | Loaded at startup? |
|---|---|---|---|
| 1 | Business Context | Standing rules, preferences, client info | Yes |
| 2 | Knowledge Library | Versioned reference docs (briefs, specs, CVs) | Index only |
| 3 | Session Summaries | One per session - decisions, open loops | Last 5 |
| 4 | Extracted Facts | Atomic searchable knowledge | Hot facts |
| 5 | Conversation Log | Full verbatim history | No - search only |
| 6 | Code Dumps | Language-tagged code blocks | No - on demand |
| Tool | Description |
|---|---|
get_startup_context | Load business context + recent sessions + hot facts |
search_memory | Full-text search across conversation logs |
search_facts | Search extracted facts |
search_library | Search knowledge library docs |
get_library_doc | Get a specific library document by slug |
list_library | List all library documents |
write_session_summary | Save end-of-session summary |
add_fact | Add an atomic fact to memory |
supersede_fact | Replace an outdated fact (never deletes) |
log_conversation | Log a message to conversation history |
store_code | Store a code block |
get_business_context | Get all business context entries |
set_business_context | Add/update a business context entry |
upsert_library_doc | Create/update a library document |
manage_decay | Run memory decay management |
get_conversation_detail | Get full conversation for a session |
memory_status | Overview of memory usage and stats |
Session Start: Agent calls get_startup_context - loads standing rules, recent session summaries, and hot facts.
During Session: Agent uses add_fact, search_memory, set_business_context etc. as needed.
Session End: Agent calls write_session_summary - next session picks up where this one left off.
| Mode | Trigger | Data location | Best for |
|---|---|---|---|
| Local | Default (no env vars) | ~/.unclick/memory/ | Solo use, getting started |
| Supabase | Set SUPABASE_URL | Your Supabase project | Teams, cross-machine sync |
Memory uses a hot/warm/cold tier system. Recent and frequently accessed items stay "hot" (loaded at startup). Older items decay to "warm" then "cold" based on access patterns. Nothing is ever deleted - cold items are still searchable, just not auto-loaded.
MIT
FAQs
Persistent cross-session memory for AI agents. Zero-config local mode or Supabase cloud sync. 6-layer architecture, 17 MCP tools.
We found that @unclick/memory-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.

Security News
/Company News
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.