# databricks-genie-MCP

> databricks-genie-MCP is an open-source MCP server for databases. MCP server that lets AI clients ask natural language questions of Databricks Genie spaces. It is available on CLI, macOS, Windows, Linux and Self-hosted.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Windows, Linux, Self-hosted
- **Repository:** https://github.com/yashshingvi/databricks-genie-mcp
- **GitHub stars:** 17
- **License:** MIT
- **Categories:** [databases](https://ai-powered.com/categories/databases)
- **Listing updated:** 2026-12-01

## About

This server bridges AI assistants and Databricks Genie, the conversational analytics layer in a Databricks workspace. An MCP client can send a plain-language question to a chosen Genie space, receive the generated SQL along with the result table, and continue the same conversation with follow-up questions.

Space discovery is manual: the server does not query Databricks for available spaces, so the space IDs and titles are entered in a function in main.py. Once configured, the server runs over stdio and is connected to Claude Desktop or another MCP client, with the workspace host and a personal access token supplied through a local .env file.

It suits data analysts and developers who already use Genie and want to query governed workspace data from a chat interface without leaving their assistant.

## Features

- **Natural language Genie questions:** Starts a new Genie conversation from a plain-language question sent to a selected space.
- **Follow-up conversations:** Continues an existing Genie conversation by conversation ID so context carries across questions.
- **SQL and result tables:** Returns the SQL Genie generated along with the query results in structured form.
- **Space metadata lookup:** Fetches the title and description of a specific Genie space.
- **Manual space registry:** Space IDs and titles are listed by hand in a function, since Databricks has no public list endpoint.
- **Docker and inspector testing:** Can be run in Docker or tested with the MCP inspector before connecting to a client.

## Good for

- Asking business questions of Databricks data from Claude Desktop
- Retrieving the SQL behind a Genie answer for review
- Running multi-turn data exploration in one assistant conversation
- Giving an LLM read-style access to a specific Genie space

## Tools

From the tool list in its README, going by the names, 2 of 4 tools read data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `get_genie_space_id` (name suggests: reads): List available Genie space IDs and titles
- `get_space_info` (name suggests: reads): Retrieve title and description of a Genie space
- `ask_genie`: Start a new Genie conversation and get results
- `follow_up`: Continue an existing Genie conversation

## FAQ

### How are Genie spaces discovered?

The Databricks Genie API has no public endpoint to list spaces, so space IDs and titles are added manually in the get_genie_space_id() function in main.py.

### What credentials does databricks-genie-MCP need?

A Databricks workspace host without https:// and a personal access token, stored in a .env file in the project root.

### Which tools does the server expose?

get_genie_space_id, get_space_info, ask_genie and follow_up.

### How do I run databricks-genie-MCP?

Install requirements, set the .env variables, then run python main.py to start the server over stdio.

### Is databricks-genie-MCP free?

Yes. databricks-genie-MCP is open source, so you can use and self-host it for free.

### What are the best alternatives to databricks-genie-MCP?

The closest alternatives to databricks-genie-MCP are mcp-databricks-server, Databricks MCP Server, mysql_mcp_server, florentine-ai and sql-query-mcp.

## Where this comes from

- Description: written from the project's README.

## Alternatives

- [mcp-databricks-server](https://ai-powered.com/mcp/mcp-databricks-server): mcp-databricks-server is an open-source MCP server for databases.
- [Databricks MCP Server](https://ai-powered.com/mcp/databricks-mcp-server): Databricks MCP Server is an open-source MCP server for databases.
- [mysql_mcp_server](https://ai-powered.com/mcp/mysql-mcp-server-4): mysql_mcp_server is an open-source MCP server for databases.
- [florentine-ai](https://ai-powered.com/mcp/florentine-ai): florentine-ai is a freemium MCP server for databases.
- [sql-query-mcp](https://ai-powered.com/mcp/sql-query-mcp): sql-query-mcp is an open-source MCP server for databases.
- [mcp-server-bigquery](https://ai-powered.com/mcp/mcp-server-bigquery): mcp-server-bigquery is an open-source MCP server for databases.
- [pgmcp](https://ai-powered.com/mcp/pgmcp-2): pgmcp is an open-source MCP server for databases.
- [mcp-mysql-server](https://ai-powered.com/mcp/mcp-mysql-server): mcp-mysql-server is an open-source MCP server for databases.

---
Source: https://ai-powered.com/mcp/databricks-genie-mcp
