# Bootstrap your semantic layer. Motley is now available as an official plugin in ChatGPT and Claude

> Source: <https://motley.ai/blog-posts/bootstrap-your-semantic-layer>
> Published: 2026-12-03 00:00:00+00:00

**Key takeaway:** Motley's ChatGPT and Claude plugin bootstraps a semantic layer from existing dbt projects, dashboards and docs, asking the user to resolve ambiguous definitions (e.g. $148,210 with tax vs $136,940 without) and storing them in Git on the open Apache Ossie standard.

Every data team has heard the same thing about semantic layers: they are worth having, and they take weeks to build. Before anyone asks a single question, someone has to gather definitions from dashboards, dbt and spreadsheets, get every source to agree, and chase down the discrepancies one by one. Many teams never get past that first step.

It does not have to work that way. The most important step is to get started: bootstrap a first version from what you already have, then improve it as real usage comes in.

Today we are changing that. **Motley is now available as an official plugin in ChatGPT and Claude**, and you can bootstrap a semantic layer on your own database in minutes, with the agent you already use. It is free to try.

**Why a semantic layer?**

A semantic layer holds the business definitions behind your numbers: what counts as revenue, which orders are real, how a customer becomes “active”. With it, an agent answers from definitions your team agreed on instead of guessing joins and columns. Without it, two people asking the same question can get two different numbers, and nobody can say which one is right. [Anthropic](https://claude.com/blog/how-anthropic-enables-self-service-data-analytics-with-claude), [Vercel](https://vercel.com/ship/nyc/session/1200-analytics-requests-a-day-how-we-built-vercels-data-agent) and [Block](https://engineering.block.xyz/blog/building-the-data-foundation-for-automated-analytics) all run their own data agents on a semantic layer.

## How the bootstrap works

You connect a database or warehouse with read-only access, then ask your agent to set up the semantic layer and point it at whatever context you have: a Notion page on how you report, a dbt project, a dashboard your team checks every week, an #ask-data Slack channel, or a trusted finance export.

The agent reads that context, probes the tables, and surfaces the gotchas that skew your numbers: test orders mixed in with real ones, amounts stored in cents, an order total that already includes tax. When a definition is ambiguous, it asks you to choose which option is correct. In the video above, the agent finds October revenue at $148,210 including tax and $136,940 without, and you choose which definition is the correct one. Your decision is recorded in the layer and used in all future sessions.

The agent then builds the models and checks them against numbers you already trust. At the end, it shows you what it built, how each key figure was verified, and which questions it cannot answer yet. The definitions can be stored in your own Git repository and changed by you at any time.

## The first question is not the hard one

“What is our revenue this month?” Almost any tool can answer that, because someone already put it on a dashboard.

The questions that matter come next. Which store drove it? Which one is growing fastest against last year? How much of that growth comes from new versus returning customers? You cannot possibly define a metric for every question in advance, but with most semantic layers you have to. With Motley, the agent composes them at query time from the verified revenue definition, so the follow-ups stay consistent with the first answer. A week later, when your team asks for October revenue by store, the stores add up to the same $136,940.

We wrote more about this in [A semantic layer is only as good as its query engine](https://motley.ai/blog-posts/a-semantic-layer-is-only-as-good-as-its-query-engine/).

## Built on SLayer 2.0

Motley runs on [SLayer](https://github.com/MotleyAI/slayer), our open-source semantic layer. SLayer 2.0, released last week, is fully based on Apache Ossie, so your definitions stay on an open standard and are never locked into Motley. Egor explains the release in [SLayer 2.0: the Ossie release](https://motley.ai/blog-posts/slayer-2-0-the-ossie-release/).

## Try it

Install Motley from the official listing in your assistant:

When you connect it for the first time, you create your Motley account and connect your database, or start with the demo data. Then run `/semantic-layer-bootstrap` and your agent bootstraps your semantic layer with you, and invite your team once it is done. Using another MCP client? Sign up at [app.motley.ai](https://app.motley.ai) and follow the steps there. The [documentation](https://docs.motley.ai/motley/getting-started/) covers each step.

The trial lasts 14 days or 1,000 queries, whichever comes first. After that, [Motley Cloud plans](https://motley.ai/pricing) are priced by usage. If you prefer to run everything yourself, SLayer is MIT licensed and free.
