Echo Memory logo

Echo Memory

Stores shared agent memory as an auditable graph in Postgres, with model-free writes and hybrid retrieval.

Install Echo Memory

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

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "echo-memory": {
      "command": "uvx",
      "args": [
        "--from",
        "echo-mem",
        "echo-memory"
      ]
    }
  }
}

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

Claude Code command
claude mcp add --transport stdio echo-memory -- uvx --from echo-mem echo-memory

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

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

uvx --from echo-mem echo-memory

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Echo Memory MCP server stores shared agent memory as connected facts in a Postgres graph, recording which agent wrote each fact and when. Agents use `write_episode` to add entities and relationships, then `query_memory` to retrieve relevant information through hybrid vector and full-text search. Writes do not invoke an LLM, making storage behavior predictable and auditable. Reach for it when multiple agents or coding clients need to share project knowledge without pasting an ever-growing notes file into every session.

Use cases

  • Share project decisions between Claude Code, Cursor, and Codex
  • Record facts and relationships without making an LLM call
  • Retrieve only relevant project context for a later session
  • Keep authorship and timestamps for stored agent knowledge

Key features

  • Graph-based memory in Postgres
  • Model-free episode writes
  • Hybrid vector and full-text retrieval
  • Fact authorship and timestamp tracking
  • Local Docker setup or hosted connection
  • CLI health, audit, export, and evaluation commands

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.

14/14 checks healthy over the last 68d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · echo-mem (PyPI)

Adoption & maintenance

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

GitHub stars2Stargazers on the source repository.
Last commit10d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.

How Echo Memory works

What Echo Memory does

Echo Memory gives AI agents a shared memory store backed by a graph in Postgres. The graph represents entities and the facts that connect them, while each fact retains authorship and timing information. This lets one client record a decision or project detail and another client retrieve it later.

The server is designed for cross-client memory. The project specifically demonstrates Claude Code writing information that Cursor and Codex can later recall. It fits workflows where agents need continuity across sessions, projects, or tools while keeping the underlying data in a database controlled by the operator.

Storage writes are deliberately model-free: recording an episode does not make an LLM call. Retrieval selects relevant facts rather than returning an entire notes file, which can reduce the amount of context an agent must receive.

How it works

An agent records entities and their relationships with write_episode. Echo Memory persists those facts in Postgres and tracks the writing agent and timestamp. A later query_memory request searches the stored graph using a combination of vector retrieval and full-text search, with results combined through reciprocal-rank fusion.

The local quickstart provisions the database with Docker, applies the schema, and prints a client registration command using the port selected for the service. A hosted connection is also available through an access key, so the database does not need to run on the local machine.

For clients that need guidance about when to record or recall information, echo-memory install --global installs the usage instructions once per machine. The server process must be restarted after configuration or installation changes so it loads the updated code and settings.

Setup and configuration

Echo Memory requires Python 3.11 or newer and Docker for the local database. Install the package with:

bash
pipx install echo-mem
echo-memory quickstart

The package distribution is named echo-mem; the command and import package use the echo-memory and echo_memory names. To use the hosted service instead, install the package and connect with a key:

bash
echo-memory connect <key>

For a project-scoped Cursor setup, use echo-memory install --for cursor. The echo-memory adopt command wires every MCP client on the machine, assigning each its own identifier.

When upgrading an existing store, run the database migrations before rebuilding derived data:

bash
echo-memory init-db
echo-memory reindex

The health command can be used afterward to inspect the store.

Tools and capabilities

The MCP interface includes these core memory operations:

  • write_episode — Records entities and the facts that connect them without calling a model.
  • query_memory — Retrieves relevant memory using hybrid vector and full-text search.

The command-line interface also includes status and health checks, graph inspection, audit-trail lookup with why, terminal recall, JSON export, and retrieval evaluation commands. These provide ways to inspect and operate the store outside an agent conversation.

Limitations and notes

Local operation depends on Docker because the database is supplied as a Postgres image. The hosted option avoids running that database locally but requires an access key.

Upgrades require both schema migration and reindexing for stores created by older versions. Skipping the migration can cause schema errors; skipping reindexing can leave derived retrieval data stale.

The project includes a browser dashboard served on localhost and commands for checking retrieval quality, context cost, latency, and entity-resolution calibration. These are operational commands rather than additional MCP memory tools.

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 Echo Memory

Echo Memory is an MCP server that connects AI agents to a graph stored in your own Postgres or a hosted service, and exposes write_episode for recording facts and query_memory for hybrid retrieval. Writes do not call an LLM, and stored facts include author and timing metadata.

Install it with `pipx install echo-mem`, then run `echo-memory quickstart` for a local Docker-backed database. The command applies the schema and prints a client registration command. Alternatively, use `echo-memory connect <key>` to connect to the hosted service.

Yes, Echo Memory provides `echo-memory install --for cursor` for a project-scoped Cursor configuration. Restart the client after installation or configuration changes so the long-running MCP process loads the new settings.

Echo Memory writes entities and their relationships directly to Postgres through `write_episode`; the write path does not invoke a model. Later, `query_memory` combines vector and full-text retrieval to find relevant stored facts.

Run `echo-memory init-db` first and `echo-memory reindex` second. The first applies schema migrations, while the second rebuilds derived retrieval data. The project recommends running both steps for stores created by an earlier package version.

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