External Memory
FreeNot checkedPersistent, searchable semantic memory for LLMs with namespace and tag support.
About
Persistent, searchable semantic memory for LLMs with namespace and tag support.
README
An MCP server that gives LLMs persistent, searchable semantic memory.
Install
pip install mcp-external-memory
Usage
from mcp_external_memory import memory_store, memory_search
# Store a memory
result = memory_store(content="Alice prefers dark mode", namespace="users", tags=["alice", "ui"])
# Search memories
results = memory_search(query="what does Alice prefer?", namespace="users")
CLI
mcp-external-memory --help
API
Tools
| Tool | Description |
|---|---|
memory_store |
Persist text + optional namespace/tags/metadata |
memory_search |
Semantic search (cosine similarity) over all memories |
memory_get |
Retrieve a single memory by ID |
memory_delete |
Delete a memory by ID |
memory_list |
List memories with optional namespace/tag filter + pagination |
memory_stats |
Count of memories, namespaces, DB path |
memory_update |
Update an existing memory |
Embedding Backends
The server supports multiple embedding backends:
- TF-IDF (default): Pure Python, no external dependencies
- OpenAI: Uses
text-embedding-3-smallmodel - Ollama: Local embeddings with Ollama
Set via MEMORY_EMBED_BACKEND environment variable.
Development
git clone https://github.com/daedalus/mcp-external-memory.git
cd mcp-external-memory
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/
MCP Registry
mcp-name: io.github.daedalus/mcp-external-memory
Installing External Memory
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/daedalus/mcp-external-memoryFAQ
Is External Memory MCP free?
Yes, External Memory MCP is free — one-click install via Unyly at no cost.
Does External Memory need an API key?
No, External Memory runs without API keys or environment variables.
Is External Memory hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install External Memory in Claude Desktop, Claude Code or Cursor?
Open External Memory on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare External Memory with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
