querydig MCP
An MCP server for the querydig tool that allows AI assistants to find, fix, and verify N+1, slow, and unoptimized MongoDB and SQL queries in source code. It integrates static analysis with live database evidence to provide severity-ranked findings and concrete fixes for performance issues.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Scan codebase for N+1 query patterns
- Verify query performance with live DB evidence
- Generate fix suggestions for slow queries
- Integrate query health checks into AI workflows
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
querydig 0.8.0
{
"version": "0.8.0",
"transport": "stdio",
"identifier": "querydig",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"packageArguments": [
{
"type": "positional",
"value": "mcp"
}
],
"environmentVariables": [
{
"name": "QUERYDIG_DB_URI",
"description": "Optional read-only MongoDB or Postgres URI for live evidence (query plans, row counts, slow queries, missing indexes)."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"querydig-mcp": {
"command": "npx",
"args": [
"-y",
"querydig@0.8.0",
"mcp"
],
"env": {
"QUERYDIG_DB_URI": "<YOUR_QUERYDIG_DB_URI>"
}
}
}
}Cline
{
"mcpServers": {
"querydig-mcp": {
"command": "npx",
"args": [
"-y",
"querydig@0.8.0",
"mcp"
],
"env": {
"QUERYDIG_DB_URI": "<YOUR_QUERYDIG_DB_URI>"
}
}
}
}VS Code
{
"servers": {
"querydig-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"querydig@0.8.0",
"mcp"
],
"env": {
"QUERYDIG_DB_URI": "<YOUR_QUERYDIG_DB_URI>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"querydig-mcp": {
"command": "npx",
"args": [
"-y",
"querydig@0.8.0",
"mcp"
],
"env": {
"QUERYDIG_DB_URI": "<YOUR_QUERYDIG_DB_URI>"
}
}
}
}Let your agent find its tools
Find servers like querydig MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.