# Memex

> Memex is an open-source MCP server for ai models and llm tooling. Persistent session memory for Claude Code. Local SQLite, no LLMs, no network. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/pragneshbagary/memex
- **MCP Registry name:** io.github.pragneshbagary/memex
- **Categories:** AI models and LLM tooling
- **Listing updated:** 2026-11-13

## About

Persistent session memory for Claude Code. Local SQLite, no LLMs, no network.

## Install

### Claude Code (Terminal)

```sh
claude mcp add memex -- uvx mcp-memex
```

### Claude Desktop (claude_desktop_config.json)

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

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

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

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

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

## FAQ

### Is Memex free?

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

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

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

### What are the best alternatives to Memex?

The closest alternatives to Memex are Claude Code Ultimate Guide, signafAIde, Toolkien, Lugh and HypePaper.

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [signafAIde](https://ai-powered.com/mcp/signafaide): signafAIde is a freemium MCP server for security.
- [Toolkien](https://ai-powered.com/mcp/toolkien): Toolkien is an open-source MCP server for ai models and llm tooling.
- [Lugh](https://ai-powered.com/mcp/lugh): Lugh is an open-source MCP server for ai models and llm tooling.
- [HypePaper](https://ai-powered.com/mcp/hypepaper): HypePaper is a freemium MCP server for ai models and llm tooling.
- [Agent Data Tools: Compact (find, describe, run)](https://ai-powered.com/mcp/agent-data-tools-compact-find-describe-run): Agent Data Tools: Compact (find, describe, run) is a freemium MCP server for developer tools.
- [Angel Agent Guard: pre-purchase check + prompt-injection scan](https://ai-powered.com/mcp/angel-agent-guard-pre-purchase-check-prompt-injection-scan): Angel Agent Guard: pre-purchase check + prompt-injection scan is a freemium MCP server for ai models and llm tooling.
- [Mizan Calibration](https://ai-powered.com/mcp/mizan-calibration): Mizan Calibration is a free MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/memex-5
