SQLX MCP server
io.github.OtterMind/sqlx·v0.1.21·2 starsRun SQL on 30+ databases through saved, encrypted connections; credentials stay local.
not scanned yet
2 stars
Reviews
Write oneNobody has reviewed SQLX yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
SQLX tools
No tool declarations could be read from the package source. They show once the server is installed.
How SQLX compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 90/100
- higher than 83% of 802 Databases servers
- GitHub stars
- 2
- more than 60% of 602 Databases servers
Release history: 2 versions in the registry since 2026-10-13, latest 2026-10-15, typically one every 2 days.
Install SQLX in Claude Code, Cursor or VS Code
claude mcp add sqlx -- docker run -i --rm ghcr.io/ottermind/sqlx:0.1.21
What the publisher says
From the SQLX repository's README, as published. We do not edit it. Read it on GitHub
SQLX
Connect to MySQL, MariaDB, TiDB, GreatSQL, OceanBase, PostgreSQL, CockroachDB, YugabyteDB, openGauss, Oracle, SQL Server, ClickHouse, Trino, Presto, StarRocks, Apache Doris, TDengine, Dameng, KingbaseES, Apache Kylin, XuguDB, IBM Db2, IBM Informix, SUNDB, GBase 8s, Redis and MongoDB, or open a local SQLite, DuckDB or H2 file, from your terminal or from your agent. Connections are saved encrypted, one invocation runs one or more statements or commands, and the results come back complete and structured.
Quick start
# 1. Install the CLI (macOS, Linux and Windows x64; Node.js 22 or newer)
npx -y @ottermind/sqlx@latest
export PATH="$HOME/.local/bin:$PATH"
# 2. Create a connection (an interactive terminal prompts for the username and password)
sqlx datasource add --name dev --type postgresql --host db.example.com --port 5432 --database app
sqlx datasource test --id dev
# 3. Run SQL
sqlx sql execute --datasource dev --command "SELECT current_database()"Using an agent? See Use with your agent: install one plugin or extension and the agent calls SQLX directly.
Install the CLI
Three channels, pick one: prebuilt packages from GitHub Releases, the npx installer, or the platform install scripts.
macOS and Linux
curl -fsSL https://raw.githubusercontent.com/OtterMind/sqlx/main/scripts/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"
sqlx --version
sqlx initThe installer selects your platform, downloads the executable and verifies its SHA-256. It installs to ~/.local/bin; add that directory to your shell's persistent PATH. SQLXINSTALLDIR chooses another directory and SQLX_VERSION selects a release version.
Windows x64
Run in PowerShell:
$installer = Join-Path $env:TEMP 'sqlx-install.ps1'
Invoke-WebRequest 'https://raw.githubusercontent.com/OtterMind/sqlx/main/scripts/install.ps1' -OutFile $installer
powershell -NoProfile -ExecutionPolicy Bypass -File $installer
$env:Path = "$env:LOCALAPPDATA\Programs\SQLX;$env:Path"
sqlx --version
sqlx initAdd %LOCALAPPDATA%\Programs\SQLX to your user PATH for future sessions. Neither installer overwrites an unrelated executable already named sqlx; use a different install directory in that case.
Prebuilt targets are macOS ARM64/x64, Linux ARM64/x64 and Windows x64; the Linux baseline is Ubuntu 24.04. Release users do not need Rust, Java or database drivers: database workers and a private JRE are downloaded only when needed.
Node.js (npx)
macOS, Linux and Windows x64 with Node.js 22 or newer:
npx -y @ottermind/sqlx@latest
export PATH="$HOME/.local/bin:$PATH"
sqlx --versionThe installer verifies the release manifest, SHA256SUMS and the downloaded archive before installing. It uses the same user-level location as the platform installers and installs the Skill into ./sqlx; --target codex, --target claude, --target dsh, --target pi or --target place the Skill somewhere else. Node.js is needed only by the installer, never by the CLI.
Updates
The CLI updates its own executable:
sqlx update check # report the latest stable version without installing it
sqlx update install # download, verify and replace the executable
sqlx update status # read local history without network accesssqlx update install --version installs an exact stable version. Updates do not stop running SQL or the UI service, do not modify saved connections, and do not update Skills or plugins automatically; use sqlx skill update for managed Skills, and an installed UI plugin keeps the version you selected (the default interface moves with the CLI release).
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
SQLX: common questions
- Is SQLX MCP server safe?
- Yes, by our scan: it is graded A (90/100). Read the SQLX safety report
- How do I install SQLX?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does SQLX need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is SQLX maintained?
- The last commit was 22 days ago (2026-10-13). The latest release is v0.1.21.
- What can I use instead of SQLX?
- Servers from other publishers that do the same job: DBHub MCP server, Faucet MCP server and LINQ to DB MCP server.
- How does SQLX compare with other Databases MCP servers?
- safety score 90/100 (higher than 83% of 802 Databases servers); github stars 2 (more than 60% of 602 Databases servers). Full comparison.
Alternatives to SQLX
Same job from other publishers: the closest match first, then the best rated.
- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA
- FaucetSQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.not reviewedEstablishedA
- LINQ to DBInspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.not reviewedEstablishedA
Magic CloudGenerate secured CRUD APIs over your database, run SQL, manage files, tasks and a headless browsernot reviewedEstablishedA- ArcadeDBMulti-Model database with built-in MCP server for SQL, Cypher, Gremlin, and GraphQL.not reviewedGrowingB