Metabase AI Assistant vs Dbhub

A side-by-side look at the Metabase AI Assistant and Dbhub MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Metabase AI Assistant logoMetabase AI AssistantDatabases · Local subprocess (stdio)MCP Server for Metabase - 111 tools for SQL generation, dashboards & PostgreSQL63GoodAuth: not declaredDbhub logoDbhubDatabases · Local subprocess (stdio)Minimal Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB57GoodAuth: not declared

Verdict: choose Metabase AI Assistant for databases work as a local process; choose Dbhub for databases as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Metabase AI Assistant logoChoose Metabase AI Assistant when

  • You need dedicated capabilities in the Databases domain.
  • You prefer a local stdio subprocess transport.
  • You have the keys it needs: METABASE_URL, METABASE_API_KEY.
  • You want tools like db_list, db_test_speed, db_schemas.
Explore Metabase AI Assistant

Dbhub logoChoose Dbhub when

  • You need dedicated capabilities in the Databases domain.
  • You prefer a local stdio subprocess transport.
  • You want tools like dbhub.toml.
Explore Dbhub

Feature & specification comparison

Rows where the two servers differ are marked.

SpecMetabase AI Assistant logoMetabase AI AssistantDbhub logoDbhub
CategoryDatabasesDatabases
Quality signal63/100 · Good57/100 · Good
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNot declaredNot declared
PricingNot declaredNot declared
Required env varsMETABASE_URLMETABASE_API_KEYNone listed
Verified ownerCommunity listingCommunity listing
GitHub stars493,713
Directory activity 2 views 0 installs 0 upvotes 1 views 0 installs 0 upvotes
Tools1341

Tools & capabilities

Metabase AI Assistant tools 134

  • db_listGet list of all databases in Metabase instance with IDs and connection types
  • db_test_speedCheck database response time and performance - run this before heavy operations to determine optimal timeout settings
  • db_schemasGet all schema names in specified database - useful for data exploration and finding business data locations
  • db_tablesGet comprehensive table list across all schemas with field counts - provides overview of data structure
  • db_table_profileGet comprehensive table profile: row count, column types, distinct values, sample data. Auto-detects dimension/reference tables (dim_, ref_, lookup_ prefix). Ideal for understanding lookup tables before writing queries.
  • sql_executeRun SQL queries against database - supports SELECT, DDL with security controls, returns formatted results. For long-running queries (>60s), use sql_submit instead.
  • sql_submitSubmit a long-running SQL query asynchronously. Returns immediately with job_id. Use sql_status to check progress. Ideal for queries that may take minutes.
  • sql_statusCheck status of an async query submitted via sql_submit. Returns results when complete.
  • sql_cancelCancel a running async query. Also attempts to cancel on database server.
  • mb_question_createCreate new question/chart
  • mb_questionsBrowse saved questions and charts in Metabase - filter by collection to find specific reports
  • mb_dashboard_createCreate a new dashboard in Metabase with layout options
  • +122 more on the listing page

Dbhub tools 1

  • dbhub.toml

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

Metabase AI Assistant

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "metabase-ai-assistant": {
      "command": "npx",
      "args": [
        "-y",
        "metabase-ai-assistant"
      ],
      "env": {
        "METABASE_URL": "YOUR_METABASE_URL_HERE",
        "METABASE_API_KEY": "YOUR_METABASE_API_KEY_HERE"
      }
    }
  }
}

Dbhub

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "dbhub": {
      "command": "npx",
      "args": [
        "-y",
        "@bytebase/dbhub@latest"
      ]
    }
  }
}

Frequently asked questions

Metabase AI Assistant is categorized under Databases and uses a local stdio subprocess. Dbhub belongs to Databases and uses a local stdio subprocess. Pick Metabase AI Assistant for databases work and Dbhub for databases.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

Metabase AI Assistant has no declared pricing — check the project's own site. Dbhub has no declared pricing — check the project's own site. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add metabase-ai-assistant and dbhub as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Metabase AI Assistant has a quality signal of 63/100 (Good) with 2 views, 0 installs and 49 GitHub stars. Dbhub has 57/100 (Good) with 1 views, 0 installs and 3,713 GitHub stars.