MARM

v2.6.2Knowledge & Memorystable

Stop re-explaining yourself to your AI. MARM gives every session persistent memory, cross-agent context sharing, and structured reasoning that builds as you work, not resets. Includes a live web dashboard for browsing memories, logs, and sessions wit

claudeclaude-codedeveloper-toolsdocker-imageembeddings
Share:
291
Stars
0
Downloads
0
Weekly
0/5

What is MARM?

MARM is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to stop re-explaining yourself to your ai. marm gives every session persistent memory, cross-agent context sharing, and structured reasoning that builds as you work, not resets. includes a live web dashb...

Stop re-explaining yourself to your AI. MARM gives every session persistent memory, cross-agent context sharing, and structured reasoning that builds as you work, not resets. Includes a live web dashboard for browsing memories, logs, and sessions wit

This server falls under the Knowledge & Memory category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Stop re-explaining yourself to your AI. MARM gives every ses

Use Cases

Persistent multi-session memory
Cross-agent context sharing
Structured reasoning logs
Lyellr88

Maintainer

LicenseMIT License
Languagepython
Versionv2.6.2
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

PIP

pip install marm-mcp-server

Manual Installation

pip install marm-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use MARM

MARM (Memory-Augmented Reasoning Module) is a persistent memory MCP server for AI assistants that eliminates the need to re-explain context at the start of every session. It stores memories using semantic embeddings, organizes them into named sessions and notebooks, and exposes nine dedicated tools so agents can recall past decisions, log ongoing work, and share context across multiple agents. Developers who run long-running projects with Claude Code or other MCP clients will find MARM prevents context loss across restarts.

Prerequisites

  • Python 3.10+ and pip, or Docker installed
  • An MCP-compatible client such as Claude Desktop or Claude Code
  • A generated MARM API key (required for HTTP/Docker deployment)
  • Optional: Ollama running locally if you want local embedding support
1

Install the MARM MCP server

Install via pip for stdio mode, or pull the Docker image for HTTP mode with multi-agent support.

pip install marm-mcp-server
# OR for Docker:
docker pull lyellr88/marm-mcp-server:latest
2

Generate an API key (Docker/HTTP mode only)

If running MARM as an HTTP server over Docker, generate an authentication key first.

docker run --rm lyellr88/marm-mcp-server:latest --generate-key
3

Start the Docker container

Run the container exposing port 8001, binding the data volume to ~/.marm, and providing the generated API key.

docker run -d --name marm-mcp-server \
  -p 127.0.0.1:8001:8001 \
  -e SERVER_HOST=0.0.0.0 \
  -e MARM_API_KEY=your-generated-key \
  -v ~/.marm:/home/marm/.marm \
  lyellr88/marm-mcp-server:latest
4

Add MARM to your MCP client (stdio mode)

For local stdio use, register the marm-mcp-stdio command with Claude Code or your MCP client.

claude mcp add --transport stdio marm-memory-stdio marm-mcp-stdio
5

Add MARM to your MCP client (HTTP mode)

For the HTTP Docker deployment, register the local endpoint with an Authorization header.

claude mcp add --transport http marm-memory http://localhost:8001/mcp \
  --header "Authorization: Bearer your-generated-key"
6

Verify the connection

Ask the agent to log a session entry. MARM will respond confirming the memory was stored without requiring any manual tool invocation.

MARM Examples

Client configuration (stdio mode)

Claude Desktop config for local stdio mode installation via pip.

{
  "mcpServers": {
    "marm-memory": {
      "command": "marm-mcp-stdio",
      "args": []
    }
  }
}

Client configuration (HTTP/Docker mode)

Claude Desktop config for the Docker HTTP deployment with Bearer token authentication.

{
  "mcpServers": {
    "marm-memory": {
      "url": "http://localhost:8001/mcp",
      "headers": {
        "Authorization": "Bearer your-generated-key"
      }
    }
  }
}

Prompts to try

MARM tools are invoked automatically by natural language — no need to call tools manually.

- "Log this session as 'Project Alpha' and save this conversation as 'database design discussion'"
- "Search your memory for what we discussed about authentication last week"
- "Remember this code snippet in your notebook for later use"
- "Show me all entries in the 'Project Alpha' session"
- "Generate a summary of everything we've worked on this sprint"

Troubleshooting MARM

Docker container starts but the MCP client cannot connect to port 8001

Ensure you used -p 127.0.0.1:8001:8001 and SERVER_HOST=0.0.0.0. Confirm with: docker logs marm-mcp-server and curl http://localhost:8001/mcp.

Authentication errors when connecting via HTTP mode

Regenerate the API key with: docker run --rm lyellr88/marm-mcp-server:latest --generate-key, update the MARM_API_KEY environment variable in the container, and update the Authorization header in your MCP client config.

Memories are not persisting between Docker restarts

Ensure the volume mount -v ~/.marm:/home/marm/.marm is present in the docker run command. Without it, data is stored only in the ephemeral container layer.

Frequently Asked Questions about MARM

What is MARM?

MARM is a Model Context Protocol (MCP) server that stop re-explaining yourself to your ai. marm gives every session persistent memory, cross-agent context sharing, and structured reasoning that builds as you work, not resets. includes a live web dashboard for browsing memories, logs, and sessions wit It connects AI assistants to external tools and data sources through a standardized interface.

How do I install MARM?

Install via pip with: pip install marm-mcp-server. Then configure your AI client to connect to this MCP server.

Which AI clients work with MARM?

MARM works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is MARM free to use?

Yes, MARM is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Knowledge & Memory MCP Servers

Explore all knowledge & memory servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "marm": { "command": "pip", "args": ["install", "marm-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use MARM?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides