MCP AutoMem MCP Server
io.github.verygoodplugins/mcp-automem
Graph-vector memory for AI assistants with persistent recall across Claude, Cursor, and other MCP platforms.
What is the MCP AutoMem MCP server?
AutoMem MCP is a Model Context Protocol server that gives AI assistants persistent, cross-session memory powered by graph-vector storage (FalkorDB + Qdrant). It enables Claude, Cursor, Claude Code, and other MCP-compatible platforms to remember decisions, patterns, and context forever with sub-second retrieval.
AutoMem MCP solves the problem of AI assistants starting every conversation from zero by connecting them to a persistent memory backend. It uses a research-validated graph-vector architecture to store and recall memories across all your AI tools and devices, supporting 11 relationship types between memories and enabling multi-hop reasoning for complex questions.
How to install MCP AutoMem
Copy-paste configuration for popular MCP clients.
AuthorizationsecretBearer token for authentication (optional if using URL-based auth with ?api_token=...)
Tools & capabilities
Tools this server exposes to the agent.
store_memory— Save memories with content, tags, importance, and metadata. Supports single mode or batch mode (≤500 items).recall_memory— Retrieve memories via ID fetch, tag enumeration, or ranked hybrid search with vector, keyword, tag, recency, and graph expansion controls.associate_memories— Create relationships between memories using 11 public authorable relationship types. Supports single-pair or batch mode (≤500 items).update_memory— Modify existing memories.delete_memory— Remove memories by ID or bulk-delete by tags.check_database_health— Monitor service health, degraded state, sync counts, vector dimensions, and enrichment diagnostics.
Use cases
- Store and recall coding style preferences, patterns, and conventions across Cursor, Claude, and other IDEs
- Remember project decisions, architecture choices, and context that persist across sessions and devices
- Build multi-hop reasoning chains (e.g., 'What is Amanda's sister's career?') by following relationship graphs
- Maintain personal preferences and instructions that Claude Desktop automatically applies to conversations
- Track habits, insights, and patterns learned from past work to improve future AI assistance
MCP AutoMem MCP server FAQ
AutoMem MCP is a Model Context Protocol server that connects AI assistants to persistent graph-vector memory. It lets Claude, Cursor, Claude Code, and other MCP clients remember decisions, patterns, and context forever across sessions and devices.
The MCP client is free and open-source. The AutoMem service backend can run locally for free (via `make dev`), or be deployed to Railway for ~$0.50-1/month after the $5 free trial.
Download the `.mcpb` file from the releases page and double-click to install. Claude will prompt for your AutoMem Endpoint (e.g., `http://127.0.0.1:8001` for local) and optional API key. Then add the Personal Preferences template from the docs.
Run `npx @verygoodplugins/mcp-automem cursor` to install the `automem.mdc` rule file, or use the one-click Cursor deeplink. The rule enables automatic memory recall at conversation start.
Yes. You must run the AutoMem backend service separately (local via `make dev` or deployed to Railway). The MCP client connects to it via HTTP. See the AutoMem service repo for deployment options.
Claude Desktop, Cursor IDE, Claude Code, GitHub Copilot, OpenAI Codex, OpenClaw, Hermes Agent, Google Antigravity, and any MCP-compatible client. Remote MCP via HTTP also supports ChatGPT, Claude Web/Mobile, and ElevenLabs.
README (reference)
Source of truth, from the repository.
AutoMem MCP: Give Your AI Perfect Memory
<p align="center"> <img src="assets/icon.svg" alt="AutoMem" width="80" height="80" /> </p> <p align="center"> <a href="https://www.npmjs.com/package/@verygoodplugins/mcp-automem"><img src="https://img.shields.io/npm/v/@verygoodplugins/mcp-automem" alt="Version" /></a> <a href="LICENSE"><img src="https://img.shields.io/npm/l/@verygoodplugins/mcp-automem" alt="License" /></a> <a href="https://automem.ai/discord"><img src="https://img.shields.io/badge/Discord-Join%20Community-5865F2?logo=discord&logoColor=white" alt="Discord" /></a> <a href="https://x.com/automem_ai"><img src="https://img.shields.io/badge/X-@automem__ai-000000?logo=x&logoColor=white" alt="X (Twitter)" /></a> </p>One command. Infinite memory. Perfect recall across all your AI tools.
npx @verygoodplugins/mcp-automem setup
Your AI assistant now remembers everything. Forever. Across every conversation.
<div align="center">https://github.com/user-attachments/assets/fd79112b-5158-4320-a054-8c18ab1ea314
</div> <p align="center"><sub><b>The guided installer</b> — <code>npx @verygoodplugins/mcp-automem install</code> walks you through local, hosted, or existing-endpoint setup.</sub></p>Works with Claude Desktop, Cursor IDE, Claude Code, GitHub Copilot (coding agent), ChatGPT, ElevenLabs, OpenAI Codex, OpenClaw, Hermes, Google Antigravity - any MCP-compatible AI platform.
The Problem We Solve
Every AI conversation starts from zero. Claude forgets your coding style. Cursor can't learn your patterns. Your assistant doesn't remember yesterday's decisions.
Until now.
AutoMem MCP connects your AI to persistent memory powered by AutoMem - a graph-vector memory service.
What You Get
🧠 Persistent Memory Across Sessions
- AI remembers decisions, patterns, and context forever
- Works across all MCP platforms - Claude Desktop, Cursor, Claude Code, OpenAI Codex, OpenClaw, Hermes, Google Antigravity
- Cross-device sync - same memory on Mac, Windows, Linux
🏆 Graph-Vector Architecture
- 11 public authorable relationship types between memories (recall results may also include read-only system/internal relations that are not valid
associate_memoriesinputs) - Research-validated approach (HippoRAG 2: 7% better associative memory)
- Sub-second retrieval even with millions of memories
🚀 Works Everywhere You Code
| Platform | Support | Setup Time |
|---|---|---|
| Claude Desktop | ✅ Full | 30 seconds |
| Cursor IDE | ✅ Full | 30 seconds |
| Claude Code | ✅ Full | 30 seconds |
| GitHub Copilot | ✅ Full | 2 minutes |
| OpenAI Codex | ✅ Full | 30 seconds |
| OpenClaw | ✅ Full | 30 seconds |
| Hermes Agent | ✅ Full | 30 seconds |
| Google Antigravity | ✅ Full | 30 seconds |
| Any MCP client | ✅ Full | 30 seconds |
See It In Action
Claude Desktop with Personal Preferences
Claude automatically recalls memories using the Personal Preferences template
Cursor IDE with Memory Rules
Cursor uses automem.mdc rule to automatically recall and store memories
Claude Code with Session Memory
Session-start recall plus LLM-judged storage: Claude decides what's durable and stores it via the memory tools
More platform walkthroughs (Codex, Hermes, Antigravity, remote MCP) live in the Installation Guide.
Quick Start
1. Set Up AutoMem Service
You need a running AutoMem service (the memory backend). Choose one:
Option A: Local Development (fastest, free)
git clone https://github.com/verygoodplugins/automem.git
cd automem
make dev
Service runs at http://localhost:8001 - perfect for single-machine use.
Option B: Railway Cloud (recommended for production)
One-click deploy with $5 free credits. Typical cost: ~$0.50-1/month after trial.
👉 AutoMem Service Installation Guide - Complete setup instructions for local, Railway, Docker, and production deployments.
2. Install MCP Client
Claude Desktop - One-Click Install
Download and double-click to install AutoMem in Claude Desktop:
⬇️ Download AutoMem for Claude Desktop (.mcpb)
After installing:
- Claude Desktop will prompt you for your AutoMem Endpoint (
http://127.0.0.1:8001for local) - Optionally enter your API Key (required for Railway, skip for local)
- Click Enable
Then add the paste-ready Personal Preferences starter from templates/CLAUDE_DESKTOP_INSTRUCTIONS.md. That's it: Claude now has persistent memory and knows when to use it.
Other Platforms
Connect your AI tools to the AutoMem service you just started.
# Guided install - pick where AutoMem runs, verify it, write .env, and
# configure your agents (Codex, Claude Code, Cursor, OpenClaw, Hermes)
npx @verygoodplugins/mcp-automem install
Every change is shown in a review plan before anything is written, and each
modified file keeps a .bak backup. Add --dry-run to preview, --yes to
apply non-interactively. See the Installation Guide
for all flags.
Just need the .env + config snippets without the agent setup? Use the lighter wizard:
# Creates .env and prints config for your AI platform
npx @verygoodplugins/mcp-automem setup
When prompted:
- AutoMem Endpoint:
http://localhost:8001(or your Railway URL if deployed) - API Key: Leave blank for local development (or paste your token for Railway)
The wizard will:
- ✅ Save your endpoint and API key to
.env - ✅ Generate config snippets for Claude Desktop/Cursor/Code
- ✅ Validate connection to your AutoMem service
3. Platform-Specific Setup
For Claude Code (plugin — recommended):
# In Claude Code:
/plugin marketplace add verygoodplugins/mcp-automem
/plugin install automem@verygoodplugins-mcp-automem
Claude Code prompts for your AutoMem URL and API key at enable time, bundles the MCP server and silent recall/store-tracking hooks, and auto-updates. Prefer hooks and permissions written directly into ~/.claude/ instead? Run npx @verygoodplugins/mcp-automem claude-code.
On Windows, the hook payload assumes a POSIX shell environment such as Git Bash, MSYS2, or WSL — only bash is required (the hooks are pure bash+sed).
For Cursor IDE:
# Or use CLI to install automem.mdc rule file
npx @verygoodplugins/mcp-automem cursor
Other platforms — Claude Desktop (one-click .mcpb above, plus the Personal Preferences template), OpenAI Codex, Hermes Agent, OpenClaw, Google Antigravity, and GitHub Copilot:
👉 Full Installation Guide for every platform's setup and verification steps
Remote MCP via HTTP
An optional sidecar service (deployable to Railway or any Docker host) connects AutoMem to platforms that support remote MCP over Streamable HTTP or SSE — ChatGPT (Developer Mode connectors), Claude.ai web and Claude Mobile, and ElevenLabs Agents.
👉 Remote MCP setup for deployment, connect URLs, and per-platform screenshots.
Architecture
┌─────────────────────────────────────────────┐
│ Your AI Platforms │
│ Claude Desktop │ Cursor │ Claude Code │
└──────────────┬──────────────────────────────┘
│ MCP Protocol
▼
┌──────────────────────────────────────────────┐
│ @verygoodplugins/mcp-automem (this repo) │
│ • Translates MCP calls → AutoMem API │
│ • Platform integrations & rules │
│ • Handles authentication │
└──────────────┬───────────────────────────────┘
│ HTTP API
▼
┌──────────────────────────────────────────────┐
│ AutoMem Service (separate repo) │
│ github.com/verygoodplugins/automem │
│ ┌────────────┐ ┌────────────┐ │
│ │ FalkorDB │ │ Qdrant │ │
│ │ (Graph) │ │ (Vectors) │ │
│ └────────────┘ └────────────┘ │
└──────────────────────────────────────────────┘
This repo (mcp-automem):
- MCP client that connects AI platforms to AutoMem
- Platform-specific integrations (Cursor rules, Claude Code hooks, etc.)
- Setup wizards and configuration tools
- Backend memory service with graph + vector storage
- Deployment guides (local, Railway, Docker, production)
- API server with FalkorDB + Qdrant
Features
Core Memory Operations
store_memory— Save memories with content, tags, importance, metadata. Two modes:- Single (default): top-level
contentplus optional fields, includingembedding,t_valid,t_invalid, customid. - Batch:
memories: [...](≤500 items) for bulk ingestion. Per-itemid/embedding/t_valid/t_invalidare not supported in batch mode.
- Single (default): top-level
recall_memory— Three modes selected by which params you pass:- ID fetch:
memory_id→ fetches one memory by ID; updateslast_accessed. - Tag enumeration:
tags+exhaustive: true→ paginated exact-match listing for cleanup/audit workflows where ranked recall undercounts. Pair withlimit(≤200) andoffset; returnshas_more. - Ranked retrieval (default): hybrid search across vector, keyword, tags, recency/state controls, score filters, and graph expansion. Supports
state_mode,recency_bias,scope_fallback,expand_respect_tags,min_score,adaptive_floor, and diagnostics such astag_scope,score_filter,query_time_ms,vector_search, and per-resultoutside_tag_scope/state_replaces.
- ID fetch:
associate_memories— Create relationships (11 public authorable types; recall results may also include read-only system relations). Supports single-pair mode and batch mode viaassociations: [...](≤500) with relation-specific props likereason,context,resolution,observations,transformation, androle.update_memory— Modify existing memoriesdelete_memory— Two modes:- Single (default):
memory_id→ removes one memory and its embedding. - Bulk-by-tag:
tags: [...]→ bulk-delete all memories matching ANY tag (exact, case-insensitive). No dry-run; verify withrecall_memory({ tags, exhaustive: true })first.
- Single (default):
check_database_health— Monitor service health, degraded state, sync counts, vector dimensions, and enrichment diagnostics when the service provides them
Advanced Recall (v0.8.0+)
Multi-hop Reasoning - Answer complex questions like "What is Amanda's sister's career?"
mcp__memory__recall_memory({
query: "What is Amanda's sister's career?",
expand_entities: true, // Finds "Amanda's sister is Rachel" → memories about Rachel
});
Context-Aware Coding - Recall prioritizes language and style preferences
mcp__memory__recall_memory({
query: "error handling patterns",
language: "typescript",
context_types: ["Style", "Pattern"],
});
Platform Integrations
Cursor IDE
- ✅ Memory-first rule file (
automem.mdcin.cursor/rules/) - ✅ Automatic memory recall at conversation start
- ✅ Auto-detects project context (package.json, git remote)
- ✅ Global user rules option for all projects
- ✅ Simple setup via CLI or one-click install
Claude Code
- ✅ Native plugin - MCP server, silent hooks, and skill in one
/plugin install, with enable-time config prompts and auto-updates - ✅ LLM-judged storage - session-start guidance nudges Claude to store, verify, and associate durable memories during normal work
- ✅ Memory rules in CLAUDE.md guide Claude's memory usage
GitHub Copilot
- ✅ Standalone hook JSON files installed into
$COPILOT_HOME/hooks/or~/.copilot/hooks/ - ✅ Memory rules template for
copilot-instructions.md - ✅ Format flag -
--format cli(camelCase) or--format vscode(PascalCase) - ✅ Setup:
npx @verygoodplugins/mcp-automem copilot --yes
Claude Desktop
- ✅ Direct MCP integration
- ✅ Paste-ready Personal Preferences starter template
- ✅ Full memory API access
Why AutoMem MCP?
vs. Building Your Own
- ✅ 2 years of R&D already done
- ✅ Research-validated architecture (HippoRAG 2, MELODI, A-MEM)
- ✅ Working integrations across all MCP platforms
- ✅ Active development and community
vs. Other Memory Solutions
- ✅ True graph relationships (not just vector similarity)
- ✅ Universal MCP compatibility (works with any MCP client)
- ✅ 7 memory types (Decision/Pattern/Preference/Style/Habit/Insight/Context)
- ✅ Self-hostable ($5/month vs $150+ for alternatives)
vs. Native AI Memory
- ✅ Persistent across sessions (not just context window)
- ✅ Cross-platform (same memory in Claude, Cursor, Code)
- ✅ Structured relationships (not just RAG)
- ✅ Infinite scale (no context window limits)
Documentation
MCP Client & Integrations (this repo)
- 📦 Installation Guide - MCP client setup for all platforms
- 🌐 Remote MCP via HTTP - Connect ChatGPT, Claude Web/Mobile, ElevenLabs
- 🎯 Cursor Setup - IDE integration with rules
- 🤖 Claude Code Setup - Plugin install, hooks, and memory rules
- ⚠️ Deprecations - History of the plugin deprecation and its reversal
- 🚀 OpenAI Codex Setup - Codex CLI/IDE/Cloud integration
- 🪐 Google Antigravity Setup - Raw MCP config via Antigravity's MCP Store
- 📖 MCP Tools Reference - All memory operations
- 📝 Changelog - Release history
AutoMem Service (separate repo)
- 🏗️ AutoMem Service - Backend repository
- 🚀 Service Installation - Local, Railway, Docker deployment
- ⚙️ API Documentation - REST API reference
- 🧪 Evaluation Lab - Exploratory recall-quality benchmarks and ruleset A/B testing
The Science Behind AutoMem
The AutoMem service implements cutting-edge 2025 research:
- HippoRAG 2 (OSU, June 2025): Graph-vector approach achieves 7% better associative memory
- A-MEM (July 2025): Dynamic memory organization with Zettelkasten principles
- MELODI (DeepMind, 2025): 8x memory compression without quality loss
- ReadAgent (DeepMind, 2024): 20x context extension through gist memories
This MCP package provides the bridge between your AI and that research-validated memory system. The backend has also been benchmarked on the neutral Agent Memory Benchmark, including BEAM large-context scaling tiers — reproducible end to end, so you can run it yourself.
Community & Support
- 💬 Discord - Join the community, get help, share feedback
- 🐦 X Community - Discussion and updates
- 📣 @automem_ai - Official announcements
- 📦 NPM Package - This MCP client
- 🔬 AutoMem Service - Backend repo with deployment guides
- 🐛 GitHub Issues - Bug reports and feature requests
Contributing
We welcome contributions! Please:
- Fork the repository
- Create a feature branch
- Make your changes with tests
- Submit a pull request with a Conventional Commit title such as
fix:,feat:,docs:, orchore: - Do not prefix the PR title with labels like
[codex]or[wip]because the squash-merge commit is taken from the PR title
License
MIT - Because great memory should be free.
Ready to give your AI perfect memory?
npx @verygoodplugins/mcp-automem setup
Built with obsession. Validated by neuroscience. Powered by graph theory. Works with every MCP-enabled AI.
Designed by Jack Arturo at Very Good Plugins 🧡
Transform your AI from a tool into a teammate. Start now.
Related MCP servers

Easy Digital Downloads
MCP server for Easy Digital Downloads REST API - sales, customers, products, analytics

MCP Evernote
Seamless Evernote integration for Claude with OAuth, markdown support, and note management.

MCP FreeScout
AI-powered FreeScout helpdesk ticket management with intelligent analysis, search, and draft responses.

MCP Local WP
WordPress database access via Local by Flywheel with automatic MySQL detection for AI assistants.

MCP Pirsch
Pirsch Analytics with natural language queries and trend analysis

Read-only MCP server for analyzing your Robinhood portfolio with AI assistance.