MCPVault

get_top_queries

MCP tool from Mssql MCP by codegiveness

Top queries by CPU/duration/reads from sys.dmexecquerystats.

How to use it

get_top_queries is exposed by the Mssql MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_top_queries tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Mssql MCP

$npx -y @codegiveness/mssql-mcp --version
FULL MSSQL MCP LISTING