Memory MCP Lite logo

Memory MCP Lite

Local-first MCP memory server for durable project, task, decision, fact, and convention storage with staged retrieval.

Install Memory MCP Lite

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "memory-mcp-lite": {
      "command": "npx",
      "args": [
        "memory-mcp-lite"
      ],
      "env": {
        "MEMORY_DB_PATH": "YOUR_VALUE_HERE",
        "MEMORY_DATA_DIR": "YOUR_VALUE_HERE",
        "DATABASE_URL": "YOUR_VALUE_HERE",
        "MEMORY_DB_AUTH_TOKEN": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env MEMORY_DB_PATH=YOUR_VALUE_HERE --env MEMORY_DATA_DIR=YOUR_VALUE_HERE --env DATABASE_URL=YOUR_VALUE_HERE --env MEMORY_DB_AUTH_TOKEN=YOUR_VALUE_HERE --transport stdio memory-mcp-lite -- npx memory-mcp-lite

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 9 tools correctly ().

Overview

The memory-mcp-lite MCP server stores durable coding context in a local database and exposes it through structured MCP tools. It organizes global, project, task, and atomic memories, with optional relationships such as dependencies and supersession. Agents can retrieve summaries first, search compact candidates with SQLite FTS5, and request full details only for selected results. Reach for it when short-lived chat context is not enough and you need project decisions, conventions, commands, or task state to persist across sessions.

Use cases

  • Store architecture decisions and rejected approaches
  • Resume tasks with saved progress and blockers
  • Record project commands, gotchas, and environment notes
  • Retrieve project context without loading every memory
  • Share database-backed memory through libSQL or Turso

Key features

  • Hierarchical global, project, task, and atomic memory
  • SQLite FTS5 lexical search
  • Staged summary-to-detail retrieval
  • Optional relationships between memory nodes
  • Local file, libSQL, and Turso database support
  • Structured MCP tool responses

Tools9

What Memory MCP Lite lets your agent do. Expand a tool for its parameters.

Verified live~2.5k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 88d

What it can do

From the 9 tools this server returned when we ran it; 9 declare their own safety hints.

Makes changes · 4Makes network requests · 4Read-only tools · 5
Network at startup3 connections
Files written at startup3
Install scriptsNone
npm provenanceNot published
Package age226 days
Maintainers1

Observed 2026-12-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 18d ago via OSV.dev · memory-mcp-lite (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
npm downloads262Package downloads in the last 30 days.
Last commit7mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed9Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Memory MCP Lite works

What memory-mcp-lite does

The memory-mcp-lite MCP server gives AI coding assistants a durable store for information that should survive a conversation. It records architecture decisions and rejected approaches, project conventions, commands, environment notes, links, gotchas, and task progress. It does not save raw chat transcripts, replace client rules, use embeddings or vector search, or require a cloud service.

Memory is arranged as a hierarchy: global knowledge sits above projects, projects contain project summaries and tasks, and tasks can contain atomic records such as decisions, facts, commands, links, conventions, and gotchas. Optional graph-like relationships connect nodes with labels including related_to, depends_on, affects, caused_by, supersedes, and references.

How it works

The server encourages a staged retrieval process. First, an agent can request global, project, or task summaries. If those summaries do not answer the question, search_memory_light returns compact candidates using SQLite FTS5 lexical search. The agent can then call get_memory_detail for the most relevant one to three results instead of loading every stored record into context.

Project identity is resolved from a normalized Git remote URL first, then the Git root path, and finally the normalized workspace path. This lets stored project context remain associated with a repository when its local directory changes, provided the identifying information remains available.

The implementation uses TypeScript and Node.js 20 or newer, with the MCP TypeScript SDK, Drizzle ORM, and libSQL. A closure table supports subtree traversal, while FTS5 and its triggers support lexical lookup.

Setup and configuration

The memory-mcp-lite MCP server can be started through npx memory-mcp-lite from an MCP client's stdio configuration. The README gives configurations for Windsurf and Claude Desktop and says the same command pattern applies to other MCP-compatible clients. It can also be built from source with npm install and npm run build, then launched with Node against dist/index.js. During development, tsx can run the TypeScript entry point directly.

By default, data is stored at ~/.memory-mcp/memory.db. Configuration supports these environment variables:

  • MEMORY_DB_PATH: a database file path or libsql:// / file: URL.
  • MEMORY_DATA_DIR: a directory containing memory.db.
  • DATABASE_URL: a backwards-compatible database setting.
  • MEMORY_DB_AUTH_TOKEN: a bearer token for remote libSQL or Turso access.

The database schema is created or re-asserted when the server starts, including the FTS5 table and triggers. No separate manual schema step is required.

Tools and capabilities

The nine MCP tools cover retrieval and writing:

  • get_global_summary, get_project_summary, and get_task_summary retrieve context at their respective scopes.
  • search_memory_light finds compact matching candidates.
  • get_memory_detail returns the full content for a selected memory.
  • remember_decision stores an architectural choice, trade-off, or rejected path.
  • remember_fact stores facts such as commands, environment notes, links, gotchas, or conventions.
  • upsert_project_summary updates project-level architecture and convention context.
  • upsert_task_summary updates task progress, blockers, or plans.

Responses include a readable JSON block and structuredContent for programmatic clients. Tool descriptions and annotations help agents select among the tools.

Limitations and notes

The memory-mcp-lite MCP server uses lexical FTS5 search rather than embeddings or semantic retrieval. It is intentionally focused on durable structured memory, not conversation history. Remote operation is supported through libSQL or Turso with an authentication token, but the default setup is local and disk-backed.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Memory MCP Lite

memory-mcp-lite is an MCP server that connects AI coding assistants to durable memory stored in a local database, with optional libSQL or Turso support. Its main tools retrieve global, project, and task summaries, search compact memory candidates, fetch details, and save decisions, facts, project summaries, and task summaries.

Install it by configuring your MCP client to run `npx memory-mcp-lite`. You can also build from source and launch the generated `dist/index.js` file with Node.

It stores data at `~/.memory-mcp/memory.db` by default. Set `MEMORY_DB_PATH` to use another file or a libSQL URL, or set `MEMORY_DATA_DIR` to choose the directory containing `memory.db`. `DATABASE_URL` remains supported for backward compatibility.

Yes, it can use a Turso database through a `libsql://` value in `MEMORY_DB_PATH` and a bearer token in `MEMORY_DB_AUTH_TOKEN`. The same configuration approach also supports remote libSQL instances.

Yes, the README names Cursor as a supported MCP-compatible coding assistant. Configure Cursor to launch the server through the stdio command `npx memory-mcp-lite`, using Cursor's MCP configuration location and format.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMemory MCP Lite AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/memory-mcp-lite?style=directory)](https://allmcps.com/mcp/memory-mcp-lite)
HTML Embed
<a href="https://allmcps.com/mcp/memory-mcp-lite"><img src="https://allmcps.com/api/badge/memory-mcp-lite?style=directory" alt="Memory MCP Lite on AllMCPs" /></a>