ModelFarebeta
Back to AI Toolkit

DBHub

Connect assistants to SQL databases through one configurable server.

MCPMCP server

Data & storage · Documentation reviewed 2026-11-10. Not independently tested.

When it helps

Schema exploration, query debugging, and controlled access across supported SQL engines.

What to consider

Queries run with your database credentials. Read-only mode, row limits, and query timeouts help constrain operations but do not replace database permissions.

Getting started

Install the documented Node package or container, add a development database connection, and configure read-only limits.

Access & costs

Runs
Local / Self-hosted
External account
Not required
API key
Not required
Costs
Local or service costs

No inference key is required by DBHub. Database credentials and any managed database hosting are separate.

  • Node.js 22.5+ or supported container
  • Supported SQL database and scoped credentials

MCP connection

Documented transports
Standard input/output (stdio)
Documented clients
Claude Desktop, Claude Code, Cursor

What it can access or do

  • Explore database schemas
  • Execute queries against configured connections

Prefer a read-only database user for analysis. Protect connection strings; the server can access the data that user can read.

Documentation reviewed, not connection-tested. Model calls made by your assistant can incur separate charges.

Repository evidence

Stars: 3,940 · License: MIT

Last code push: 2026-11-21

Statistics retrieved: 2026-11-23T00:42:59+00:00

Counts are snapshots, not live rankings. Review the repository license and any hosted-service terms before adopting it.

Adding model calls?

Plan the tokens, retries, and fallback costs before connecting your tools.

Open the planner