Iceberg Catalog
STDIOMCP server implementation for interacting with Apache Iceberg through SQL interface.
MCP server implementation for interacting with Apache Iceberg through SQL interface.
A MCP (Model Context Protocol) server implementation for interacting with Apache Iceberg. This server provides a SQL interface for querying and managing Iceberg tables through Claude desktop.
To install MCP Iceberg Catalog for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @ahodroj/mcp-iceberg-service --client claude
Prerequisites
How to install in Claude Desktop
Add the following configuration to claude_desktop_config.json
:
{ "mcpServers": { "iceberg": { "command": "uv", "args": [ "--directory", "PATH_TO_/mcp-iceberg-service", "run", "mcp-server-iceberg" ], "env": { "ICEBERG_CATALOG_URI" : "http://localhost:8181", "ICEBERG_WAREHOUSE" : "YOUR ICEBERG WAREHOUSE NAME", "S3_ENDPOINT" : "OPTIONAL IF USING S3", "AWS_ACCESS_KEY_ID" : "YOUR S3 ACCESS KEY", "AWS_SECRET_ACCESS_KEY" : "YOUR S3 SECRET KEY" } } } }
The MCP server is built on three main components:
MCP Protocol Handler
Query Processor
sqlparse
Iceberg Integration
pyiceberg
for table operationsThe server utilizes PyIceberg in several ways:
Catalog Management
Data Operations
Query Execution
Query Operations
Data Types
Performance Improvements
Security Features
Monitoring and Management
Error Handling