Install qh in Claude Code
claude mcp add qh -e QH_DSN=... -- docker run -i --rm -e QH_DSN ghcr.io/anderson-0/qh:1.0.3{
"mcpServers": {
"qh": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"QH_DSN",
"ghcr.io/anderson-0/qh:1.0.3"
],
"env": {
"QH_DSN": "..."
}
}
}
}Replace each ... with your own value.
Frequently asked questions
What does the qh MCP server do?
Query PostgreSQL, MySQL, MariaDB, SQLite and MongoDB with two tools and few tokens.
Is the qh MCP server free?
Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.
Does qh run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add qh to Claude Code?
Run: claude mcp add qh -e QH_DSN=... -- docker run -i --rm -e QH_DSN ghcr.io/anderson-0/qh:1.0.3
More databases MCP servers
View allRaw SQL
KifoPL/RawSqlMcp
Execute raw SQL queries against SQL Server, SQLite, PostgreSQL, MySQL, and MariaDB.
PySpark
AnnasMazhar/pyspark_mcp
SQL migration, AWS Glue job generation, and PySpark optimization as an MCP server.
Redis
upstash/redis-mcp
Run Redis commands and look up Upstash Redis Search docs against Upstash Redis over HTTP or TCP.
pREST
prest/prest-mcp-adapter
Stdio MCP adapter bridging AI clients to pREST’s HTTP /_mcp endpoint for PostgreSQL APIs.
refcheck
UMN-Choi-Lab/refcheck
Verify academic citations against real databases. Catches hallucinated references, exports BibTeX.
PostgreSQL Performance (read-only)
gouranshul/pg-perf-mcp
Read-only PostgreSQL performance diagnostics: slow queries, EXPLAIN, index advice, locks, functions