MCP servers for SQL Server

24 ways to connect SQL Server to Claude, Cursor or VS Code. 1 are hosted, so there's nothing to install; the rest run on your machine. Each row shows the security checks, the secrets asked for and an install command.

Sort
How we check servers

Registry data fetched

SQL Server MCP servers 24

MCP servers, SQL Server, most relevant first
Type Secrets Version Actions
★ 9 io.github.alyiox/mcp-mssql

MCP server for SQL Server metadata, parameterized queries, plan analysis, and writes opt-in.

4/4All passed52health of 100NuGetRuns locally1secret asked1.8.0
★ 3 io.github.cvelasquez/mcp-sqlserver

MCP server for DBAs running dozens of SQL Server instances: grouped connections, plans, indexes

7/7All passed53health of 100npmRuns locally1secret asked3.3.0
★ 1 io.github.sezzlee/mssql

Explore and query Microsoft SQL Server read-only: catalogue search, schema and bounded queries.

7/7All passed50health of 100npmRuns locally1secret asked0.2.1
★ 1 io.github.hermessilva/mssql-localdb-mcp

MCP server for SQL Server Express LocalDB on Windows: manage instances, run T-SQL, discover DBs

5/61 warning40health of 100MCPBRuns locallyNoneno keys asked0.1.0
★ 1 io.github.TharanaBope/sql-server-mcp

SQL Server MCP with RAG capabilities for Windows (native ODBC support)

7/7All passed40health of 100npmRuns locallyNoneno keys asked1.0.4
★ 1 io.github.TharanaBope/sql-server-mcp-macos

SQL Server MCP with RAG capabilities for macOS (Docker SQL Server support)

7/7All passed40health of 100npmRuns locallyNoneno keys asked1.0.4
com.insightfulpipe/mssql

Hosted SQL Server MCP server for Claude, ChatGPT and Cursor, with each action switched per account.

3/3All passed47health of 100RemoteHostedNoneno keys asked1.0.0
io.github.elekto-com-br/elekto-mcp-sql

Read-only SQL Server introspection and querying: schema, definitions, dependencies and data.

4/4All passed43health of 100NuGetRuns locallyNoneno keys asked2.3.4
io.github.hlgurgel/sqlserver

Servidor MCP para SQL Server com controle de permissões e modo somente-leitura

7/7All passed50health of 100PyPIRuns locally1secret asked0.1.8
★ 3.7k io.github.bytebase/dbhub

Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite

6/82 warnings76health of 100npmRuns locally4secrets asked1.5.0
★ 166 io.github.faucetdb/faucet

SQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.

7/7All passed60health of 100npmRuns locallyNoneno keys asked0.1.15
★ 8 io.github.orifisher2/sqlike-mcp

Lints SQL and checks rewrites return the same rows. Postgres, MySQL, MariaDB, SQLite, MSSQL, DuckDB

7/7All passed66health of 100npmRuns locally1secret asked0.2.3
★ 8 io.github.mbentham/sqlaugur

MCP server providing AI assistants with safe, read-only SQL Server access

4/4All passed55health of 100NuGetRuns locallyNoneno keys asked1.3.1
★ 6 io.github.dataplat/dbatools-mcp-server

MCP server for dbatools — exposes SQL Server management commands as MCP tools

7/7All passed64health of 100npmRuns locallyNoneno keys asked0.5.0
★ 6 io.github.tkmawarire/sql-sentinel

SQL Server monitoring and diagnostics for AI agents using Extended Events. No ODBC drivers required.

3/41 warning46health of 100NuGetRuns locallyNoneno keys asked2.3.1
★ 4 io.github.SurajKGoyal/amnesic

Persistent semantic memory for SQL databases. Postgres, MySQL, MSSQL, SQLite.

7/7All passed61health of 100PyPIRuns locallyNoneno keys asked0.2.2
★ 3 io.github.codedb-io/codedb-lens

Read-only health checks and data questions for SQL Server and PostgreSQL, with your saved profiles.

4/4All passed48health of 100DockerRuns locally1secret asked0.9.0
★ 1 io.github.caiderek/logcarver-mcp

Read-only MCP server that finds deleted SQL Server rows from the transaction log (fn_dblog).

4/4All passed52health of 100NuGetRuns locally1secret asked0.1.4
★ 1 io.github.caiderek/logcarverguard

Guardrail for AI agents on SQL Server: statement blocking, optional read-only mode and an audit log.

4/4All passed52health of 100NuGetRuns locally1secret asked0.1.0
★ 1 io.github.igorolv/jdbc-mcp-server

Read-only SQL, plans, schema for AI agents: PostgreSQL, Oracle, SQL Server, Firebird, SQLite, JDBC

4/4All passed52health of 100DockerRuns locallyNoneno keys asked0.2.0
★ 1 io.github.phatngoit/mcp-db-connect

MCP server for Oracle, MSSQL, PostgreSQL, MySQL, SQLite, MongoDB, and Qdrant vector search access.

7/7All passed56health of 100npmRuns locally1secret asked0.1.21
io.github.RalfHuesing/SqlToAi

Microsoft SQL Server schema discovery and SQL tools over local stdio on Windows x64.

4/4All passed53health of 100MCPBRuns locallyNoneno keys asked1.0.34
io.github.alghanim/universal-db-mcp

Read-only, guarded SQL access for AI agents: PostgreSQL, MySQL, ClickHouse, Oracle, SQL Server, Db2

4/4All passed43health of 100DockerRuns locallyNoneno keys asked0.2.0
io.github.Nithish1206/SqlServerMcp

MCP server for SQL Server: schema inspection, safe read-only queries, query plan analysis

4/4All passed45health of 100NuGetRuns locallyNoneno keys asked1.0.6

Showing 1 to 24 of 24. These are the most recently updated; search or pick a category for the rest.

SQL Server MCP servers: common questions

Which SQL Server MCP server should I use?

Among community builds, the most-starred on GitHub are Microsoft SQL Server (★ 9), SQL Server MCP (★ 3) and Sezzlee SQL Server (★ 1). If you want one that passed every check, Microsoft SQL Server did.

Are SQL Server MCP servers safe to install?

On registry checks, 21 of 24 come out clean. We also read the code or live tool list of 12 of them without running anything, and 1 raised a warning worth reading, such as an install script or text aimed at the AI. Treat a pass as "nothing found", and give any server the least access that works.

Which SQL Server MCP servers need no API key?

14 of the 24 list no secrets, including MSSQL LocalDB MCP, SQL Server MCP (Windows) and SQL Server MCP (macOS). Some still ask you to sign in once they run.

Who makes these SQL Server MCP servers?

No company-verified one yet (checked 31 Oct 2026). All 24 SQL Server servers are community builds from 22 different publishers, so check who is behind one before you hand it a SQL Server key.

How fresh are these SQL Server MCP servers?

14 of the 24 were updated in the 30 days before 31 Oct 2026. The latest was sqlike-mcp, on 27 October.

Do I have to install a SQL Server MCP server?

1 can run hosted, so you only paste a URL into Claude, Cursor or VS Code. The 23 that run locally ship as 9 npm, 7 NuGet, 3 Docker, 2 MCPB bundle and 2 PyPI packages.

More topics: every “MCP server for…” page. Prefer a skill? Claude skills for this (20).