IcebergMCP
Provides tools for querying and analyzing Apache Iceberg™ data lakehouses, including listing namespaces, tables, retrieving table schemas, properties, and partitions from AWS Glue catalogs.
References GitHub for project repository hosting, licensing information, and contribution management.
Distributes the IcebergMCP package through PyPI, allowing for installation via package managers.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@IcebergMCP list all tables for the bronze namespace"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
IcebergMCP 🚀
AI-native Lakehouse Integration
IcebergMCP is a Model Context Protocol (MCP) server that lets you interact with your Apache Iceberg™ Lakehouse using natural language in Claude, Cursor, or any other MCP client.
Table of Contents
Related MCP server: MCP Trino Server
Installation
Prerequisites
Apache Iceberg™ catalog managed in AWS Glue
AWS profile configured on the machine, with access to the catalog
uvpackage manager - install viabrew install uvor see official installation guide
Claude
Inside Claude, go to Settings > Developer > Edit Config > claude_desktop_config.json
Add the following:
{
"mcpServers": {
"iceberg-mcp": {
"command": "uv", // If uv can't be found, replace with full absolute path to uv
"args": [
"run",
"--with",
"iceberg-mcp",
"iceberg-mcp"
],
"env": {
"ICEBERG_MCP_PROFILE": "<aws-profile-name>"
}
}
}
}Cursor
Inside Cursor, go to Settings -> Cursor Settings -> MCP -> Add new global MCP server
Add the following:
{
"mcpServers": {
"iceberg-mcp": {
"command": "uv", // If uv can't be found, replace with full absolute path to uv
"args": [
"run",
"--with",
"iceberg-mcp",
"iceberg-mcp"
],
"env": {
"ICEBERG_MCP_PROFILE": "<aws-profile-name>"
}
}
}
}Configuration
Environment variables can be used to configure the AWS connection:
ICEBERG_MCP_PROFILE- The AWS profile name to use. This role will be assumed and used to connect to the catalog and the object storage. If not specified, the default role will be used.ICEBERG_MCP_REGION- The AWS region to use. This is used to determine the catalog and object storage location.us-east-1by default.
Available Tools
The server provides the following tools for interacting with your Apache Iceberg™ tables:
get_namespaces: Gets all namespaces in the Apache Iceberg™ catalogget_iceberg_tables: Gets all tables for a given namespaceget_table_schema: Returns the schema for a given tableget_table_properties: Returns table properties for a given table, like total size and record countget_table_partitions: Gets all partitions for a given table
Examples
Once installed and configured, you can start interacting with your Apache Iceberg™ tables through your MCP client. Here are some simple examples of how to interact with your lakehouse:
"List all namespaces in my catalog"
"List all tables for the namespace called
bronze""What are all the string columns in the table
raw_events?"What is the size of the
raw_eventstable?""Generate an SQL query that calculates the sum and the p95 of all number columns in
raw_metricsfor all VIP users fromusers_info""Why did the queries on
raw_eventsrecently become much slower?"
Limitations & Security Considerations
All tools are currently read-only and cannot modify or delete data from your lakehouse
Currently supported catalogs:
AWS Glue
Apache Iceberg™ REST Catalog (coming soon!)
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Available Tools
5 toolsget_iceberg_tablesA
Provides a list of iceberg tables from the Iceberg catalog for a given namespace
Inputs: namespace (required).
get_namespacesB
Provides a list of namespaces from the Iceberg catalog.
Inputs: no named parameters.
get_table_partitionsC
Provides the partitions for a given Iceberg table
Inputs: namespace (required), table_name (required).
get_table_propertiesD
Inputs: namespace (required), table_name (required).
get_table_schemaC
Provides the schema for a given Iceberg table
Inputs: namespace (required), table_name (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose targeting different aspects of Iceberg metadata: listing tables, listing namespaces, retrieving partitions, properties, and schema. There is no overlap in functionality, making tool selection straightforward for an agent.
All tools follow a consistent verb_noun pattern with 'get_' prefix and descriptive suffixes (e.g., get_iceberg_tables, get_namespaces, get_table_partitions). The naming is uniform and predictable across all five tools.
With 5 tools, this server is well-scoped for its purpose of retrieving Iceberg catalog metadata. Each tool serves a specific, non-trivial function, and the count is neither too sparse nor overwhelming for the domain.
The toolset covers read operations for Iceberg metadata (tables, namespaces, partitions, properties, schema) but lacks any write, update, or delete capabilities. While it provides a solid foundation for querying, it is incomplete for full lifecycle management of Iceberg resources.
Maintenance
Related MCP Connectors
Query your warehouse or a CSV with Claude/ChatGPT over MCP, governed by table-level ACL + audit.
Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema
Hosted SQL Server MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Related MCP Servers
- FlicenseBqualityDmaintenanceA Model Context Protocol server that provides a SQL interface for querying and managing Apache Iceberg tables through Claude desktop, allowing natural language interaction with Iceberg data lakes.18-
- AlicenseNot gradedqualityDmaintenanceMCP server providing seamless integration with Trino and Iceberg for advanced data exploration, querying, and table maintenance.Apache 2.0
- AlicenseBqualityDmaintenanceMCP server for Lakehouse42, enabling code-first tool discovery, hybrid search, document management, and Iceberg time-travel queries with optimized responses.108 npmMIT
- AlicenseNot gradedqualityBmaintenanceMCP Server for Apache Iceberg, enabling users to read, query, and manipulate data within Iceberg catalogs.292 PyPI2Apache 2.0