Metric Semantic Layer: How Lyft Governs and Scales Key Data Definitions
As Lyft scaled, different teams were using different definitions for the same metrics with no centralized version control or shared standard, causing outdated metric definitions to creep into decision-making.
Lyft's MSL provides a single source of truth for metric definitions, and the AI MCP layer enables natural-language queries answered with greater accuracy and fewer hallucinations, integrating with Claude, Cursor, and Hex.
Frequently asked questions
What did this team achieve with this AI workflow?
Lyft's MSL provides a single source of truth for metric definitions, and the AI MCP layer enables natural-language queries answered with greater accuracy and fewer hallucinations, integrating with Claude, Cursor, and…
What tools did this team use?
YAML, Jinja, Python, Airflow, Amundsen, MCP, Claude, Cursor, Hex.
What results were reported?
Metric query accuracy: greater accuracy and fewer hallucinations (source-reported, not independently verified).
How is this back office ops AI workflow structured?
Metric defined in YAML and SQL → Owner approval of changes → Automated downstream propagation → User submits natural-language metric query → AI retrieves from metric knowledge base → LLM-as-judge evaluation.