querydig for Cursor
io.github.milankatira/querydig
Find, fix and verify N+1 and slow MongoDB/SQL queries in JS/TS, Python, Go, Java, Ruby and PHP.
client:Cursor
transport:stdio
runtime:npm
Install querydig in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"querydig": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"querydig"
],
"env": {
"QUERYDIG_DB_URI": "<QUERYDIG_DB_URI>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs