qh

io.github.anderson-0/qh

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "qh": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/anderson-0/qh:1.0.3"
      ],
      "env": {
        "QH_DSN": "<your QH_DSN>",
        "QH_MODE": "ro"
      }
    }
  }
}
Environment variables
  • QH_DSNrequiredsecretConnection string of the database to query, e.g. postgres://reader:password@db.example.com:5432/shop
  • QH_MODEro (default) for read-only, or rw to allow writes

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Databases
Version
1.0.3
Registry
active
Published
10/15/2026
Browse all Databases →

Add the badge to your site

Show visitors that qh is listed here — it’s also the link we check for a free listing.

qh — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-anderson-0-qh?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="qh — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![qh — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-anderson-0-qh?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.