For Databricks
ClariLayer imports your Databricks Metric Views as canonical definitions, then layers them with your own working context — so your agent recalls both in-flow and flags where your version has drifted from the governed one.
The reconcile moment
The SQL is usually fine. The context is what breaks.
Your agent’s working answer
$1.51M
local arr_monthly note · last edited 6 weeks ago
Databricks Metric View
$1.42M
committed_recurring_revenue · governed
How it works
In this personal MCP workflow, your agent reads the definitions from Unity Catalog with its own access and bootstraps them into ClariLayer as semantic_model canon — one entry per measure, canonical from the start. ClariLayer does not hold a source credential or touch your catalog directly on this path.
Ask a data question inside Claude Code, Cursor, or Codex and your agent pulls your working context and the matching governed canon together, in one response. You never leave the editor.
A different grain, base table, or filter shows up in the recall response, named: filters_differ. It works even when your local definition has a different name — ClariLayer matches on what a metric computes (table, measure, aggregation), not its label.
Open the console: adopt the governed definition (your SQL is preserved), link it as a deliberate variant, or keep local. Then reconcile against your warehouse for an honest asserted or caveat outcome — never a verified badge.
Compare with canonical
arr_monthlyMetric View committed_recurring_revenuePrivacy & access
In this personal workflow, your agent is the connector. It keeps its own Databricks access and sends definitions and supported result evidence — metadata plus any optional preview rows it chooses to include. ClariLayer receives no source credential and runs no server-side query on this path.
ClariLayer
stores definitions + context
Your AI agent
holds the credentials
Databricks
your warehouse
When you import, your agent passes the structured definition; when you reconcile, it runs the SQL and sends back the result shape. On this personal path, no warehouse credentials reach us and no SQL runs on our servers. The gated Governed Context Edge can use a team connector only when the participating team explicitly configures it under that surface’s own controls. The full data-flow posture is on the security page.
Honest scope
In the personal MCP workflow, ClariLayer has no Databricks connection of its own. It does not read Unity Catalog, query Delta tables, or ingest query history; your agent does that with its own access.
When you reconcile a metric in the personal MCP workflow, your agent executes the SQL and sends back the result shape. ClariLayer does not initiate a query, schedule a scan, or hold a source credential on this path.
Context entries are asserted or caveat: a mismatch is flagged as a caveat, and the stronger “verified” mark is not live or promised on a delivery timeline. Every mark you see today is one we can back.
Who it’s for
You work a Databricks workspace in Claude Code, Cursor, or Codex, with Metric Views in Unity Catalog. Single-player — no data team, no procurement, no shared account. Install the MCP server, run one bootstrap, and your agent is grounded on your canon.
Connect ClariLayer to Claude Code, Cursor, or Codex. Import your Metric Views, and your agent stops guessing — it recalls the governed definition and flags your drift in-flow.
We use privacy-friendly analytics
With your consent we use PostHog and Vercel Analytics to understand how ClariLayer is used so we can improve it. We never sell your data. Errors are always monitored (without analytics) so we can keep the app reliable. You can change your mind anytime.