{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.milankatira/querydig",
  "slug": "io.github.milankatira.querydig",
  "title": "querydig",
  "summary": "Find, fix and verify N+1 and slow MongoDB/SQL queries in JS/TS, Python, Go, Java, Ruby and PHP.",
  "version": "0.10.0",
  "serverKey": "querydig",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.milankatira.querydig",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.milankatira.querydig/install.md",
  "trust": {
    "score": 95,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T13:14:46.836635625Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "querydig@0.10.0",
        "mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add querydig -- npx -y querydig@0.10.0 mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"querydig\": {\n      \"args\": [\n        \"-y\",\n        \"querydig@0.10.0\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"querydig\": {\n      \"args\": [\n        \"-y\",\n        \"querydig@0.10.0\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"querydig\": {\n      \"args\": [\n        \"-y\",\n        \"querydig@0.10.0\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.querydig]\ncommand = \"npx\"\nargs = [\"-y\", \"querydig@0.10.0\", \"mcp\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "QUERYDIG_DB_URI",
      "required": false,
      "secret": true,
      "description": "Optional read-only MongoDB or Postgres URI for live evidence (query plans, row counts, slow queries, missing indexes).",
      "help": "Optional read-only MongoDB or Postgres URI for live evidence (query plans, row counts, slow queries, missing indexes).",
      "placeholder": "<QUERYDIG_DB_URI>"
    }
  ],
  "expectedTools": [
    "scan_queries",
    "get_finding_context",
    "analyze_snippet",
    "explain_rule",
    "list_rules",
    "apply_safe_fixes",
    "suggest_indexes"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: scan_queries, get_finding_context, analyze_snippet, explain_rule, list_rules, apply_safe_fixes, suggest_indexes.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T13:14:46.836635625Z"
}
