MCP Catalogs
Homemssql-mcp screenshot

mssql-mcp

by daobataotie·39·Score 39

A Python-based MCP server that enables SQL query execution and business intelligence capabilities for MSSQL databases.

databasedeveloper-toolsproductivity
11
Forks
0
Open issues
12 mo ago
Last commit
2d ago
Indexed

Overview

The mssql-mcp server provides database interaction capabilities through well-defined tools for reading and writing data, creating tables, and retrieving schema information. It also includes a unique business intelligence feature that can automatically generate insight memos based on data analysis. The implementation uses pyodbc for database connectivity and includes proper configuration options for different MCP clients.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Business analysts querying sales data and generating insights
you:Developers interacting with MSSQL databases through AI assistants
you:Teams automating database reporting and analytics workflows
you:What SQL Server versions are supported?
you:Can this server be used with other database systems?

When to choose this

Choose this if you need AI-assisted SQL query capabilities specifically for Microsoft SQL Server databases.

When NOT to choose this

Avoid if you need to connect to non-MSSQL databases, as this server is specifically designed for Microsoft SQL Server.

Tools this server exposes

6 tools extracted from the README
  • read_query

    Execute SELECT queries to read data from the database

  • write_query

    Execute INSERT, UPDATE, or DELETE queries

  • create_table

    Create new tables in the database

  • list_tables

    Get a list of all tables in the database

  • describe-table

    View schema information for a specific table

  • append_insight

    Add new business insights to the memo resource

Comparable tools

postgresql-mcpmysql-mcpsqlite-mcpdatabase-shell-mcp

Installation

  1. Install dependencies: pip install -r requirements.txt
  2. Create a config.json file in the same directory as server.py with your database connection details
  3. Add to Claude Desktop configuration:
{
  "mcpServers": {
    "mssql": {
      "command": "python",
      "args": ["/path/to/mssql-mcp/src/server.py"]
    }
  }
}```

FAQ

What SQL Server versions are supported?
The server uses ODBC Driver 17 for SQL Server, which supports SQL Server 2008 and later versions.
Can this server be used with other database systems?
This implementation is specifically designed for MSSQL. The README mentions it was adapted from an SQLite example.

Compare mssql-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.