Aletheia Mem logo

Aletheia Mem

Local shared memory, rules, work-state, and code-context tools for AI coding agents over MCP.

Install Aletheia Mem

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": {
    "aletheia-mem": {
      "command": "npx",
      "args": [
        "-y",
        "aletheia-mem",
        "mcp"
      ]
    }
  }
}

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

Claude Code command
claude mcp add --transport stdio aletheia-mem -- npx -y aletheia-mem mcp

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

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

aletheia-mem provides AI coding tools with a shared local memory and rules store exposed through MCP, REST, and a CLI. It keeps data in SQLite on the developer's machine, supports persistent context across sessions, and can sync rules into tool-specific instruction files. Reach for it when multiple coding agents need consistent project knowledge, standing rules, or recoverable work state without a hosted account.

Use cases

  • Share project memory across multiple coding agents
  • Store and retrieve observations between sessions
  • Synchronize standing rules into agent instruction files
  • Track resumable work state for coding tasks
  • Search team-shared project knowledge

Key features

  • Local SQLite memory store
  • MCP, REST, and CLI access
  • Memory search, timelines, and fact history
  • Rule management and instruction-file sync
  • Code file outlines for targeted reading
  • Work-state and team knowledge tools

Tools16

What Aletheia Mem lets your agent do. Expand a tool for its parameters.

Self-reported~174 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.

8/8 checks healthy over the last 32d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 17d ago via OSV.dev · aletheia-mem (npm)

Adoption & maintenance

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

GitHub stars10Stargazers on the source repository.
npm downloads1.8kPackage downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Tools exposed16Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Aletheia Mem works

What aletheia-mem does

aletheia-mem is a local knowledge and memory hub for AI coding tools. It gives agents one shared store for project observations, rules, session context, work-state lists, and team-shared information. The store can be accessed through MCP, a REST API, or the command-line interface.

The project is designed for tools including Claude Code, Codex CLI, Cursor, Gemini CLI, Windsurf, and OpenCode. Rules can be maintained centrally and written into the instruction-file formats those tools already read, including CLAUDE.md, AGENTS.md, GEMINI.md, Cursor rule files, and Windsurf rule files.

How it works

The server runs locally and listens on loopback. Its shared data is kept in a SQLite store, so several coding tools can use the same memory rather than maintaining separate agent-specific histories. MCP is available over stdio and HTTP, alongside the REST and CLI interfaces.

Memory capture can be installed into supported coding tools with the aletheia install command. Installers can update host configuration and add hooks; a dry-run mode lists the files that would change without writing them, while changed files receive timestamped backups. Hooks redact secrets and <private> blocks before storing captured content, queue data on disk if the database is unavailable, and exit successfully so they do not block the host tool.

Setup and configuration

Bun 1.1 or newer is required. The published package can be installed globally and started as follows:

Terminal
npm install -g aletheia-mem
aletheia-server

The web interface is available at http://127.0.0.1:37790. From a source checkout, run bun bin/aletheia-server.mjs instead. No runtime dependency installation is required after obtaining the project or package.

To configure capture for a host, use commands such as:

bash
aletheia install claude-code --write
aletheia install cursor --write
aletheia install --list

The --list command reports capability and verification information for available integrations. The server does not require an account or telemetry; network access is not used unless a model provider is configured.

Tools and capabilities

MCP exposes tools for:

  • Searching shared memory, retrieving complete observations, and viewing a memory's timeline or fact history.
  • Saving, dismissing, and restoring memories.
  • Loading context at session start.
  • Outlining a code file so an agent can request a relevant line range instead of reading the entire file.
  • Listing, adding, and reconfirming standing rules.
  • Reading and writing work-state lists.
  • Briefing a team project and searching teammate-shared information when the caller belongs to a team.

The web interface organizes project home, activity, knowledge, rules, and connection views. Knowledge records can be searched, edited, pinned, hidden, and exported, while rules are written once and synchronized to connected tools.

Limitations and notes

The project is alpha software. MCP protocol checks pass against the official SDK client, and CI covers Linux, macOS, and Windows, but real-host verification varies by integration. Real sessions have been exercised for Claude Code, Command Code, and Codex CLI; Cursor, Gemini CLI, and Windsurf have not been tested in a real installation. Claude Desktop configuration is documented and fixture-tested rather than tested inside the application. Windows CI skips two hook checks, and answer accuracy has not been measured.

The server listens on loopback, making it suited to local use rather than a remotely hosted shared service. Compression is queued instead of running inside capture hooks.

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 Aletheia Mem

aletheia-mem is an MCP server that connects AI coding tools to a shared local SQLite memory and rules store. Its main tools search and save memories, load session context, manage standing rules, outline code files, track work state, and access team knowledge when the caller belongs to a team.

Install it with Bun 1.1 or newer by running `npm install -g aletheia-mem`, then start it with `aletheia-server`. The local interface opens at `http://127.0.0.1:37790`. A source checkout can be run with `bun bin/aletheia-server.mjs`.

aletheia-mem is intended for Claude Code, Codex CLI, Cursor, Gemini CLI, Windsurf, and OpenCode, with documented configuration for Claude Desktop. Real installation checks have covered only some of these hosts, so verification level differs by tool.

Yes, aletheia-mem includes a Cursor installer and can write Cursor configuration and rule files. Use `aletheia install cursor --write` to apply the setup. Cursor configuration formats have been tested against fixtures, but a real Cursor installation has not been tested.

No, aletheia-mem runs locally without an account or telemetry and listens on loopback. It does not make network calls unless a model provider is configured. The shared data is stored in a local SQLite database.

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 PreviewAletheia Mem AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/aletheia-mem?style=directory)](https://allmcps.com/mcp/aletheia-mem)
HTML Embed
<a href="https://allmcps.com/mcp/aletheia-mem"><img src="https://allmcps.com/api/badge/aletheia-mem?style=directory" alt="Aletheia Mem on AllMCPs" /></a>