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.3The 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_DSNEnv var· required· secretConnection string of the database to query, e.g. postgres://reader:[email protected]:5432/shopQH_ENGINEEnv var· optionalDatabase 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 .sqlite3QH_NAMEEnv var· optionalName the agent sees for the connection (default db)QH_DESCRIPTIONEnv var· optionalOne line telling the agent what the database holdsQH_MODEEnv var· optionalro (default) for read-only, or rw to allow writesDefault:ro
Links
Listed in the official MCP Registry since Oct 15, 2026. Mirrored daily; last checked Nov 26, 2026.