Longterm Memory MCP server
A fully local MCP server for long-term memory with semantic search
not scanned yet
1 stars216 downloads/wk
Reviews
Write oneNobody has reviewed Longterm Memory yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Longterm Memory tools
No tool declarations could be read from the package source. They show once the server is installed.
How Longterm Memory compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 90% of 3,470 Web search servers
- GitHub stars
- 1
- more than 55% of 1,786 Web search servers
- Downloads a week
- 216
- more than 71% of 827 Web search servers with a package
Release history: 2 versions in the registry since 2026-10-22, latest 2026-10-31, typically one every 9 days.
Install Longterm Memory in Claude Code, Cursor or VS Code
Runs npx -y longterm-memory-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add longterm-memory -- npx -y longterm-memory-mcp
What the publisher says
From the Longterm Memory repository's README, as published. We do not edit it. Read it on GitHub
LongtermMemory-MCP
A fully local MCP server that gives AI agents persistent, semantic long-term memory — without any cloud dependencies.
Inspired by mcp-mem0, but runs 100% on your machine:
Tools
Core
Search
Maintenance
Quick Start
Claude Code Plugin (recommended)
Install via the Claude Code marketplace — this sets up both the MCP server and a companion skill that teaches Claude how to use memory effectively:
/plugin marketplace add MarcelRoozekrans/LongtermMemory-MCP
/plugin install longterm-memory@longterm-memory-marketplaceThis automatically:
- Configures the MCP server (no manual JSON editing)
- Installs the long-term-memory skill (Claude learns to recall context at session start, save insights after tasks, and deduplicate memories)
Use with npx (no install needed)
npx longterm-memory-mcpOr install globally
npm install -g longterm-memory-mcp
longterm-memory-mcpOr from source
git clone https://github.com/MarcelRoozekrans/LongtermMemory-MCP.git
cd LongtermMemory-MCP
npm install && npm run build
npm startConfiguration
Claude Code
If you installed via the plugin marketplace, the MCP server is already configured. For manual setup, add to your MCP settings (~/.claude/settings.json or project .claude/settings.json):
{
"mcpServers": {
"longterm-memory": {
"command": "npx",
"args": ["-y", "longterm-memory-mcp"]
}
}
}Claude Desktop
Add to claudedesktopconfig.json:
{
"mcpServers": {
"longterm-memory": {
"command": "npx",
"args": ["-y", "longterm-memory-mcp"]
}
}
}Agent Instructions
The repo includes agent instructions that teach AI agents how to use memory effectively (automatic recall, save patterns, deduplication):
Database Location
By default, memories are stored in a shared, user-scoped location:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Longterm Memory: common questions
- Is Longterm Memory MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Longterm Memory safety report
- How do I install Longterm Memory?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Longterm Memory need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Longterm Memory maintained?
- The last commit was 12 days ago (2026-10-23). The latest release is v1.6.1.
- What can I use instead of Longterm Memory?
- Servers from other publishers that do the same job: Marm MCP server, Shodh Memory MCP server and Octobrain MCP server. Compare all Longterm Memory alternatives.
- How does Longterm Memory compare with other Web search MCP servers?
- safety score 92/100 (higher than 90% of 3,470 Web search servers); github stars 1 (more than 55% of 1,786 Web search servers); downloads a week 216 (more than 71% of 827 Web search servers with a package). Full comparison.
Alternatives to Longterm Memory
Same job from other publishers: the closest match first, then the best rated.
- MarmUniversal MCP Server with advanced AI memory capabilities and semantic search.not reviewedEstablishedA
Shodh MemoryCognitive memory for AI agents — semantic search, Hebbian learning, knowledge graphs.not reviewedEstablishedC- OctobrainPersistent memory for AI assistants with semantic search and knowledge graph relationships.not reviewedGrowingA
- ArxivSearch arXiv papers, download full text, semantic search, citation graphs, and alerts via MCP.not reviewedWidely usedA
- SocraticodeMCP server for enterprise local codebase indexing, semantic search, and code dependency graphs.not reviewedEstablishedB