Skip to main content
Glama
dipankarmazumdar

iceberg-mcp-server-trino

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TRINO_HOSTYesTrino coordinator hostname
TRINO_PORTNoTrino port443
TRINO_USERYesUsername
TRINO_SCHEMANoDefault schemadefault
MCP_TRANSPORTNoTransport type (stdio, http, sse)stdio
TRINO_CATALOGNoIceberg catalog nameiceberg
TRINO_USE_SSLNoUse HTTPStrue
TRINO_PASSWORDYesPassword (LDAP/basic auth)
TRINO_SSL_VERIFYNoSSL verification (true, false, or path to CA cert)true

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
execute_queryB

Execute a read-only SQL query on Trino and return results as JSON.

get_schemaA

Retrieve the list of table names in the configured Trino catalog and schema.

get_table_healthA

Assess Iceberg table health using metadata tables (snapshots, history, files, partitions, manifests, metadata_log_entries). Returns structured JSON summaries, recent activity, and health signals. Pass the table as name or catalog.schema.table (e.g. flights or iceberg.default.flights).

list_metadata_tablesA

List Iceberg metadata tables available for a table. Pass table or catalog.schema.table (e.g. flights or iceberg.default.flights).

describe_metadata_tableC

Describe the schema of an Iceberg metadata table (e.g. snapshots, files, refs).

query_metadata_tableC

Query an Iceberg metadata table with a safe row limit. Optional comma-separated columns.

list_snapshotsC

List Iceberg snapshots for a table ordered by committed_at (most recent first).

describe_table_historyC

List snapshot history from the Iceberg $history metadata table.

get_snapshot_summaryC

Get metadata for a single Iceberg snapshot ID including parsed summary stats.

list_refsB

List Iceberg branches and tags from the refs metadata table.

query_at_snapshotB

Time-travel read using FOR VERSION AS OF snapshot_id. Optional column list and limit.

query_at_timestampC

Time-travel read using FOR TIMESTAMP AS OF timestamp (e.g. '2024-07-18 10:12:20').

diff_snapshotsC

Compare two Iceberg snapshots by ID and return metadata and summary diffs.

explain_queryA

Return the Trino EXPLAIN plan for a read-only SELECT or WITH query.

partition_pruning_checkB

EXPLAIN a read-only query and heuristically assess whether partition pruning is likely.

table_scan_cost_hintsA

Estimate full-scan cost signals from Iceberg files/partitions metadata for a table.

hot_partitionsC

List the hottest Iceberg partitions by file count and record count to detect skew.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dipankarmazumdar/iceberg-mcp-server-trino'

If you have feedback or need assistance with the MCP directory API, please join our Discord server