Query PostgreSQL, MySQL, MariaDB, SQLite and MongoDB with two tools and few tokens.
Connect Runs on your machine
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
{
"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>"
}
}
}
}
{
"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>"
}
}
}
}
{
"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
| Name | Description |
|---|---|
QH_DSNRequired, secret | Connection string of the database to query, e.g. postgres://reader:[email protected]:5432/shop |
QH_ENGINEOptional | 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_NAMEOptional | Name the agent sees for the connection (default db) |
QH_DESCRIPTIONOptional | One line telling the agent what the database holds |
QH_MODEOptional | ro (default) for read-only, or rw to allow writes |
Details
| Package | ghcr.io/anderson-0/qh:1.0.3 (OCI, stdio) |
| First published | 15 Oct 2026 |
| Last updated | 15 Oct 2026 |
| Registry name | io.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.
