🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

mcp-external-memory

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcp-external-memory

An MCP server that gives LLMs persistent, searchable semantic memory

pipPyPI
Version
0.1.2
Weekly downloads
53
Maintainers
1

mcp-external-memory

An MCP server that gives LLMs persistent, searchable semantic memory.

PyPI Python Coverage Ruff

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

ToolDescription
memory_storePersist text + optional namespace/tags/metadata
memory_searchSemantic search (cosine similarity) over all memories
memory_getRetrieve a single memory by ID
memory_deleteDelete a memory by ID
memory_listList memories with optional namespace/tag filter + pagination
memory_statsCount of memories, namespaces, DB path
memory_updateUpdate an existing memory

Embedding Backends

The server supports multiple embedding backends:

  • TF-IDF (default): Pure Python, no external dependencies
  • OpenAI: Uses text-embedding-3-small model
  • 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

FAQs

Did you know?

Socket

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.

Install

Related posts