{"slug": "let-your-ai-assistant-run-sql-on-36-real-database-engines-the-sqlize-online-mcp", "title": "Let your AI assistant run SQL on 36 real database engines: the sqlize.online MCP server", "summary": "A developer launched an MCP server for sqlize.online that lets AI assistants such as Claude, Cursor and VS Code Copilot execute SQL against 36 real database engines and return actual result sets instead of guessed syntax. The server, listed in the official MCP Registry as online.sqlize/sqlize, exposes tools including list_databases, run_sql, describe_database and create_share_link over Streamable HTTP. The developer cited a case where MySQL 8.0 silently returns 0 for 'abc' || 'def' because it treats || as logical OR, which a model that only writes SQL would miss.", "body_md": "AI assistants are good at writing SQL and bad at knowing whether it actually runs. Is `||` string concatenation in MySQL? Does that window function work in SQL Server 2017? Does PostgreSQL 19 still accept this syntax? The model guesses, you copy the query into a terminal, and only then do you find out.\n\nToday I launched an MCP server for [sqlize.online](https://sqlize.online), the online SQL sandbox I've been running for several years. Now Claude, Cursor, VS Code Copilot and any other [Model Context Protocol](https://modelcontextprotocol.io) client can run SQL themselves, on real database engines, and show you the actual result instead of a guess.\n\nIt's listed in the official MCP Registry as [`online.sqlize/sqlize`](https://registry.modelcontextprotocol.io/?q=sqlize).\n\n**Claude Code**\n\n```\nclaude mcp add --transport http sqlize https://api.sqlize.online/mcp\n```\n\n**claude.ai:** Settings → Connectors → Add custom connector → `https://api.sqlize.online/mcp`\n\n**Cursor** (`~/.cursor/mcp.json`), Windsurf and other clients:\n\n```\n{ \"mcpServers\": { \"sqlize\": { \"url\": \"https://api.sqlize.online/mcp\" } } }\n```\n\n**VS Code** (`.vscode/mcp.json`):\n\n```\n{ \"servers\": { \"sqlize\": { \"type\": \"http\", \"url\": \"https://api.sqlize.online/mcp\" } } }\n```\n\n| Tool | What it does | \n|---|---|\n| `list_databases` | Engines and versions, with the `sql_version` id to pass to the other tools | \n| `run_sql` | Runs a script in a fresh database and returns every result set as a table, errors per statement, and a sqlize.online link | \n| `describe_database` | Tables, columns and foreign keys of a preloaded sample database | \n| `create_share_link` | Saves a script without running it and returns its sqlize.online link | \n\nAsk the assistant something like *\"Rank customers by total order amount, check it on PostgreSQL 19\"*. It writes the script, including the test data, and calls `run_sql`. This is the real answer from the server:\n\n```\nPostgreSQL 19: ran 3 statements.\n\nResult 1: 2 rows\n| customer | total | place |\n| --- | --- | --- |\n| Ann | 165 | 1 |\n| Bob | 80 | 2 |\n\nOpen on sqlize.online: https://sqlize.online/sql/psql19/95b720bc118059606dbdb8e1bb6068b9\n```\n\nNow the case where running the query really matters. In PostgreSQL, Oracle and SQLite `'abc' || 'def'` gives `abcdef`. Ask the assistant to check the same expression on MySQL 8.0:\n\n```\nMySQL 8.0: ran 1 statement.\n\nResult 1: 1 row\n| concat_test |\n| --- |\n| 0 |\n```\n\nNo error, just a silent `0`: by default MySQL reads `||` as logical OR. A model that only *writes* SQL would happily hand you that query. A model that *runs* it sees the `0` and switches to `CONCAT()`.\n\nIt's a free public sandbox, so there are fair-use limits:\n\nThe server speaks Streamable HTTP (stateless JSON, protocol versions 2025-03-26 to 2025-11-25). You can also try the tools by hand on the [API page](https://api.sqlize.online/).\n\nIf you're learning SQL, the same engines power the practice tasks and the playground on [SQLtest.online](https://sqltest.online).\n\nTry it and tell me what you'd want next: more engines, persistent databases, query plans? I read every comment.", "url": "https://wpnews.pro/news/let-your-ai-assistant-run-sql-on-36-real-database-engines-the-sqlize-online-mcp", "canonical_source": "https://dev.to/rozhnev/let-your-ai-assistant-run-sql-on-36-real-database-engines-the-sqlizeonline-mcp-server-253d", "published_at": "2026-11-27 16:11:21+00:00", "updated_at": "2026-11-27 16:12:22.553781+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "developer-tools", "large-language-models"], "entities": ["sqlize.online", "Model Context Protocol", "Claude", "Cursor", "VS Code Copilot", "SQLtest.online", "MySQL", "PostgreSQL"], "also_reported_by": [], "takeaway": "Wiring an MCP server that runs SQL on real engines lets assistants catch silent dialect traps like MySQL 8.0 returning 0 for 'abc' || 'def' instead of concatenating.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/let-your-ai-assistant-run-sql-on-36-real-database-engines-the-sqlize-online-mcp", "markdown": "https://wpnews.pro/news/let-your-ai-assistant-run-sql-on-36-real-database-engines-the-sqlize-online-mcp.md", "text": "https://wpnews.pro/news/let-your-ai-assistant-run-sql-on-36-real-database-engines-the-sqlize-online-mcp.txt", "jsonld": "https://wpnews.pro/news/let-your-ai-assistant-run-sql-on-36-real-database-engines-the-sqlize-online-mcp.jsonld"}}