Server data from the Official MCP Registry
Query Trino and inspect or maintain Iceberg tables: catalogs, schemas, SQL, snapshots.
About
Query Trino and inspect or maintain Iceberg tables: catalogs, schemas, SQL, snapshots.
Security Report
Valid MCP server (1 strong, 3 medium validity signals). 1 known CVE in dependencies Package registry verified. Imported from the Official MCP Registry.
9 files analyzed Ā· 2 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: TRINO_HOST
Environment variable: TRINO_PORT
Environment variable: TRINO_USER
Environment variable: TRINO_PASSWORD
Environment variable: TRINO_HTTP_SCHEME
Environment variable: TRINO_CATALOG
Environment variable: TRINO_SCHEMA
Environment variable: TRINO_READ_ONLY
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"mcp-trino-python": {
"command": "uvx",
"args": [
"mcp-trino-python==0.8.2"
],
"env": {
"TRINO_HOST": "your-trino-host-here",
"TRINO_PORT": "your-trino-port-here",
"TRINO_USER": "your-trino-user-here",
"TRINO_SCHEMA": "your-trino-schema-here",
"TRINO_CATALOG": "your-trino-catalog-here",
"TRINO_PASSWORD": "your-trino-password-here",
"TRINO_READ_ONLY": "your-trino-read-only-here",
"TRINO_HTTP_SCHEME": "your-trino-http-scheme-here"
}
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub 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
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
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"):
{
"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.
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:
TRINO_READ_ONLY=trueblocks writes and hides maintenance tools
See the full tool list.
Configuration
| 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.
Contributing
uv sync
docker compose up -d --wait trino
uv run pytest
See Development for linting, docs and releases.
License
Apache 2.0. See LICENSE.
Reviews
No reviews yet
Be the first to review this server!
More Data & Analytics MCP Servers
Toleno
Freeby Toleno Ā· Developer Tools
Toleno Network MCP Server ā Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace Ā· Developer Tools
Search and install MCP servers from inside your AI client.
mcp-creator-python
Freeby mcp-marketplace Ā· Developer Tools
Create, build, and publish Python MCP servers to PyPI ā conversationally.
by Lharries Ā· Communication
Read, search, and send WhatsApp messages through your AI assistant
FinAgent
Freeby mcp-marketplace Ā· Finance
Free stock data and market news for any MCP-compatible AI assistant.
Memory
Freeby Modelcontextprotocol Ā· Productivity
Knowledge graph-based persistent memory across sessions

