# Surrealql MCP

> Surrealql MCP is an open-source MCP server. SurrealQL MCP: 20 real tools to read, check, lint, scaffold, build and run SurrealQL code. It runs locally on your machine and is started by your AI client.

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

## About

SurrealQL MCP: 20 real tools to read, check, lint, scaffold, build and run SurrealQL code.

## Install

### Claude Code (Terminal)

```sh
claude mcp add surrealql-mcp -- npx -y @mrfentmen/surrealql-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "surrealql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/surrealql-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "surrealql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/surrealql-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "surrealql-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/surrealql-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "surrealql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/surrealql-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "surrealql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/surrealql-mcp"
      ]
    }
  }
}
```

## FAQ

### Is Surrealql MCP free?

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

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

Run this command in your terminal: claude mcp add surrealql-mcp -- npx -y @mrfentmen/surrealql-mcp

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