MCP server for Databricks, BigQuery, PostgreSQL, MySQL, SQL Server, SQLite, MariaDB
registry version 0.2.0
npm
npx -y dbhub-analyticsnpm
npx -y dbhub-analytics@0.2.0
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"dbhub-analytics": {
"command": "npx",
"args": [
"-y",
"dbhub-analytics"
],
"env": {
"DSN": "<YOUR_DSN>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>"
}
}
}
}{
"mcpServers": {
"dbhub-analytics": {
"command": "npx",
"args": [
"-y",
"dbhub-analytics@0.2.0"
],
"env": {
"DSN": "<YOUR_DSN>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env DSN=<YOUR_DSN> --env DB_PASSWORD=<YOUR_DB_PASSWORD> dbhub-analytics -- npx -y dbhub-analytics
claude mcp add --env DSN=<YOUR_DSN> --env DB_PASSWORD=<YOUR_DB_PASSWORD> dbhub-analytics -- npx -y dbhub-analytics@0.2.0
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"dbhub-analytics": {
"command": "npx",
"args": [
"-y",
"dbhub-analytics"
],
"env": {
"DSN": "<YOUR_DSN>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>"
}
}
}
}{
"mcpServers": {
"dbhub-analytics": {
"command": "npx",
"args": [
"-y",
"dbhub-analytics@0.2.0"
],
"env": {
"DSN": "<YOUR_DSN>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"dbhub-analytics": {
"command": "npx",
"args": [
"-y",
"dbhub-analytics"
],
"env": {
"DSN": "<YOUR_DSN>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>"
}
}
}
}{
"servers": {
"dbhub-analytics": {
"command": "npx",
"args": [
"-y",
"dbhub-analytics@0.2.0"
],
"env": {
"DSN": "<YOUR_DSN>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"dbhub-analytics": {
"command": "npx",
"args": [
"-y",
"dbhub-analytics"
],
"env": {
"DSN": "<YOUR_DSN>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>"
}
}
}
}{
"mcpServers": {
"dbhub-analytics": {
"command": "npx",
"args": [
"-y",
"dbhub-analytics@0.2.0"
],
"env": {
"DSN": "<YOUR_DSN>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
DSN secret — Database connection string (e.g., postgres://user:pass@host:5432/db)DB_TYPE — Database type: postgres, mysql, mariadb, sqlserver, sqlite, databricks, bigqueryDB_HOST — Database hostnameDB_PORT — Database portDB_USER — Database usernameDB_PASSWORD secret — Database passwordDB_NAME — Database name or SQLite file pathTRANSPORT — Transport mode: stdio or http最近更新于 222 天前 · MIT license
DBHub Analytics Universal Database MCP Server for Databricks, Google BigQuery, PostgreSQL, MySQL, SQL Server, SQLite, MariaDB Built on top of DBHub by Bytebase. What is DBHub Analytics? DBHub Analytics is an open source MCP (Model Con…
Summary from the project README — github.com/amansingh63/dbhub-analytics
Distributed as npm, listed under Databases. Review our MCP security guide before granting access to real data.
DBHub Analytics Universal Database MCP Server for Databricks, Google BigQuery, PostgreSQL, MySQL, SQL Server, SQLite, MariaDB Built on top of DBHub by Bytebase. What is DBHub Analytics? DBHub Analytics is an open source MCP (Model Con
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/amansingh63/dbhub-analytics. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/dbhub-analytics/)
HTML
<a href="https://mcpnav.net/server/dbhub-analytics/"><img src="https://mcpnav.net/badge/dbhub-analytics.svg" alt="Listed on MCPNav" height="20"></a>