
databricks-genie-MCP
MCP server that lets AI clients ask natural language questions of Databricks Genie spaces
databricks-genie-MCP is an open-source MCP server for databases. It is available on CLI, macOS, Windows, Linux and Self-hosted.
- Pricing
- Open source
- Platforms
- CLI, macOS, Windows
- GitHub stars
- 17
- Last commit
- Language
- Python
- License
- MIT
Similar MCP servers
About databricks-genie-MCP
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.
Tools this server provides (4)
Taken from the project documentation; the running server may differ.
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_idName suggests: reads
- List available Genie space IDs and titles
- get_space_infoName 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
What it does
- 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
Pricing
Open source
databricks-genie-MCP 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.

