SQL Server MCP for Claude
@shakunvohradeltek
关于 SQL Server MCP for Claude
This is a MCP Server for Claude-Code to connect to you Microsoft SQL Server
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is SQL Server MCP for Claude?
SQL Server MCP for Claude is a Model Context Protocol integration that enables Claude to directly query and analyze data from a SQL Server database using natural language. It connects via pymssql without requiring ODBC.
How to use SQL Server MCP for Claude?
Run the provided install_sql_mcp.sh script and follow the prompts for connection details. After installation, start Claude with claude and use the @sql execute_sql prefix to ask SQL questions. Verify connectivity with ./run_simple_sql.sh "SELECT 1 AS TestQuery".
Key features of SQL Server MCP for Claude
- No ODBC required; uses pymssql directly
- Minimal dependencies and simplified architecture
- Works with Claude’s MCP system
- Cross-platform on macOS and Linux
- One-step installation with smart configuration
- Preserves existing MCP settings and Claude instructions
Use cases of SQL Server MCP for Claude
- Ask natural‑language questions about your SQL Server data
- Explore database schemas before writing queries
- Rapidly prototype and test SQL queries via Claude
- Perform interactive data analysis with gradual query complexity
FAQ from SQL Server MCP for Claude
What are the prerequisites for installation?
macOS or Ubuntu Linux, Python 3.7+, FreeTDS (installed automatically), the Claude CLI, and SQL Server credentials with read‑only permissions.
Does the integration require ODBC?
No, it connects directly to SQL Server using pymssql without any ODBC dependency.
How should I secure the database connection for Claude?
Use a dedicated read‑only database user with restricted permissions (e.g., no DROP, DELETE, or table creation). Never use sa or admin accounts in production.
How can I verify the integration is working correctly?
Run ./run_simple_sql.sh "SELECT 1 AS TestQuery" to test direct connectivity. You can also check MCP status with claude /mcp.
What should I do if I see “Connection failed” messages during use?
If queries still return results, these messages are normal and can be ignored. They do not affect functionality.
AI 与智能体 分类下的更多 MCP 服务器
mcp-hfspace MCP Server 🤗
evalstateMCP Server to Use HuggingFace spaces, easy configuration and Claude Desktop mode.
Open Multi-Agent Canvas
CopilotKitThe open-source multi-agent chat interface that lets you manage multiple agents in one dynamic conversation and add MCP servers for deep research
1MCP - One MCP Server for All
1mcp-appA unified Model Context Protocol server implementation that aggregates multiple MCP servers into one.
Shell and Coding agent for Claude and other mcp clients
rusiaamanShell and coding agent on mcp clients
1Panel
1Panel-dev🔥 1Panel is a modern, open-source VPS control panel — and the only one with native AI agent support. Run Ollama models, deploy OpenClaw agents, and manage your entire server stack from one clean web interface.
评论