# Anytype MCP

> Anytype MCP is an open-source MCP server. Official MCP server for Anytype API - your encrypted, local and collaborative wiki. It runs locally on your machine and is started by your AI client.

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

## About

Official MCP server for Anytype API - your encrypted, local and collaborative wiki.

## Install

### Claude Code (Terminal)

```sh
claude mcp add anytype-mcp --env OPENAPI_MCP_HEADERS='<OPENAPI_MCP_HEADERS>' -- npx -y @anyproto/anytype-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "anytype-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@anyproto/anytype-mcp"
      ],
      "env": {
        "OPENAPI_MCP_HEADERS": "<OPENAPI_MCP_HEADERS>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "anytype-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@anyproto/anytype-mcp"
      ],
      "env": {
        "OPENAPI_MCP_HEADERS": "<OPENAPI_MCP_HEADERS>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "anytype-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@anyproto/anytype-mcp"
      ],
      "env": {
        "OPENAPI_MCP_HEADERS": "<OPENAPI_MCP_HEADERS>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "anytype-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@anyproto/anytype-mcp"
      ],
      "env": {
        "OPENAPI_MCP_HEADERS": "<OPENAPI_MCP_HEADERS>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "anytype-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@anyproto/anytype-mcp"
      ],
      "env": {
        "OPENAPI_MCP_HEADERS": "<OPENAPI_MCP_HEADERS>"
      }
    }
  }
}
```

## FAQ

### Is Anytype MCP free?

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

### How do I add Anytype MCP to Claude Code?

Run this command in your terminal: claude mcp add anytype-mcp --env OPENAPI_MCP_HEADERS='<OPENAPI_MCP_HEADERS>' -- npx -y @anyproto/anytype-mcp

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