loading…
Search for a command to run...
loading…
A read-only MCP server that enables users to query Databricks SQL, browse metadata, and monitor Delta Lake tables. It also supports tracking Databricks Jobs, DL
A read-only MCP server that enables users to query Databricks SQL, browse metadata, and monitor Delta Lake tables. It also supports tracking Databricks Jobs, DLT Pipelines, and cluster metrics through natural language interfaces.
Read this in other languages: 正體中文
A read-only MCP (Model Context Protocol) server for Databricks, enabling Claude to query Databricks SQL, browse metadata, and monitor jobs/pipelines.
# Clone the repository
git clone https://github.com/ChrisChoTW/databricks-mcp.git
cd databricks-mcp
# Install dependencies
uv sync
# Create .env file
cp .env.example .env
Edit .env with your Databricks credentials:
DATABRICKS_SERVER_HOSTNAME=your-workspace.cloud.databricks.com
DATABRICKS_HTTP_PATH=/sql/1.0/warehouses/your-warehouse-id
DATABRICKS_TOKEN=your-personal-access-token
Add to your Claude Code MCP configuration (~/.claude.json):
{
"mcpServers": {
"databricks-sql": {
"type": "stdio",
"command": "uv",
"args": [
"--directory",
"/path/to/databricks-mcp",
"run",
"python",
"server.py"
],
"env": {
"DATABRICKS_SERVER_HOSTNAME": "your-workspace.cloud.databricks.com",
"DATABRICKS_HTTP_PATH": "/sql/1.0/warehouses/your-warehouse-id",
"DATABRICKS_TOKEN": "your-token"
}
}
}
}
uv run python server.py
| Tool | Description |
|---|---|
databricks_query |
Execute SQL queries (read-only) |
list_catalogs |
List all catalogs |
list_schemas |
List schemas in a catalog |
list_tables |
List tables in a schema |
get_table_schema |
Get table structure (DESCRIBE EXTENDED) |
search_tables |
Search tables by name |
| Tool | Description |
|---|---|
get_table_history |
View Delta table change history |
get_table_detail |
View Delta table details |
get_grants |
View object permissions |
list_volumes |
List Unity Catalog volumes |
| Tool | Description |
|---|---|
list_jobs |
List Databricks Jobs |
get_job |
Get job details |
list_job_runs |
List job run history |
get_job_run |
Get run details |
list_pipelines |
List DLT Pipelines |
get_pipeline |
Get pipeline status |
| Tool | Description |
|---|---|
list_query_history |
List SQL query history |
list_warehouses |
List SQL Warehouses |
list_clusters |
List clusters |
get_cluster_metrics |
Get cluster CPU/memory metrics |
get_cluster_events |
Get cluster events |
databricks-mcp/
├── server.py # Entry point
├── core.py # Shared connections and MCP instance
└── tools/
├── query.py # SQL queries and metadata
├── delta.py # Delta Lake and permissions
├── jobs.py # Jobs management
├── pipelines.py # DLT Pipelines
├── compute.py # Clusters and query history
└── metrics.py # Cluster metrics
This server is read-only by design:
MIT
Issues and pull requests are welcome!
Run in your terminal:
claude mcp add databricks-mcp -- npx Query your database in natural language
by AnthropicA universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
by wenb1n-devRead-only database access with schema inspection.
by modelcontextprotocolInteract with Redis key-value stores.
by modelcontextprotocolNot sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs