# Memdocs

> Memdocs is an open-source MCP server. Git-native project memory for AI assistants with enterprise-grade audit compliance. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/smart-ai-memory/memdocs
- **MCP Registry name:** io.github.silversurfer562/memdocs
- **Listing updated:** 2026-11-13

## About

Git-native project memory for AI assistants with enterprise-grade audit compliance

## Install

### Claude Code (Terminal)

```sh
claude mcp add memdocs --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' -- uvx memdocs
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "memdocs": {
      "command": "uvx",
      "args": [
        "memdocs"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "memdocs": {
      "command": "uvx",
      "args": [
        "memdocs"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "memdocs": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "memdocs"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "memdocs": {
      "command": "uvx",
      "args": [
        "memdocs"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "memdocs": {
      "command": "uvx",
      "args": [
        "memdocs"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Memdocs free?

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

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

Run this command in your terminal: claude mcp add memdocs --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' -- uvx memdocs

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