# Memoire

> Memoire is an open-source MCP server for knowledge and memory. Local semantic memory for coding agents, stored in SQLite with on-device embeddings. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Windows, Self-hosted
- **Repository:** https://github.com/tazwaryayyyy/memorie-ai/tree/HEAD/mcp-server
- **MCP Registry name:** io.github.tazwaryayyyy/memoire-mcp
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-11-27

## About

Memoire gives an AI coding assistant a memory that persists between sessions. Facts are saved to a local SQLite database and retrieved by meaning, using embeddings computed on your own machine, so nothing is sent to a hosted service.

It runs as an MCP stdio server that MCP-compatible clients such as Claude Code and Cursor can launch. The database location is configurable through an environment variable, and a shared cache directory keeps the embedding model from being downloaded again for every project. Recall results can be checked and ranked through feedback tools, and a trial cap controls how many unverified memories a single recall returns.

The server is aimed at developers who want an agent to remember project context without relying on a cloud account. Admin tools for clearing and bulk-importing memory are off by default and must be enabled explicitly.

## Features

- **Local vector storage:** Memories are kept in a SQLite file on your machine with no hosted backend.
- **On-device embeddings:** Semantic search uses a local embedding model that is downloaded once and cached.
- **Feedback-based ranking:** Feedback tools let the agent or user mark recalled memories, affecting future results.
- **Configurable recall limit:** A trial cap setting controls how many unverified memories one recall returns.
- **Gated admin tools:** Clear and import operations stay disabled unless an environment flag turns them on.

## Good for

- Keep project conventions and decisions available across coding sessions
- Let a coding agent recall earlier fixes for a recurring bug
- Share one memory database across clients on the same machine
- Store team-specific context without sending it to a third-party service

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add memoire-mcp -- uvx memoire-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "memoire-mcp": {
      "command": "uvx",
      "args": [
        "memoire-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "memoire-mcp": {
      "command": "uvx",
      "args": [
        "memoire-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "memoire-mcp": {
      "command": "uvx",
      "args": [
        "memoire-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "memoire-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "memoire-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add memoire-mcp -- uvx memoire-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.memoire-mcp]
command = "uvx"
args = ["memoire-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "memoire-mcp": {
      "command": "uvx",
      "args": [
        "memoire-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user memoire-mcp uvx -- memoire-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "memoire-mcp": {
      "command": "uvx",
      "args": [
        "memoire-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "memoire-mcp": {
      "command": "uvx",
      "args": [
        "memoire-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "memoire-mcp": {
      "command": "uvx",
      "args": [
        "memoire-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "memoire-mcp": {
      "command": "uvx",
      "args": [
        "memoire-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "memoire-mcp": {
      "command": "uvx",
      "args": [
        "memoire-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "memoire-mcp": {
      "command": "uvx",
      "args": [
        "memoire-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "memoire-mcp": {
      "command": "uvx",
      "args": [
        "memoire-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "memoire-mcp": {
      "command": "uvx",
      "args": [
        "memoire-mcp"
      ]
    }
  }
}
```

## FAQ

### Does Memoire send my data to a server?

Memoire stores memories in a local SQLite database and computes embeddings locally, so it does not depend on a hosted service.

### How is Memoire installed?

Nothing is published to PyPI yet, so it is installed from a source checkout into a virtualenv, and the MCP client is pointed at the memoire-mcp console script.

### Does the first run need a download?

The embedding model, about 87 MiB, is downloaded on first use unless it is already cached, so the first tool call may be slow.

### Can the agent delete all memories?

The clear and import tools are not exposed unless MEMOIRE_ENABLE_ADMIN_TOOLS is set to 1, and they are off by default.

### Is Memoire free?

Yes. Memoire is open source, so you can use and self-host it for free.

### How do I add Memoire to Claude Code?

Run this command in your terminal: claude mcp add memoire-mcp -- uvx memoire-mcp

### What are the best alternatives to Memoire?

The closest alternatives to Memoire are memo, Memkeeper, AI Agent Memory, Mnemon MCP and Nan Forget.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [memo](https://ai-powered.com/mcp/memo): memo is an open-source MCP server for knowledge and memory.
- [Memkeeper](https://ai-powered.com/mcp/memkeeper): Memkeeper is an open-source MCP server for knowledge and memory.
- [AI Agent Memory](https://ai-powered.com/mcp/ai-agent-memory): AI Agent Memory is an open-source MCP server for knowledge and memory.
- [Mnemon MCP](https://ai-powered.com/mcp/mnemon-mcp): Mnemon MCP is an open-source MCP server for knowledge and memory.
- [Nan Forget](https://ai-powered.com/mcp/nan-forget): Nan Forget is an open-source MCP server for knowledge and memory.
- [Verbative Memory](https://ai-powered.com/mcp/verbative-memory): Verbative Memory is an MCP server for knowledge and memory.
- [Memoria](https://ai-powered.com/mcp/memoria): Memoria is an open-source MCP server for knowledge and memory.
- [lean-memory](https://ai-powered.com/mcp/lean-memory): lean-memory is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/memoire-2
