Trino
● Activeio.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.
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"
}
}
}
}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-pythoncodex 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-pythoncode --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.
- 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
Is it safe? Is it maintained?
Serverdex check: Nov 22, 2026Looks 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 →Alternatives to Trino
All Trino alternatives →Best Databases servers →The most-starred Databases servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| Dbx | 30,677 | Nov 2026 | Local / not checked |
| MCP Toolbox for Databases | 16,897 | Nov 2026 | Local / not checked |
| MCP Toolbox for Databases | 16,897 | Nov 2026 | Local / not checked |
| Finance Database | 9,648 | Nov 2026 | Working |
| DBHub | 3,868 | Nov 2026 | Local / 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.
More Databases servers
Browse all Databases →Universal DB (read-only)
alghanim
Read-only, guarded SQL access for AI agents: PostgreSQL, MySQL, ClickHouse, Oracle, SQL Server, Db2
GenPark Distributed ID Snowflake Generator
alphaparkinc
64-bit Twitter Snowflake-compatible distributed unique ID generator with clock backwards drift prote
GenPark Recursive JSON Schema Healer
alphaparkinc
Recursive JSON schema validator and autonomous healer repairing type mismatches, missing defaults, a
GenPark Red-Black Tree Index
alphaparkinc
Self-balancing Red-Black binary search tree engine for ordered indexing, range queries, and log-time
GenPark SQL Injection AST Taint Analyzer
alphaparkinc
Dynamic SQL AST taint tracking and static vulnerability auditor detecting tautology injections
ClickHouse
alyiox
MCP server for ClickHouse metadata, parameterized queries, plan analysis, and writes opt-in.
Add the badge to your site
Show visitors that Trino is listed here — it’s also the link we check for a free listing.
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
[](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.
Install buttons — for your README
[](https://serverdex.io/install/cursor/io-github-alaturqua-mcp-trino-python) [](https://serverdex.io/install/vscode/io-github-alaturqua-mcp-trino-python) [](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).