Trino

● Active

io.github.alaturqua/mcp-trino-python

Query Trino and inspect or maintain Iceberg tables: catalogs, schemas, SQL, snapshots.

Connect this server

One click to install, or copy the config below. Suits: Claude Desktop · Cursor.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "mcp-trino-python": {
      "command": "uvx",
      "args": [
        "mcp-trino-python"
      ],
      "env": {
        "TRINO_HOST": "<your TRINO_HOST>",
        "TRINO_PORT": "8080",
        "TRINO_USER": "<your TRINO_USER>",
        "TRINO_PASSWORD": "<your TRINO_PASSWORD>",
        "TRINO_HTTP_SCHEME": "http",
        "TRINO_READ_ONLY": "false"
      }
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add --env TRINO_HOST='<your TRINO_HOST>' --env TRINO_PORT=8080 --env TRINO_USER='<your TRINO_USER>' --env TRINO_PASSWORD='<your TRINO_PASSWORD>' --env TRINO_HTTP_SCHEME=http --env TRINO_READ_ONLY=false --transport stdio mcp-trino-python -- uvx mcp-trino-python
OpenAI Codex CLI
codex mcp add mcp-trino-python --env TRINO_HOST='<your TRINO_HOST>' --env TRINO_PORT=8080 --env TRINO_USER='<your TRINO_USER>' --env TRINO_PASSWORD='<your TRINO_PASSWORD>' --env TRINO_HTTP_SCHEME=http --env TRINO_READ_ONLY=false -- uvx mcp-trino-python
VS Code
code --add-mcp '{"name":"mcp-trino-python","type":"stdio","command":"uvx","args":["mcp-trino-python"],"env":{"TRINO_HOST":"<your TRINO_HOST>","TRINO_PORT":"8080","TRINO_USER":"<your TRINO_USER>","TRINO_PASSWORD":"<your TRINO_PASSWORD>","TRINO_HTTP_SCHEME":"http","TRINO_READ_ONLY":"false"}}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.

Environment variables
  • TRINO_HOSTrequiredTrino server hostname
  • TRINO_PORTTrino server port
  • TRINO_USERrequiredTrino username
  • TRINO_PASSWORDsecretTrino password (enables basic auth; use with https)
  • TRINO_HTTP_SCHEMEhttp or https
  • TRINO_READ_ONLYAllow only read statements and hide maintenance tools

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Databases
Version
0.8.1
Registry
active
Published
11/21/2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Nov 22, 2026

Looks healthy: Trino is maintained, open source.

Maintained
Active
Last commit today (Nov 21, 2026), 0 open issues.
Official registry
Active
Published as io.github.alaturqua/mcp-trino-python in the official MCP registry, version 0.8.1.
Source
Open source, Apache-2.0
Public repository under the Apache-2.0 licence, 25 stars, 13 forks.
Runs
On your machine
A local PyPI/Docker package started by your client; it can reach whatever your user account can.
Credentials
6 required
Declared environment variables: TRINO_HOST, TRINO_USER, TRINO_PASSWORD, TRINO_HOST…. They stay on your machine; the config on this page shows where each goes.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.

On GitHub

read Nov 22, 2026
Stars
25
Forks
13
Last push
Nov 21, 2026
License
Apache-2.0

Python

From the README

MCP Trino Server 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. 📖 Documentation Quick start You need uv and a Trino server (or docker run -d -p 8080:8080 trinodb/trino:484 for one with sample data). Claude Code or install the plugin, which asks for the connection settings: Claude Desktop Download mcp-trino-python.mcpb from the latest release and double-click it. VS Code / GitHub Copilot, Cursor and others Add this to your client's MCP config (.vscode/mcp.json uses "servers" instead of "mcpServers"): Then ask: "What catalogs are in Trino?" More clients, Docker and troubleshooting: Connect your AI client. What it can do • Explore: catalogs, schemas, tables, columns, DDL and statistics • Query: run SQL and get the rows back as JSON • Iceberg: snapshots, manifests, partitions, files, history, branches and tags • Maintain Iceberg tables: compact files and manifests, expire old snapshots • Read-only mode: TRINOREADONLY=true blocks writes and hides maintenance tools See the full tool list. Configuration Running a shared server over HTTP or in Docker: see Remote and Docker deployment. Contributing See Development for linting, docs and releases. License Apache 2.0. See LICENSE.

Read the full README on GitHub →

The most-starred Databases servers in the index, with their live-check result.

ServerStarsLast pushLive check
Dbx30,677Nov 2026Local / not checked
MCP Toolbox for Databases16,897Nov 2026Local / not checked
MCP Toolbox for Databases16,897Nov 2026Local / not checked
Finance Database9,648Nov 2026Working
DBHub3,868Nov 2026Local / not checked

Trino: questions people ask

Is Trino a remote or a local MCP server?
According to its entry in the official MCP registry, Trino ships as a local package (PyPI, Docker) that your client starts on your machine.
Does Trino need an API key?
Its registry entry declares 6 required environment variables: TRINO_HOST, TRINO_USER, TRINO_PASSWORD, TRINO_HOST…. The config on this page shows where each goes.
Is Trino safe to use?
Looks healthy: Trino is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, Apache-2.0; runs: On your machine; credentials: 6 required. Serverdex check of Nov 22, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
Is Trino still maintained?
Active: the repository's last commit today. Last push Nov 21, 2026, 25 GitHub stars, Apache-2.0 licence. Read from GitHub on Nov 22, 2026.
How do I add Trino to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
Browse all Databases →

Add the badge to your site

Show visitors that Trino is listed here — it’s also the link we check for a free listing.

Trino — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-alaturqua-mcp-trino-python?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Trino — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Trino — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-alaturqua-mcp-trino-python?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/io-github-alaturqua-mcp-trino-python) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/io-github-alaturqua-mcp-trino-python) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/io-github-alaturqua-mcp-trino-python)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/io-github-alaturqua-mcp-trino-python"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-alaturqua-mcp-trino-python"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-alaturqua-mcp-trino-python"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).