Skip to main content

qh

io.github.anderson-0/qh

v1.0.3Updated Oct 15, 2026stdio · Docker

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

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add qh -e 'QH_DSN=<your-qh-dsn>' -e QH_MODE=ro -- docker run -i --rm -e QH_DSN -e QH_MODE ghcr.io/anderson-0/qh:1.0.3

The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.

Configuration

5 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • QH_DSN
    Env var· required· secret
    Connection string of the database to query, e.g. postgres://reader:[email protected]:5432/shop
  • QH_ENGINE
    Env var· 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
    Env var· optional
    Name the agent sees for the connection (default db)
  • QH_DESCRIPTION
    Env var· optional
    One line telling the agent what the database holds
  • QH_MODE
    Env var· optional
    ro (default) for read-only, or rw to allow writesDefault: ro

Listed in the official MCP Registry since Oct 15, 2026. Mirrored daily; last checked Nov 26, 2026.