About MemCell
MemCell is a persistent memory MCP server for AI agents, combining adaptive recall, workspace continuity, graph traversal, and document retrieval. Its tools record memories and outcomes so agents can use relevant context and calibrate confidence over time.
Key features
- 01Recall relevant memories before acting
- 02Store durable facts and instructions
- 03Report outcomes to calibrate confidence
- 04Ingest and search workspace documents
- 05Traverse one-hop knowledge graph relations
- 06View workspace and calibration metrics
Use cases
- 01Carry decisions and preferences across sessions
- 02Retrieve instructions before an agent task
- 03Search indexed workspace documents
- 04Review memory reliability and governance metrics
MCP support
MemCell exposes seven workspace tools over MCP for memory recall, storage, outcome feedback, document ingestion and search, and workspace insights. It can run locally over stdio, connect to a hosted or self-hosted Streamable HTTP endpoint, or use a local PGlite server.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://memcell.ai/mcpclaude mcp add --transport http ai-memcell-memcell https://memcell.ai/mcp{"mcpServers":{"ai-memcell-memcell":{"type":"http","url":"https://memcell.ai/mcp"}}}Open in Cursor{"servers":{"ai-memcell-memcell":{"type":"http","url":"https://memcell.ai/mcp"}}}Open in VS Code{"mcpServers":{"ai-memcell-memcell":{"type":"http","url":"https://memcell.ai/mcp"}}}{"mcpServers":{"ai-memcell-memcell":{"serverUrl":"https://memcell.ai/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://memcell.ai/mcpAuth requiredTools
Details
From the project README
MemCell MCP Server
The official Model Context Protocol (MCP) server & registry manifest for MemCell.
Living, persistent memory for AI agents: recall before acting, report outcomes so confidence is earned.
MemCell provides persistent, adaptive memory, working thread continuity, knowledge graph traversal, and grounded document RAG for AI agents across any client harness. This repository contains the official MCP registry manifest, Smithery configuration, and connection guides.
Quickstart
Option A: Local stdio (Recommended)
Run via npx (requires memcell CLI installed or accessible via npm):
npx -y memcell mcp
Option B: Remote Streamable HTTP
Connect directly to the hosted or self-hosted MemCell streamable HTTP endpoint:
- Endpoint:
https://memcell.ai/mcp - Header:
Authorization: Bearer <agent-key>
Option C: Local Standalone Server (PGlite)
Run MemCell on your local machine with embedded PGlite vector storage (once cached or pointed at MEMCELL_SERVER_PATH, memcell start runs completely offline without network access):
# 1. Start local server in background
memcell start --daemon
# 2. Wire local MCP tools
memcell connect --url http://localhost:3000
Client Configurations
1. Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"memcell": {
"command": "npx",
"args": ["-y", "memcell", "mcp"]
}
}
}
2. Claude Code
Run:
claude mcp add memcell -- npx -y memcell mcp
3. Cursor
Add to .cursor/mcp.json (or ~/.cursor/mcp.json):
{
"mcpServers": {
"memcell": {
"command": "npx",
"args": ["-y", "memcell", "mcp"]
}
}
}
4. Antigravity
Add to ~/.gemini/antigravity/mcp_config.json:
{
"mcpServers": {
"memcell": {
"command": "npx",
"args": ["-y", "memcell", "mcp"]
}
}
}
5. Windsurf / Cline / OpenCode / Goose
Configure the MCP server command as:
- Command:
npx - Args:
["-y", "memcell", "mcp"]
How It Works
MemCell exposes seven workspace tools over MCP:
recall: Pre-flight memory retrieval before taking action. Fetches relevant instructions, decisions, facts, preferences, active or resumed session threads, 1-hop knowledge graph relations, and grounded workspace document chunks.remember: Durable memory storage. Files atomic instructions, decisions, facts, and preferences—including detailed operational specifications (content), affected resources (resources), and enforcement moments (appliesAt)—directly into the active workspace or user profile.report: Outcome feedback calibration. Reports whether recalled memory worked, failed, or was avoided, calibrating confidence dynamically over time.feedback: Direct evaluation of a specific memory ID (workedorfailed) with supporting outcome notes.ingest_document: Multi-format document ingestion. Indexes PDF, DOCX, CSV, TSV, HTML, JSON, and Markdown documents into grounded workspace chunks and optionally distills atomic memories.search_documents: Hybrid semantic and full-text retrieval across grounded workspace document chunks.get_insights: Live workspace telemetry, empirical Confidence Calibration Curve (ECE, Brier score, and bucketed observed success rates), and Governance Shield metrics (enforced guards, quarantined user-scope memories, and demoted items).
Custom Agent SDK Integrations
Building custom agents in TypeScript or Python? Official drop-in adapters ship inside @memcell/sdk (@memcell/sdk/vercel, @memcell/sdk/openai, @memcell/sdk/langgraph) and Python memcell.integrations (OpenAI Agents, LangGraph, PydanticAI, CrewAI) alongside MCP.
Ecosystem
- DevKit: TypeScript SDK, Python SDK, and CLI in memcell-ai/devkit
- Engine: Core memory service backend in memcell-ai/memcell
- Documentation: memcell.ai/docs
License
Apache-2.0
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.