Hex MCP
Search and build Hex projects, create, edit and run notebook cells, ask questions through Hex Threads, and list data connections, through Hex's hosted MCP server.
Integration
- Vendor
- Hex MCP
- Category
- other
- Auth
- OAUTH2
- Tools
- 22
- Composio slug
hex_mcp
Tools
- Continue thread
Continue a Hex Thread by adding a new message and triggering the agent to process it. The thread must be in IDLE status to be continued. If the thread is currently running, this will return an error. The thread will take a few minutes to co
- Create cell
Create a new cell in the draft version of a project. For SQL cells that query a warehouse, reuse the dataConnectionId of an existing SQL cell in the project (`list_cells` returns it), falling back to `list_data_connections` to resolve one b
- Create project
Create a new project in the workspace with the specified title, and optionally a description.
- Create thread
Create a new Hex Thread to ask a question about your data. Hex will use its Threads Agent to analyze your data and then provide a response. The thread will take a few minutes to complete - you should warn the user about this. While the thre
- Delete celldestructive
Delete a cell from the draft version of a project by ID
- Get cell
Get a single cell by ID
- Get cell image
Get the rendered PNG image of a chart cell, returned as an image. The cell must live in its project's draft version, must have been executed, and must not be in an error state. Only chart-type cells are supported. `get_thread` reports the c
- Get cell output
Get the latest output preview for a SQL cell in the active draft notebook session.
- Get dashboard import job status
Check the original reconstruction run for a Claude dashboard import. processing means the run is active; done means it finished without an agent error; failed means it ended unsuccessfully. Completion does not certify visual fidelity. A loo
- Get me
Returns information about the current logged in user.
- Get project
Get metadata about a single project.
- Get run
Get the status of a project run.
- Get suggestion
Read a context suggestion and one page of evidence and proposed changes from its latest review. Use a suggestion id returned by the suggestions list or a known suggestion. Follow nextCursor with the same suggestionId until it is null, even
- Get thread
Fetch a Hex Thread using its ID. You can get an ID when you call the `create_thread` tool. If the thread is not finished yet, it will sleep for a number of seconds before returning the messages. You should warn the user about this. Once the
- Import claude dashboard from url
Download a Claude dashboard JSON export containing top-level query metadata and an HTML snapshot, then start reconstructing it in a Hex project. When download_token is provided, it is sent as a bearer token; otherwise the URL is fetched exa
- List cells
List cells from the draft version of a project. Returns code, SQL, and markdown cell contents.
- List data connections
List the workspace's data connections. Use this to resolve a connection name to a dataConnectionId before creating or updating a SQL cell with `create_cell` or `update_cell`. Results are paginated: pass the returned `pagination.after` curso
- List suggestions
List workspace context suggestions, defaulting to open suggestions and newest creation first. Read a suggestion's evidence and proposed changes with get_suggestion. Use status and sortBy to narrow or prioritize the list. Follow pagination.a
- Run cell
Run a cell and its upstream dependencies in the draft (notebook) version of a project. The run is asynchronous: for SQL cells, poll `get_cell_output` every 5 seconds to read the result or error. The returned runId identifies the long-runnin
- Run notebook
Trigger a run of the draft (notebook) version of a project. The run is asynchronous: poll `get_run` with the returned runId every 5 seconds until the status is terminal (COMPLETED, ERRORED, KILLED, or UNABLE_TO_ALLOCATE_KERNEL). The runId i
- Search projects
Search existing notebook projects and legacy data apps by name or content.
- Update cell
Update a cell's source and/or data connection. For SQL cells, can update the SQL source, output dataframe, and data connection. Take a warehouse dataConnectionId from an existing SQL cell in the project or from `list_data_connections` befor
Setup
- Create or open a Switchy Project.
- Open Integrations and connect Hex MCP.
- Authorise through oauth2. Switchy stores the connection against your org.
- Everyone in the Project can now @-mention the Hex MCP tools in chat.
What teammates see: by default, memories from Hex MCP are scoped to the Project (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.
Works well with
Top models
Compatibility data appears once enough Projects have used this MCP together with a given model.