MCP server: the same numbers for AI

One definition of revenue, everywhere it’s asked.

Gridline holds your metrics as code on top of your warehouse, so the dashboard, the spreadsheet, the app and the AI assistant all get the same number.

2,600 data teams serve 4 billion queries a month

Search⌘K

Metrics

84 metrics · 12 models · Snowflake

net_revenue

Revenue after refunds, discounts and VAT, in EUR at the day’s rate

Live
Owner
Lars Mikkelsen, data
Defined in
metrics/revenue.yml
Cache
pre-aggregated, daily
p95 query
140 ms
ConsumerQueries / dayVia
Looker dashboards18,400SQL API
Finance sheet1,120Sheets
Store app92,000REST
Ask Orbit (AI)3,300MCP

v12 excludes gift-card sales; every consumer switched on Tuesday’s deploy.

Open definitionSee lineage

Activity

  1. Tue 10:02v12 merged: gift cards excluded
  2. Tue 10:06Deployed to 4 consumers
  3. Tue 10:07Cache rebuilt, 38 s

Same question, same answer

Matched
Dashboard
€1,284,220
Spreadsheet
€1,284,220
AI assistant
€1,284,220

Teams that run on Gridline

  • Orbit Retail
  • NORDKAP
  • fieldmark
  • Bramble Foods
  • VOLTA
  • Linden Bank

Metrics as code, served to everything

Define once in YAML, query from anywhere.

  • Metrics, joins and filters live as YAML next to your dbt models, reviewed in pull requests like any code.

    Pull request #418

    ready
    • revenue.yml: exclude gift cards+4 −1
    • Tests: 84 metrics compiledpass
    • Diff on last 90 days−0.8%
    • Approved by Lars10:01
  • Gridline pre-aggregates what gets asked often and keeps it fresh, so a dashboard of 30 charts loads in under a second.

    −97%
    warehouse compute
    140 ms
    p95

    p95 query time

    140 ms

    from 6.2 s on raw tables

    RawJunAugOctNov
  • Assistants query metrics through the MCP server and get the governed number with its definition, not a guess at your schema.

    Ask Orbit · “revenue last week”

    1. 10:41:02Tool: gridline.query(net_revenue)
    2. 10:41:02Filters: last_week, country=all
    3. 10:41:03€1,284,220 with definition v12
    4. 10:41:03Answer cites revenue.yml

[ On every merge ]

A metric changes in one place and everywhere at once.

When a definition merges, Gridline recompiles the models, rebuilds the cache and switches every consumer to the new version together.

4
consumers switched
38 s
to rebuild
0
dashboards edited
deploy #418 · 25 Nov 10:0684 metrics · 41 s
10:06:01doneCOMPILE84 metrics · 12 models
10:06:03doneDIFFnet_revenue −0.8% over 90 days (gift cards)
10:06:40doneCACHE6 rollups rebuilt in 38 s
10:06:41noteGROSS_MARGINcosts table 2 h late
10:06:42newSERVEv12 live on SQL, REST, Sheets, MCP

“Finance, the store app and our assistant all said different revenue. Now there’s one file, and it’s reviewed like code.”

Lars MikkelsenHead of Data, Orbit Retail1definition of revenue, from 5

One layer between the warehouse and every question

Defined once, cached, governed, served.

Access rule · region managers

Applied everywhere
Rows
region = user.region
Columns
no customer emails
Tools
Looker, Sheets, API, MCP
Members
14

One rule, every tool

Row and column access written once, applied in the dashboard, the sheet and the assistant.

Lineage · net_revenue

  • orders (Snowflake)source
  • refunds (Snowflake)source
  • 41 Looker dashboardsconsumer
  • Ask Orbit (AI)consumer

Lineage you can follow

From the table to every chart that uses it.

Warehouse compute

−97%

credits a day, since caching

JunJulAugOctNov

A warehouse bill that falls

Cached rollups answer most questions.

Connected

12 sources
  • SnowflakeConnected
  • BigQueryWarehouse
  • DatabricksWarehouse
  • PostgresWarehouse
  • Looker41 dashboards

In front of every tool

BI, spreadsheets, APIs and MCP.

“Our Snowflake bill fell by two thirds because dashboards stopped scanning raw tables.”

Femi Adeyemi, Analytics engineer · NORDKAP

−66%warehouse cost

Data teams on Gridline

One version of the truth.

Free to start, priced by queries

Every seat and every consumer included.

Plans compared
PlansDeveloper$01M queries / moStart freeTeamMost teams$400per monthStart freeEnterpriseCustomyearlyTalk to an engineer
Metrics as codeIncludedIncludedIncluded
SQL and REST APIsIncludedIncludedIncluded
CachingNot includedIncludedIncluded
MCP serverNot includedIncludedIncluded
Access rulesNot includedIncludedIncluded
Multi-regionNot includedNot includedIncluded
SSO and auditNot includedNot includedIncluded
Does it replace dbt?

No. dbt builds the tables; Gridline defines the metrics on top of them and serves them, and it reads your dbt models.

Where does the data go?

Nowhere new. Queries run on your warehouse; only aggregates are cached, in your region.

How do BI tools connect?

Over SQL with the Postgres protocol, or through native connectors for Looker, Tableau and Sheets.

Can we control who sees what?

Row and column rules per role, applied the same way in every tool.

One number. Every tool that asks for it.

Point Gridline at your warehouse and define your first metric in ten minutes.

Free to 1M queries · no card