MCP.Market

Longterm Memory MCP server

by MarcelRoozekrans·io.github.MarcelRoozekrans/longterm-memory·v1.6.1·1 stars

A fully local MCP server for long-term memory with semantic search

A92/100grade A
What users say
No reviews yet
Be the first
Safety scan
A92/100

not scanned yet

Adoption
Growing

1 stars216 downloads/wk

Reviews

Write one

Nobody 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.

Not scanned yet. New listings are scanned within a day or two of arriving.

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
Add to Cursor

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-marketplace

This 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-mcp

Or install globally

npm install -g longterm-memory-mcp
longterm-memory-mcp

Or from source

git clone https://github.com/MarcelRoozekrans/LongtermMemory-MCP.git
cd LongtermMemory-MCP
npm install && npm run build
npm start

Configuration

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.

All Longterm Memory alternatives →
  • Marm
    Universal MCP Server with advanced AI memory capabilities and semantic search.
    A
  • Shodh Memory
    Cognitive memory for AI agents — semantic search, Hebbian learning, knowledge graphs.
    C
  • Octobrain
    Persistent memory for AI assistants with semantic search and knowledge graph relationships.
    A
  • Arxiv
    Search arXiv papers, download full text, semantic search, citation graphs, and alerts via MCP.
    A
  • Socraticode
    MCP server for enterprise local codebase indexing, semantic search, and code dependency graphs.
    B

More from MarcelRoozekrans →