The problem
Every department defined the same KPIs in its own way.
Sales, finance and logistics each took their numbers from a different tool and defined the same KPIs in their own way, so two reports could give two answers to the same question. 21 of the KPIs management needed were not visible to it at all. Putting AI on top of that would only have scaled the confusion.
The solution
What we built
We rebuilt 21 KPIs every night from the raw ERP tables, read-only and checked to the cent. AI assistants such as Claude query them through a read-only MCP connector.
- 01KPIs on sales, receivables, stock and logistics, rebuilt every night from 30 raw source tables and read-only on the ERP
- 02Every KPI built twice, independently, and released only when both versions matched to the cent
- 03A dashboard and an API behind the company's own sign-in, with roles taken from the company's own groups
- 04A read-only connector so people can ask Claude for the KPIs; it acts as the user who asks and refuses anything but reads
How it works
The path the data takes
- 01
ERP
We read 30 source tables and never write to them.
- 02
Extraction
It runs every night and takes about 12 minutes end to end.
- 03
Transformation
Each KPI is defined once, in SQL.
- 04
API and dashboard
People sign in with their company accounts.
- 05
MCP connector
AI assistants query the KPIs and can only read them.
What changed
Every team reads the same numbers, and anyone can ask a question about them.
The figures beside this note were produced by the system itself or by a survey of the people who used it.