Skip to main content
Glama
mcp-openmetadata

mcp-openmetadata

by pfldy2850

MCP OpenMetadata

PyPI version License: MIT Python Version

MCP server providing OpenMetadata APIs - A FastMCP integration for OpenMetadata services.

Features

  • OpenMetadata API integration with FastMCP

  • Easy-to-use interface for metadata management

  • Support for table metadata, sample data, and ownership information

Related MCP server: Alma Atlas

Installation

from PyPi (Cursor)

Install it to Cursor with (uv):

uv pip install mcp-openmetadata

uv run python -m mcp-openmetadata.hosts.cursor \
  -e OPENMETADATA_URI=<YOUR OPENMETADATA URI> \
  -e OPENMETADATA_JWT_TOKEN=<YOUR OPENMETADATA JWT TOKEN>

Install it to Cursor with (pip):

pip install mcp-openmetadata

python -m mcp-openmetadata.hosts.cursor \
  -e OPENMETADATA_URI=<YOUR OPENMETADATA URI> \
  -e OPENMETADATA_JWT_TOKEN=<YOUR OPENMETADATA JWT TOKEN>

from configuration

{
    "mcpServers": {
        "OpenMetadata": {
            "command": "uv",
            "args": [
                "run",
                "--with",
                "fastmcp",
                "--with",
                "httpx",
                "--with",
                "mcp-openmetadata",
                "python",
                "-m",
                "mcp_openmetadata.server"
            ],
            "env": {
                "OPENMETADATA_URI": "http://localhost:8585",
                "OPENMETADATA_JWT_TOKEN": "awesome_jwt_token"
            }
        }
    }
}

Environment Variables

Authorization

mcp-openmetadata provides token auth and basic auth:

Token Auth

OPENMETADATA_URI=http://localhost:8585
OPENMETADATA_JWT_TOKEN=<YOUR OPENMETADATA JWT TOKEN>

Basic Auth

OPENMETADATA_URI=http://localhost:8585
OPENMETADATA_USERNAME=<YOUR OPENMETADATA USERNAME>
OPENMETADATA_PASSWORD=<YOUR OPENMETADATA PASSWORD>

Tool list

mcp-openmetadata does not provide all APIs available in OpenMetadata. Please refer to Supported APIs for the list of available APIs.

Since using the original API directly contains too much unnecessary data that is difficult to fit into the model context, we are working on returning somewhat organized results.

Search Tools

  • search_entities_with_query: Search entities using query text. Supports pagination and sorting. Useful for:

    • Listing all tables/topics (q=*)

    • Searching by field names (e.g., q=columnNames:address)

    • Searching by tags (e.g., q=tags.tagFQN:user.email)

    • Complex queries with AND/OR operators

    • Filtering by service type, constraints, owners, etc.

Table Tools

  • get_list_of_tables: Get a paginated list of tables with basic information

  • get_table_by_fqn: Get detailed table information by fully qualified name

  • get_table_columns_by_fqn: Get table columns information by fully qualified name

  • get_table_owners_by_fqn: Get table ownership information by fully qualified name

  • get_sample_data: Get sample data from a specified table

Each tool returns optimized responses with relevant fields to ensure compatibility with model context limits while providing essential metadata information.

License

This project is open source software licensed as MIT.

Available Tools

6 tools
get_list_of_tablesC

Get a list of tables, optionally filtered by database it belongs to. Use fields parameter to get only necessary fields. Use cursor-based pagination to limit the number entries in the list using limit and before or after query params.

Inputs: after, limit, before.

get_sample_dataC

Get sample data from a table.

Inputs: id (required), limit, offset.

get_table_by_fqnC

Get a table by fully qualified table name.

Inputs: fully_qualified_name (required).

get_table_columns_by_fqnC

Get a table columns by fully qualified table name.

Inputs: fully_qualified_name (required).

get_table_owners_by_fqnB

Get a table owners by fully qualified table name.

Inputs: fully_qualified_name (required).

search_entities_with_queryC

Search entities using query test. Use query params from and size for pagination. Use sort_field to sort the results in sort_order.

Inputs: q.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: search across entities, retrieve a table, fetch sample data, fetch owners, fetch columns, and list tables. While get_table_by_fqn may return columns as part of the entity, the specific getters are explicitly focused, so an agent can select based on need without confusion.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern (get_* and search_*), use lowercase with underscores, and are uniformly structured. There are no mixed conventions or vague verbs.

    Tool Count5/5

    With 6 tools, the server is well-scoped for a metadata browsing purpose. Each tool provides a distinct capability without redundancy or excessive granularity, fitting comfortably within the ideal range.

    Completeness3/5

    The server covers core table read operations (get, list, columns, owners, sample data) and a general entity search. However, it lacks direct retrieval for other metadata entities like databases, schemas, and tags, and has no create/update/delete operations, which are common in metadata management. This leaves notable gaps for a full OpenMetadata surface.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to query live schema, lineage, and query-context across data warehouses, dbt projects, orchestration systems, and BI tools via MCP tools.
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables querying Tableau lineage through the Metadata API via MCP, supporting impact analysis, where-used lookups, and content search. Provides read-only tools for answering natural-language questions about workbooks, datasources, fields, and dependencies.
      7
      33 PyPI
      2
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables composable search and filtering over an enterprise data catalog, with tools for lineage, sample data, profiling, history, quality rules, and AI-driven classification.
      -