# sqlize.online

> sqlize.online is a free MCP server for databases. Run SQL on 30+ real database engines from an AI assistant, no account needed. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API, Web, CLI
- **Website:** https://api.sqlize.online
- **MCP Registry name:** online.sqlize/sqlize
- **Categories:** [databases](https://ai-powered.com/categories/databases), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-27

## About

Connect an AI assistant to sqlize.online and it can execute SQL scripts on real engines such as MySQL, PostgreSQL, SQL Server, Oracle and SQLite. Each run happens in a fresh database that is dropped afterwards, so nothing persists between calls.

Results come back as tables, with errors reported per statement. Every result also comes with a sqlize.online link so the script can be opened and shared in the web sandbox. Preloaded sample databases such as Sakila and AdventureWorks can be explored with a schema description tool, and scripts can be saved without running them.

The server suits developers and analysts who want an assistant to test queries, compare dialects or demonstrate SQL behaviour without installing database servers locally. Output is capped at 200 rows per result set and 30 KB per answer, and calls are rate limited per IP.

## Features

- **Multiple database engines:** Runs scripts on more than 30 engine and version combinations, including MySQL, PostgreSQL, SQL Server, Oracle and SQLite.
- **Disposable databases:** Each script runs in a fresh database that is dropped afterwards, so no state carries over between calls.
- **Tabular results with errors:** Returns every result set as a table and reports errors for each statement separately.
- **Sample schema exploration:** Lists tables, columns and foreign keys of read-only preloaded sample databases.
- **Shareable script links:** Saves scripts and returns sqlize.online links so runs can be reopened in the web sandbox.
- **No account required:** Connects to Claude, Cursor, VS Code and other MCP clients without an API key.

## Good for

- Testing a query across MySQL, PostgreSQL and SQL Server before deploying it
- Comparing SQL dialect differences while writing code with an assistant
- Exploring the Sakila or AdventureWorks sample schemas through natural language
- Sharing a reproducible SQL example with a colleague via a generated link
- Teaching SQL concepts with live results from real engines

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http sqlize https://api.sqlize.online/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "sqlize": {
      "type": "http",
      "url": "https://api.sqlize.online/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://api.sqlize.online/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

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

```json
{
  "mcpServers": {
    "sqlize": {
      "url": "https://api.sqlize.online/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "sqlize": {
      "type": "http",
      "url": "https://api.sqlize.online/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://api.sqlize.online/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add sqlize --url https://api.sqlize.online/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.sqlize]
url = "https://api.sqlize.online/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "sqlize": {
      "httpUrl": "https://api.sqlize.online/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http sqlize https://api.sqlize.online/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "sqlize": {
      "serverUrl": "https://api.sqlize.online/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "sqlize": {
      "url": "https://api.sqlize.online/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "sqlize": {
      "type": "streamableHttp",
      "url": "https://api.sqlize.online/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "sqlize": {
      "url": "https://api.sqlize.online/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "sqlize": {
      "url": "https://api.sqlize.online/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "sqlize": {
      "url": "https://api.sqlize.online/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "sqlize": {
      "url": "https://api.sqlize.online/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://api.sqlize.online/mcp
```

Enter a Name (for example "sqlize.online"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

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

```json
{
  "mcpServers": {
    "sqlize": {
      "type": "http",
      "url": "https://api.sqlize.online/mcp"
    }
  }
}
```

## Tools

The server marks 2 of 4 tools as able to change data. From the server's own tool labels and tool names; not verified by us.

- `list_databases` (says read-only): List every database engine and version sqlize.online can run SQL on, with the sql_version id to pass to other tools. Preloaded sample databases are marked and come with data; all others start empty.
- `run_sql` (says it can change data): Run a SQL script on a real database engine and return every result set and error. The database is fresh and empty (unless sql_version is a preloaded sample) and is dropped after the run, so include the CREATE TABLE and INSERT statements the queries need. Separate statements with semicolons. Results over 200 rows are cut. The answer links to the script on sqlize.online.
- `describe_database` (says read-only): Show the tables, columns and foreign keys of a preloaded sample database, so queries against it can use the real names.
- `create_share_link` (says it can change data): Save a SQL script on sqlize.online without running it and return a link where anyone can open, run and edit it. run_sql already returns such a link for the script it ran.

## FAQ

### Does sqlize.online need an account or API key?

No. The MCP server can be connected without an account or API key.

### Is data kept between calls?

No. Nothing persists between calls, and the sample databases are read-only.

### How large can results be?

Up to 200 rows per result set, 30 KB per answer and 200 characters per cell; anything beyond is cut and marked. Scripts are limited to 100 KB of SQL per call.

### How do I connect sqlize.online?

Add the URL https://api.sqlize.online/mcp as a streamable HTTP server in your MCP client, such as with the Claude Code command or a mcpServers entry in Cursor.

### Is sqlize.online free?

Yes. sqlize.online is free to use.

### How do I add sqlize.online to Claude Code?

Run this command in your terminal: claude mcp add --transport http sqlize https://api.sqlize.online/mcp

### What are the best alternatives to sqlize.online?

The closest alternatives to sqlize.online are sqlai.dev SQL Verifier, DataLink, SQLX, AI2SQL and DB MCP.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 29 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [sqlai.dev SQL Verifier](https://ai-powered.com/mcp/sqlai-dev-sql-verifier): sqlai.dev SQL Verifier is a freemium MCP server for databases.
- [DataLink](https://ai-powered.com/mcp/datalink): DataLink is an open-source MCP server for databases.
- [SQLX](https://ai-powered.com/mcp/sqlx): SQLX is a free MCP server for databases.
- [AI2SQL](https://ai-powered.com/mcp/ai2sql): AI2SQL is a freemium MCP server for databases.
- [DB MCP](https://ai-powered.com/mcp/db-mcp): DB MCP is an open-source MCP server for databases.
- [DB Explorer](https://ai-powered.com/mcp/db-explorer): DB Explorer is an open-source MCP server for databases.
- [SQL Server MCP by InsightfulPipe](https://ai-powered.com/mcp/sql-server-mcp-by-insightfulpipe): SQL Server MCP by InsightfulPipe is an MCP server for databases.
- [Diogenes Database Intelligence & SQL Engine MCP](https://ai-powered.com/mcp/diogenes-database-intelligence-and-sql-engine-mcp): Diogenes Database Intelligence & SQL Engine MCP is a freemium MCP server for databases.

---
Source: https://ai-powered.com/mcp/sqlize-online
