NestDaddy

qh

io.github.anderson-0/qh · v1.0.3

Query PostgreSQL, MySQL, MariaDB, SQLite and MongoDB with two tools and few tokens.

Connect Runs on your machine

Terminal
claude mcp add qh -e QH_DSN=<QH_DSN> -e QH_ENGINE=<QH_ENGINE> -e QH_NAME=<QH_NAME> -e QH_DESCRIPTION=<QH_DESCRIPTION> -e QH_MODE=<QH_MODE> -- docker run -i --rm ghcr.io/anderson-0/qh:1.0.3
claude_desktop_config.json
{
  "mcpServers": {
    "qh": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/anderson-0/qh:1.0.3"
      ],
      "env": {
        "QH_DSN": "<QH_DSN>",
        "QH_ENGINE": "<QH_ENGINE>",
        "QH_NAME": "<QH_NAME>",
        "QH_DESCRIPTION": "<QH_DESCRIPTION>",
        "QH_MODE": "<QH_MODE>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "qh": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/anderson-0/qh:1.0.3"
      ],
      "env": {
        "QH_DSN": "<QH_DSN>",
        "QH_ENGINE": "<QH_ENGINE>",
        "QH_NAME": "<QH_NAME>",
        "QH_DESCRIPTION": "<QH_DESCRIPTION>",
        "QH_MODE": "<QH_MODE>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "qh": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/anderson-0/qh:1.0.3"
      ],
      "env": {
        "QH_DSN": "<QH_DSN>",
        "QH_ENGINE": "<QH_ENGINE>",
        "QH_NAME": "<QH_NAME>",
        "QH_DESCRIPTION": "<QH_DESCRIPTION>",
        "QH_MODE": "<QH_MODE>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
QH_DSN
Required, secret
Connection string of the database to query, e.g. postgres://reader:[email protected]:5432/shop
QH_ENGINE
Optional
Database engine, needed only when QH_DSN does not start with a known scheme (postgres://, postgresql://, mysql://, mariadb://, mongodb://, mongodb+srv://, sqlite://) or end in .db, .sqlite or .sqlite3
QH_NAME
Optional
Name the agent sees for the connection (default db)
QH_DESCRIPTION
Optional
One line telling the agent what the database holds
QH_MODE
Optional
ro (default) for read-only, or rw to allow writes

Details

Packageghcr.io/anderson-0/qh:1.0.3 (OCI, stdio)
First published15 Oct 2026
Last updated15 Oct 2026
Registry nameio.github.anderson-0/qh

More databases servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.