MCP.Market

MSSQL LocalDB MCP server

by hermessilva·io.github.hermessilva/mssql-localdb-mcp·v0.1.0·1 stars

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

B80/100grade B
What users say
No reviews yet
Be the first
Safety scan
B80/100

full report

Adoption
New

1 stars

Reviews

Write one

Nobody has reviewed MSSQL LocalDB MCP yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

MSSQL LocalDB MCP tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it

no findings
  • –Code scanpackage could not be scannedn/a
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 55 days ago12/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 80/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How MSSQL LocalDB MCP compares

Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
80/100
higher than 50% of 802 Databases servers
GitHub stars
1
more than 45% of 602 Databases servers

Install MSSQL LocalDB MCP in Claude Code, Cursor or VS Code

The registry entry has no remote endpoint or installable package.

What the publisher says

From the MSSQL LocalDB MCP repository's README, as published. We do not edit it. Read it on GitHub

mssql-localdb-mcp

Rust MCP server for SQL Server Express LocalDB on Windows. Gives AI agents (Claude Desktop, Claude Code, and any MCP client) full control over LocalDB instances: create/manage instances, run any T-SQL script, find loose database files in project folders and attach them, introspect schema.

Status: MVP (Phase 1) functional and tested against real LocalDB — see docs/PLANNING.md for the roadmap and current phase.

Why

Existing MCP tools for SQL Server assume an already-configured remote server and require an external runtime (Python, .NET, Node). This project is:

  • Single Rust binary, no external runtime, no Docker.
  • LocalDB-focused: local dev workflow — find a loose .mdf in a project folder, attach it, run a script, no need to open SSMS.
  • Windows-only by design, not a generic multi-database abstraction.

Requirements

  • Windows with SQL Server Express LocalDB installed (SqlLocalDB.exe on PATH).
  • A compatible MCP client (Claude Desktop, Claude Code, etc.).

Installation

Via MCP Registry

Published on the official MCP Registry as io.github.hermessilva/mssql-localdb-mcp. Install through any MCP client that supports the registry.

Via VS Code extension

The vscode-extension/ directory packages the server as a VS Code extension that registers it automatically through the MCP provider API (VS Code 1.101+), with the Windows binary bundled — nothing to download or configure by hand. Build the .vsix locally with:

./build-vsix.ps1                 # bumps the build segment; -Version x.y.z or -NoBump to control it
code --install-extension .\mssql-localdb-mcp-1.0.1-win32-x64.vsix

The extension has its own version line, independent from Cargo.toml — the crate version is what the vX.Y.Z tag and the MCP Registry publish.

Via Claude Code plugin

The claude-plugin/ directory in this repo is a self-contained Claude Code plugin (bundles the Windows binary directly, no separate download). Load it directly with:

claude --plugin-dir path\to\LocalDB-MCP\claude-plugin

Submitted to the claude-community marketplace for review — once approved, install it with claude plugin marketplace add anthropics/claude-plugins-community followed by claude plugin install mssql-localdb-mcp@claude-community.

From source

Requires Rust and LocalDB installed.

git clone https://github.com/hermessilva/LocalDB-MCP.git
cd LocalDB-MCP
cargo build --release

Binary at target\release\mssql-localdb-mcp.exe.

Configure config.toml

dbscanfolder requires at least one explicitly allowed root — without it, the tool refuses to run. Create %APPDATA%\mssql-localdb-mcp\config.toml:

# Windows paths in TOML need single quotes (literal string) — double
# quotes interpret \U... as a unicode escape and break parsing.
scan_allowlist = ['C:\Users\YourUser\source\repos']
scan_max_depth = 6
default_query_timeout_secs = 30
default_max_rows = 1000

Configure in your MCP client

Claude Desktop / Claude Code (claudedesktopconfig.json or equivalent):

{
  "mcpServers": {
    "mssql-localdb": {
      "command": "C:\\path\\to\\LocalDB-MCP\\target\\release\\mssql-localdb-mcp.exe"
    }
  }
}

Claude Code via CLI:

claude mcp add mssql-localdb -- "C:\path\to\LocalDB-MCP\target\release\mssql-localdb-mcp.exe"

After that, the agent has access to the localdb, sql, and db tools — see docs/MCPSPEC.md for the full list.

Documentation

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

MSSQL LocalDB MCP: common questions

Is MSSQL LocalDB MCP server safe?
Mostly: it is graded B (80/100). Read the MSSQL LocalDB MCP safety report
Does MSSQL LocalDB MCP need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is MSSQL LocalDB MCP maintained?
The last commit was 94 days ago (2026-08-02). The latest release is v0.1.0.
What can I use instead of MSSQL LocalDB MCP?
Servers from other publishers that do the same job: Mssql Reader MCP server, DBHub MCP server and Motherduck MCP server.
How does MSSQL LocalDB MCP compare with other Databases MCP servers?
safety score 80/100 (higher than 50% of 802 Databases servers); github stars 1 (more than 45% of 602 Databases servers). Full comparison.

Alternatives to MSSQL LocalDB MCP

Same job from other publishers: the closest match first, then the best rated.

  • Mssql Reader
    Read-only MCP server for Microsoft SQL Server — schema discovery, profiling, safe querying
    A
  • DBHub
    Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
    A
  • Motherduck
    SQL analytics and data engineering for AI Assistants and IDEs
    A
  • Keboola
    Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...
    A
  • GeoLens
    Read-only access to a self-hosted GeoLens spatial catalog: datasets, features, maps, sandboxed SQL.
    B