# Memdata

> Memdata is an open-source MCP server. Persistent memory for AI agents. Store context, retrieve it semantically. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/thelabvenice/memdata-mcp
- **MCP Registry name:** io.github.thelabvenice/memdata
- **Listing updated:** 2026-11-13

## About

Persistent memory for AI agents. Store context, retrieve it semantically.

## Install

### Claude Code (Terminal)

```sh
claude mcp add memdata --env MEMDATA_API_KEY='<MEMDATA_API_KEY>' -- npx -y memdata-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "memdata": {
      "command": "npx",
      "args": [
        "-y",
        "memdata-mcp"
      ],
      "env": {
        "MEMDATA_API_KEY": "<MEMDATA_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "memdata": {
      "command": "npx",
      "args": [
        "-y",
        "memdata-mcp"
      ],
      "env": {
        "MEMDATA_API_KEY": "<MEMDATA_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "memdata": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "memdata-mcp"
      ],
      "env": {
        "MEMDATA_API_KEY": "<MEMDATA_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "memdata": {
      "command": "npx",
      "args": [
        "-y",
        "memdata-mcp"
      ],
      "env": {
        "MEMDATA_API_KEY": "<MEMDATA_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "memdata": {
      "command": "npx",
      "args": [
        "-y",
        "memdata-mcp"
      ],
      "env": {
        "MEMDATA_API_KEY": "<MEMDATA_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Memdata free?

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

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

Run this command in your terminal: claude mcp add memdata --env MEMDATA_API_KEY='<MEMDATA_API_KEY>' -- npx -y memdata-mcp

---
Source: https://ai-powered.com/mcp/memdata
