mcp-long-term-memory

mcp-long-term-memory

6

The Memory MCP Server is a long-term memory storage solution for LLMs utilizing the Model Context Protocol. It supports semantic search and various memory types to maintain project context across sessions.

Memory MCP Server

A long-term memory storage system for LLMs using the Model Context Protocol standard. It organizes project memory and enables semantic search using embeddings to provide context from past interactions and development decisions.

Features

  • Project-based memory organization
  • Semantic search with embeddings
  • Multiple memory types: Conversations, Code, Decisions, References
  • Rich metadata storage
  • Tagging system for memory organization
  • Relationship tracking between memories

Prerequisites

  • Node.js v18+
  • Ollama with nomic-embed-text model
  • SQLite3

Usage

  • Start the server in development mode for auto-reload and Cursor compatibility.

MCP Tools

  • Memory management tools: store-dev-memory, list-dev-memories, get-dev-memory, search

Development

  • Instructions to run the server in development mode.

Dependencies

  • @modelcontextprotocol/sdk, better-sqlite3, node-fetch, zod