AI Skill Hub 强烈推荐:SQL Server性能监控工具 是一款优质的MCP工具。AI 综合评分 8.2 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
SQL Server性能监控工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
SQL Server性能监控工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/erikdarlingdata/PerformanceMonitor
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"sql-server------": {
"command": "npx",
"args": ["-y", "performancemonitor"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 SQL Server性能监控工具 执行以下任务... Claude: [自动调用 SQL Server性能监控工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"sql_server______": {
"command": "npx",
"args": ["-y", "performancemonitor"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <a href="https://github.com/erikdarlingdata/PerformanceMonitor/stargazers"><img src="https://img.shields.io/github/stars/erikdarlingdata/PerformanceMonitor?style=for-the-badge&logo=github&color=gold&logoColor=black" alt="GitHub Stars"></a> <a href="https://github.com/erikdarlingdata/PerformanceMonitor/network/members"><img src="https://img.shields.io/github/forks/erikdarlingdata/PerformanceMonitor?style=for-the-badge&logo=github" alt="GitHub Forks"></a> <a href="https://github.com/erikdarlingdata/PerformanceMonitor/blob/main/LICENSE"><img src="https://img.shields.io/github/license/erikdarlingdata/PerformanceMonitor?style=for-the-badge" alt="License: MIT"></a> <a href="https://github.com/erikdarlingdata/PerformanceMonitor/releases/latest"><img src="https://img.shields.io/github/v/release/erikdarlingdata/PerformanceMonitor?style=for-the-badge" alt="Latest Release"></a> <a href="https://github.com/erikdarlingdata/PerformanceMonitor/issues"><img src="https://img.shields.io/github/issues/erikdarlingdata/PerformanceMonitor?style=for-the-badge" alt="Open Issues"></a> <a href="https://github.com/erikdarlingdata/PerformanceMonitor/commits/main"><img src="https://img.shields.io/github/last-commit/erikdarlingdata/PerformanceMonitor?style=for-the-badge" alt="Last Commit"></a> <a href="https://github.com/erikdarlingdata/PerformanceMonitor/actions/workflows/build.yml"><img src="https://img.shields.io/github/actions/workflow/status/erikdarlingdata/PerformanceMonitor/build.yml?style=for-the-badge&label=CI" alt="CI"></a> </p> <p align="center"> <a href="https://x.com/erikdarlingdata"><img src="https://img.shields.io/badge/Follow_%40ErikDarlingData-black?style=for-the-badge&logo=x&logoColor=white" alt="Follow @ErikDarlingData on X"></a> <a href="https://www.youtube.com/@ErikDarlingData"><img src="https://img.shields.io/badge/YouTube-Subscribe-red?style=for-the-badge&logo=youtube&logoColor=white" alt="YouTube Subscribe"></a> <a href="https://www.linkedin.com/in/erik-darling-data/"><img src="https://img.shields.io/badge/LinkedIn-Connect-0077B5?style=for-the-badge&logo=linkedin&logoColor=white" alt="LinkedIn Connect"></a> <a href="https://erikdarling.com"><img src="https://img.shields.io/badge/Blog-erikdarling.com-FF6B35?style=for-the-badge&logo=wordpress&logoColor=white" alt="Blog"></a> </p>
Free, open-source monitoring that replaces the tools charging you thousands per server per year. Specialized collectors, real-time alerts, and a built-in MCP server for AI analysis. Nothing phones home. Your data stays on your server and your machine.
Supported: SQL Server 2016–2025 | Azure SQL Managed Instance | AWS RDS for SQL Server | Azure SQL Database (Lite and Darling)

---
1. Enable the MCP server in Settings (checkbox + port, default 5151) - The port must be between 1024 and 65535. Ports 0–1023 are well-known privileged ports reserved by the operating system. - On save, the app checks whether the chosen port is already in use and warns you if there is a conflict. - On startup, the app verifies the port is available before starting the MCP server. 2. Register with Claude Code:
claude mcp add --transport http --scope user sql-monitor http://localhost:5151/
3. Open a new Claude Code session and ask questions like: - "What servers are being monitored?" - "What are the top wait types on my server?" - "Are there any blocking or deadlock issues?" - "Show me CPU utilization for the last 4 hours" - "What are the most expensive queries by CPU?"
All projects target .NET 10.0.
```
dotnet build deprecated/Dashboard/Dashboard.csproj dotnet publish deprecated/Installer/PerformanceMonitorInstaller.csproj -c Release ```
---
PerformanceMonitorLite-win-Setup.exe — a self-contained build, so there is no .NET runtime to install first.%LocalAppData%\PerformanceMonitorLite, adds Start Menu and Desktop shortcuts, and registers the app under Apps & Features so it shows up in Windows search and can be uninstalled normally. Auto-update is wired in. Your data goes in %LocalAppData%\PerformanceMonitorLite-Data, a separate folder the installer never touches.Data starts flowing within 1–5 minutes. That's it. No installation on your server, no Agent jobs, no sysadmin required.
Taking the portable ZIP (PerformanceMonitorLite-<version>.zip) instead? It is a self-contained win-x64 build too, so there is nothing to install first — unzip it anywhere and run PerformanceMonitorLite.exe. A stock Windows Server with no .NET on it at all is fine.
That was not always true: through 3.5.0 the ZIP was a portable build with no runtime of its own, and on a machine without .NET it died on the host’s own You must install .NET to run this application before a line of Lite’s code ran. Pinning the ZIP to win-x64 removed the requirement and halved the download — the old build shipped ~537 MB of runtimes\ for macOS, Linux, ARM and musl targets Windows can never load, which cost far more than bundling the runtime does. See Lite/README.md for the detail.
Upgrading from zip? Click Import Settings then Import Data in the sidebar and point both at your old Lite folder. Settings imports server connections, alert thresholds, SMTP config, and schedules. Data imports historical DuckDB + Parquet archives. Auto-update users (installed via Setup.exe) get updates automatically — no manual import needed.
Warning — upgrading an install older than the data-relocation fix: on those versions Lite kept its data inside the install directory, and re-runningSetup.exeover an existing install deletes that directory before the new build ever runs. It takes the DuckDB store, the Parquet archive, the logs, andsettings.jsonwith it. Upgrade in place instead: the About button in the left sidebar downloads and applies the update without touching your data, or extract the portable ZIP over your existing copy. From this release on, data lives outside the install directory and is moved there automatically on first start, soSetup.exeis safe again. (Your monitored-server list is unaffected either way — it lives in%ProgramData%\PerformanceMonitorLite\config— and so are the passwords in Windows Credential Manager.)
Always On AG? Enable ReadOnlyIntent in the connection settings to route Lite's monitoring queries to a readable secondary, keeping the primary clear. Enable MultiSubnetFailover for multi-subnet failover scenarios.
Darling is the always-on edition for teams that want 24/7 collection without a desktop app driving it: a Windows service collects from your servers around the clock into a central PostgreSQL store (TimescaleDB is detected and adopted automatically for compression and chunk-based retention), and a detached WPF viewer reads that store from any seat. It runs the same monitoring brain as Lite — collectors, alert engine, and analysis pipeline shared at the library level — with alerts over email and webhooks (Teams, Slack, PagerDuty, and generic HTTP POST) and the same MCP tool surface available on request. An optional built-in read-only web dashboard (off by default, its own port 5153) serves the fleet overview, per-server drill-down, and alert history to any browser, so operators can watch the fleet without installing the viewer.
PerformanceMonitorDarling-<version>.zip from the latest release — the signed service and viewer with the bundled PostgreSQL + TimescaleDB runtime beside the service exe, so a from-zero install needs no database provisioning.darling.sample.json to darling.json and add your servers (and optional SMTP / webhook delivery). In managed mode the service unpacks and runs its own PostgreSQL — no external database to set up.viewer\, and install-darling.ps1 leaves a Desktop shortcut. On the service host there is nothing to point at anything: it finds the same darling.json, derives the store connection, and opens on the fleet. For a seat on another machine, run --export-viewer-config on the service host and copy the folder it writes.--enable-web serves the browser dashboard on port 5153, --enable-mcp serves the MCP endpoint on 5152. Both take effect live, no restart.Never done this before? docs/uat-onboarding.md is the ordered path from a downloaded zip to all three surfaces — the WPF viewer, the web dashboard, and MCP — with the log line, HTTP response, or screen that proves each step worked, and the handful of things that reliably catch people out.
Configuration is a single JSON file with no schedule knobs. See the Darling operator guide for the configuration reference, permissions, and operations.
---
| File | Location | Purpose |
|---|---|---|
servers.json | %ProgramData%\PerformanceMonitorLite\config\ (machine-wide) | Server connections, shared across all Windows users on the machine. Passwords stay per-user in Windows Credential Manager. Optional **Utility Database** per server for community procs installed outside master. |
settings.json | %LOCALAPPDATA%\PerformanceMonitorLite-Data\config\ (per-user) | Retention, MCP server, startup behavior, alert thresholds, SMTP configuration |
collection_schedule.json | %LOCALAPPDATA%\PerformanceMonitorLite-Data\config\ (per-user) | Per-collector enable/disable and frequency |
ignored_wait_types.json | %LOCALAPPDATA%\PerformanceMonitorLite-Data\config\ (per-user) | 124 benign wait types excluded by default |
When a second Windows user on the same machine launches Lite, they see the shared servers.json immediately. SQL Auth and Entra MFA passwords are scoped to each user's own Credential Manager, so they'll be prompted once per server; Windows Auth works without any prompt.
---
sp_configure is not available on AWS RDS for SQL Server. Features that depend on server-level configuration must be set through AWS RDS Parameter Groups instead.
Blocked process threshold — Enables blocked-process-report collection (the richer XE-sourced blocking detail). Without it the blocked-process-report XE will not fire on RDS, but blocking is still captured by the always-on dmv_blocking_snapshot collector, so the blocking grid and block-chain viewer stay populated regardless.
sqlserver-ee-16.0 (or your edition/version), Type DB Parameter Groupblocked process threshold (s) and set it to 5 (seconds)SELECT c.name, c.value_in_use FROM sys.configurations AS c WHERE c.name = N'blocked process threshold (s)';Deadlocks — No parameter group configuration is required. The SQL Server deadlock monitor runs automatically on all platforms, and the xml_deadlock_report Extended Event fires without any threshold setting.
Azure SQL Database — The blocked process threshold is fixed at 20 seconds and cannot be changed. The blocked_process_report event fires automatically when blocking exceeds this duration.
---
Every edition includes an embedded Model Context Protocol server that exposes monitoring data to LLM clients like Claude Code and Cursor.
The tools answer from the monitor's own collected store, and that is the boundary worth stating up front: no MCP tool runs SQL an AI client wrote against your monitored servers. The handful of write-capable tools (Darling's view authoring, alert tuning, and server onboarding) change the monitor's own configuration, and the only live contact with a monitored server — the analysis plan fetch and the onboarding connection probe — runs the product's own fixed, read-only queries under the same least-privilege monitoring login the collectors use.
| Capability | Lite | Darling | Dashboard *(deprecated)* |
|---|---|---|---|
| Target server installation | None | None | Required |
| Runs collection | On-demand desktop app | 24/7 Windows service | SQL Agent on the target |
| Multi-server from one seat | Built-in | Built-in (central store) | Per-server install |
| Data storage | DuckDB + Parquet (local) | PostgreSQL + TimescaleDB (bundled) | SQL Server (on target) |
| Azure SQL Database | Supported | Supported | Not supported |
| Azure SQL MI / AWS RDS | Supported | Supported | Supported |
| Graphical plan viewer | Built-in, 30-rule PlanAnalyzer | Built-in, 30-rule PlanAnalyzer | Built-in, 30-rule PlanAnalyzer |
| Standalone plan viewer | Open/paste/drag .sqlplan | Open/paste/drag .sqlplan | Open/paste/drag .sqlplan |
| Alerts (tray + email + webhooks) | Yes | Email + webhooks (headless) | Yes |
| Themes | Dark and light | Dark and light | Dark and light |
| Portability | Single executable | Portable service + viewer zip | Server-bound |
| MCP server (LLM integration) | Built-in (77 tools) | On request | Built into Dashboard (66 tools) |
---
PerformanceMonitor 是一款专为 SQL Server 设计的性能监控工具。它能够帮助开发者和数据库管理员实时观测数据库运行状态,通过自动化手段收集关键性能指标,为 SQL Server 的性能调优与故障排查提供有力的数据支持。
本项目提供多种安装方式以适配不同的身份验证场景。对于 Windows Authentication,直接运行安装程序并指定服务器名即可;若使用 SQL Authentication,需在命令后附加 sa 账号及密码;针对 Entra ID (MFA) 环境,请使用 `--entra` 参数并提供邮箱。此外,支持使用 `--reinstall` 进行彻底的清理重装,以移除现有数据库及所有历史采集数据。
项目提供 Lite Edition(轻量版)与 Full Edition(完整版)两种模式。Lite Edition 用户只需下载 `PerformanceMonitorLite-win-Setup.exe`(需预装 .NET 10 Desktop Runtime),运行安装程序后,系统会自动在 `%LocalAppData%\PerformanceMonitorLite` 创建安装目录,并生成 Start Menu 与 Desktop 快捷方式,方便快速启动使用。
Lite 版的配置通过 `servers.json` 文件进行管理,该文件存放在 `%ProgramData%\PerformanceMonitorLite\config\` 路径下,实现机器范围内的服务器连接共享。为了安全性,密码会存储在 Windows Credential Manager 中。此外,针对 AWS RDS 环境,由于无法使用 `sp_configure`,用户必须通过 AWS RDS Parameter Groups 手动配置 `blocked process threshold`,以确保阻塞进程报告(blocked process reports)能够正常触发。
本项目集成了先进的 MCP (Model Context Protocol) Server 模块。无论是 Lite 还是 Full 版本,都内置了该协议服务器,能够将实时监控数据安全地暴露给 Claude Code、Cursor 等支持 MCP 的 LLM 客户端,实现通过 AI 驱动的智能化数据库运维与分析工作流。
FAQ 章节主要用于解决安装、配置及运行过程中的常见问题。通过查阅故障排除指南,开发者可以快速定位由于权限不足、环境依赖缺失或 AWS RDS 参数配置不当导致的异常情况,确保监控任务的稳定性。
成熟的SQL Server监控解决方案,32个采集器覆盖全面,实时性强。MCP集成便利云部署,382星评价稳定,是DBA工具箱必备项。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,SQL Server性能监控工具 是一款质量优秀的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | PerformanceMonitor |
| 原始描述 | 开源MCP工具:Free, open-source SQL Server performance monitoring — 32 collectors, real-time a。⭐382 · C# |
| Topics | 数据库监控性能诊断SQL Server实时采集DBA工具 |
| GitHub | https://github.com/erikdarlingdata/PerformanceMonitor |
| License | MIT |
| 语言 | C# |
收录时间:2026-05-20 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端