Skip to main content
Glama
IcebergMCP

IcebergMCP

by fastmcp-me

Add to Cursor Add to VS Code Add to Claude Add to ChatGPT Add to Codex Add to Gemini

IcebergMCP 🚀

AI-native Lakehouse Integration

PyPI - Version License

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: iceberg-lakehouse

Installation

Prerequisites

  • Apache Iceberg™ catalog managed in AWS Glue

  • AWS profile configured on the machine, with access to the catalog

  • uv package manager - install via brew install uv or see official installation guide

Claude

  1. Inside Claude, go to Settings > Developer > Edit Config > claude_desktop_config.json

  2. 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

  1. Inside Cursor, go to Settings -> Cursor Settings -> MCP -> Add new global MCP server

  2. 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-1 by 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™ catalog

  • get_iceberg_tables: Gets all tables for a given namespace

  • get_table_schema: Returns the schema for a given table

  • get_table_properties: Returns table properties for a given table, like total size and record count

  • get_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:

  1. "List all namespaces in my catalog"

  2. "List all tables for the namespace called bronze"

  3. "What are all the string columns in the table raw_events?

  4. "What is the size of the raw_events table?"

  5. "Generate an SQL query that calculates the sum and the p95 of all number columns in raw_metrics for all VIP users from users_info"

  6. "Why did the queries on raw_events recently 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 tools
get_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

    C2.6/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool targets a distinct aspect of the Iceberg catalog (tables list, namespaces, partitions, properties, schema). However, get_table_properties has no description, causing potential confusion with get_table_schema or other tools.

    Naming Consistency5/5

    All tool names follow a consistent 'get_noun' pattern with snake_case, making the API predictable and easy to navigate.

    Tool Count5/5

    Five tools is a reasonable number for a focused read-only catalog client. Each tool serves a clear purpose without redundancy.

    Completeness2/5

    The tool set is limited to read operations (list, get) and lacks write operations (create, drop, update) commonly needed for full lifecycle management of Iceberg tables and namespaces.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      An MCP server that enables natural language interaction with Apache Iceberg data lakehouses, allowing users to query table metadata, schemas, and properties through Claude, Cursor, or other MCP clients.
      5
      41
      Apache 2.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables natural language querying and management of local Apache Iceberg tables with full CRUD, time travel, schema evolution, and Vortex format support via MCP.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables natural language querying of Apache Iceberg lakehouse by exposing typed tools for namespace discovery, table metadata inspection, snapshot history, time travel SQL generation, and partition pruning explanation.
      Apache 2.0