qh MCP Server
by anderson-0io.github.anderson-0/qhv1.0.3
Query PostgreSQL, MySQL, MariaDB, SQLite and MongoDB with two tools and few tokens.
context tax
pending
security
pending
cold start
pending
freshness
pending
Our reading of qh, from the data
qh is a database MCP server from anderson-0, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
With 0 GitHub stars it ranks #676 of 1,397 database servers we index.
It runs locally on your machine over stdio and needs one secret (QH_DSN); use a scoped, least-privilege key.
Install qh MCP server
Install in Claude Code
claude mcp add qh -e QH_DSN='<qh-dsn>' -- docker run -i --rm -e QH_DSN ghcr.io/anderson-0/qh:1.0.3 mcpInstall in Cursor
{
"mcpServers": {
"qh": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"QH_DSN",
"ghcr.io/anderson-0/qh:1.0.3",
"mcp"
],
"env": {
"QH_DSN": "<qh-dsn>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"qh": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"QH_DSN",
"ghcr.io/anderson-0/qh:1.0.3",
"mcp"
],
"env": {
"QH_DSN": "<qh-dsn>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"qh": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"QH_DSN",
"ghcr.io/anderson-0/qh:1.0.3",
"mcp"
],
"env": {
"QH_DSN": "<qh-dsn>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"qh": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"QH_DSN",
"ghcr.io/anderson-0/qh:1.0.3",
"mcp"
],
"env": {
"QH_DSN": "<qh-dsn>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| QH_DSN | yes | yes | Connection string of the database to query, e.g. postgres://reader:password@db.example.com:5432/shop |
| QH_ENGINE | — | — | 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 | — | — | Name the agent sees for the connection (default db) |
| QH_DESCRIPTION | — | — | One line telling the agent what the database holds |
| QH_MODE | — | — | ro (default) for read-only, or rw to allow writes |
Freshness
Not enough public signals yet to judge maintenance.
Last commit (default branch)
2026-10-16 · 2d ago · GitHub
Latest release
2026-10-15 · 3d ago · GitHub · v1.0.3
Package published
no data · npm/PyPI
Registry entry updated
2026-10-15 · 3d ago · official registry · v1.0.3
How it compares in Database
Against the most-starred database servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| qh (this) | 0 | — | not measured | — | local |
| Screenpipe | 21,982 | — | not measured | Active | — |
| Genai Toolbox | 16,679 | — | not measured | Active | hosted |
| Convex Backend | 12,716 | — | not measured | Active | — |
| Kubeshark | 12,100 | — | not measured | Active | local |
| Baserow | 6,174 | — | not measured | Active | — |
FAQ
›How do I install the qh MCP server in Claude Code?
Run: claude mcp add qh -e QH_DSN='<qh-dsn>' -- docker run -i --rm -e QH_DSN ghcr.io/anderson-0/qh:1.0.3 mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does qh require an API key?
Yes. It expects QH_DSN, of which 1 is a secret.
›Can I use qh as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is qh in the official MCP registry?
Yes, as io.github.anderson-0/qh.
Sources and method
- Official MCP Registry entry
- updated 2026-10-15
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Spot an error? Request a correction or claim the listing.
Alternatives to qh
Other database MCP servers.