Skip to main content

MCP Sample Uses in OpenMetadata

By: Shawn Gordon

Updated 4 min readMarkdown
MCP Sample Uses in OpenMetadata

By: Shawn Gordon

Introduction

We recently introduced Model Context Protocol (MCP) in OpenMetadata, as covered in this blog. A visual run-through is available in this YouTube video. This blog is going to run you through some of those examples to show you what is possible and to get you thinking about additional ways you can step outside the box and create new and exciting interactions with Collate.

I’m not going to cover how to enable MCP in OpenMetadata in this blog, but this short video will show you how to do it, and it is in our docs as well. I will put a link to the corresponding video for each segment as well.

With that intro out of the way, let’s dive right into it.

What are some things we can do?

Creating Glossaries with AI

[Video] Let’s start with building a glossary. As you can see, I don’t have one yet, and creating one from scratch is a time-consuming process.

Using Claude, we ask, “Can you create an ecommerce glossary”. Claude helpfully agrees to the task, and sees that we have no glossaries yet, and begins its work:

After about a minute, we get some results:

That’s all well and good, but what do we see in OpenMetadata?

The glossary terms have now been added. We can get more elaborate though, and include external sources to ingest as well, for example:

I ask Claude to add glossary terms from this external source to my newly created eCommerce glossary. Now I see that I have 28 glossary terms:

What’s important to note is that this isn’t limited to what is internally known by OpenMetadata, or a URL. You could take advantage of the bulk upload feature of OpenMetadata to upload a CSV file of terms for it to apply as well, thus significantly reducing your repetitive or mundane workload.

Monitoring Pipelines with AI

[Video] Since we’ve already shown how the OpenMetadata MCP server can write data back to OpenMetadata, let’s focus on a few fun use cases and how those look. Imagine you’re a data engineer, and you want to build a dashboard that shows all the pipelines and statuses in your system. Using the following prompt:

“Get me a status of all the pipelines, and prepare a table with the pipelines and corresponding status for them.”:

We get a really robust response, with a lot of useful information, which becomes exponentially more helpful the more you deal with it. We can think outside the box a little bit, though, and ask Claude to “create a modern interface for the data”, and after just a few seconds, we see:

That’s pretty slick, and it’s easy to play around with the prompt to customize it further.

Additional ideas for AI prompts

To wrap up, I’m going to give you some prompt ideas that you can adapt to your own use cases:

  1. [Video] Show me all datasets related to customer transactions from the last quarter
  2. [Video] List all datasets tagged with ‘finance’ or ‘accounting’ glossary/tag
  3. [Video] Generate a query to show monthly revenue trends for the past year
  4. [Video] Create a SQL query to find our top 10 customers by purchase volume
  5. [Video] Create a monthly customer acquisition and retention report
  6. [Video] Build a customer retention dashboard based on the above (5) information. Use some sample data to build it for now, and later we can replace it with actual data from the above queries.
  7. [Video] Can you help me find information about customers in my tables?
  8. [Video] Put that information (7) in a modern user interface where each database has its own color and has a dynamically collapsible list of the data.

Summary

I hope this blog was able to get you up to speed on the incredible MCP additions in OpenMetadata v1.8, and spark your imagination on what might be possible. If you aren’t sure, just try it and see what you get.

Ready to get started? Read our docs, sign up for Collate Free Tier of our managed OpenMetadata, and Join our community.

No comments yet. Be the first to comment.