# DBHub Analytics

> DBHub Analytics is an open-source MCP server for databases. MCP server for Databricks, BigQuery, PostgreSQL, MySQL, SQL Server, SQLite, MariaDB. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/amansingh63/dbhub-analytics
- **MCP Registry name:** io.github.amansingh63/dbhub-analytics
- **Categories:** databases, analytics and data
- **Listing updated:** 2026-11-13

## About

MCP server for Databricks, BigQuery, PostgreSQL, MySQL, SQL Server, SQLite, MariaDB

## Install

### Claude Code (Terminal)

```sh
claude mcp add dbhub-analytics --env DSN='<DSN>' --env DB_PASSWORD='<DB_PASSWORD>' --env SSH_PASSWORD='<SSH_PASSWORD>' --env SSH_PASSPHRASE='<SSH_PASSPHRASE>' -- npx -y dbhub-analytics
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "dbhub-analytics": {
      "command": "npx",
      "args": [
        "-y",
        "dbhub-analytics"
      ],
      "env": {
        "DSN": "<DSN>",
        "DB_PASSWORD": "<DB_PASSWORD>",
        "SSH_PASSWORD": "<SSH_PASSWORD>",
        "SSH_PASSPHRASE": "<SSH_PASSPHRASE>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "dbhub-analytics": {
      "command": "npx",
      "args": [
        "-y",
        "dbhub-analytics"
      ],
      "env": {
        "DSN": "<DSN>",
        "DB_PASSWORD": "<DB_PASSWORD>",
        "SSH_PASSWORD": "<SSH_PASSWORD>",
        "SSH_PASSPHRASE": "<SSH_PASSPHRASE>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "dbhub-analytics": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "dbhub-analytics"
      ],
      "env": {
        "DSN": "<DSN>",
        "DB_PASSWORD": "<DB_PASSWORD>",
        "SSH_PASSWORD": "<SSH_PASSWORD>",
        "SSH_PASSPHRASE": "<SSH_PASSPHRASE>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "dbhub-analytics": {
      "command": "npx",
      "args": [
        "-y",
        "dbhub-analytics"
      ],
      "env": {
        "DSN": "<DSN>",
        "DB_PASSWORD": "<DB_PASSWORD>",
        "SSH_PASSWORD": "<SSH_PASSWORD>",
        "SSH_PASSPHRASE": "<SSH_PASSPHRASE>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "dbhub-analytics": {
      "command": "npx",
      "args": [
        "-y",
        "dbhub-analytics"
      ],
      "env": {
        "DSN": "<DSN>",
        "DB_PASSWORD": "<DB_PASSWORD>",
        "SSH_PASSWORD": "<SSH_PASSWORD>",
        "SSH_PASSPHRASE": "<SSH_PASSPHRASE>"
      }
    }
  }
}
```

## FAQ

### Is DBHub Analytics free?

Yes. DBHub Analytics is open source, so you can use and self-host it for free.

### How do I add DBHub Analytics to Claude Code?

Run this command in your terminal: claude mcp add dbhub-analytics --env DSN='<DSN>' --env DB_PASSWORD='<DB_PASSWORD>' --env SSH_PASSWORD='<SSH_PASSWORD>' --env SSH_PASSPHRASE='<SSH_PASSPHRASE>' -- npx -y dbhub-analytics

### What are the best alternatives to DBHub Analytics?

The closest alternatives to DBHub Analytics are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP, Midplane and World Monitor.

## Alternatives

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.
- [CompanyData](https://ai-powered.com/mcp/companydata): CompanyData is a paid MCP server for analytics and data.
- [ChartAnt](https://ai-powered.com/mcp/chartant): ChartAnt is a freemium MCP server for design and media.
- [Quantivex Research](https://ai-powered.com/mcp/quantivex-research): Quantivex Research is a free MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/dbhub-analytics
