Developer Tools · Data & Analytics

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.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • 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 by name (or set isDataframeSql). Do not invent connection ids.

  • 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 thread is running, you MUST call the `get_thread` tool to poll its status. Keep calling `get_thread` until the status is IDLE or you have polled 30 times before giving a final answer to the user. Once the thread is complete (status is IDLE), you can use the `continue_thread` tool to add follow-up questions or continue the conversation.