Listed from the MCP registry; nobody on Odel publishes it.
Query Trino and inspect or maintain Iceberg tables: catalogs, schemas, SQL, snapshots.
Runs on your machine from its package; the steps are below.
At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx mcp-trino-python
MCP client config
{
"mcpServers": {
"trino": {
"command": "uvx",
"args": [
"mcp-trino-python"
]
}
}
}Run
docker run -i --rm ghcr.io/alaturqua/mcp-trino-python:0.8.2
MCP client config
{
"mcpServers": {
"trino": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/alaturqua/mcp-trino-python:0.8.2"
]
}
}
}Let your AI assistant talk to Trino. Ask questions about your data in plain language; the assistant explores catalogs, writes and runs SQL, and inspects or maintains your Iceberg tables.
Works with Claude Code, Claude Desktop, GitHub Copilot in VS Code, Cursor, and any other MCP client.
You need uv and a Trino server
(or docker run -d -p 8080:8080 trinodb/trino:484 for one with sample data).
claude mcp add trino -e TRINO_HOST=localhost -e TRINO_USER=trino -- uvx mcp-trino-python
or install the plugin, which asks for the connection settings:
/plugin marketplace add alaturqua/mcp-trino-python
/plugin install trino@mcp-trino-python
Download mcp-trino-python.mcpb from the
latest release and double-click it.
Add this to your client's MCP config
(.vscode/mcp.json uses "servers" instead of "mcpServers"):
{
"mcpServers": {
"trino": {
"command": "uvx",
"args": ["mcp-trino-python"],
"env": { "TRINO_HOST": "localhost", "TRINO_PORT": "8080", "TRINO_USER": "trino" }
}
}
}
Then ask: "What catalogs are in Trino?"
More clients, Docker and troubleshooting: Connect your AI client.
TRINO_READ_ONLY=true blocks writes and hides maintenance toolsSee the full tool list.
| Variable | What it does | Default |
|---|---|---|
TRINO_HOST | Trino server hostname | localhost |
TRINO_PORT | Trino server port | 8080 |
TRINO_USER | User to run queries as | trino |
TRINO_PASSWORD | Password; turns on basic auth (needs https) | not set |
TRINO_HTTP_SCHEME | http or https | http |
TRINO_CATALOG | Default catalog | not set |
TRINO_SCHEMA | Default schema | not set |
TRINO_READ_ONLY | true blocks writes and hides maintenance tools | false |
Running a shared server over HTTP or in Docker: see Remote and Docker deployment.
uv sync
docker compose up -d --wait trino
uv run pytest
See Development for linting, docs and releases.
Apache 2.0. See LICENSE.