Home › Guides › AI assistants on factory data
AI assistants on factory data: MCP, RAG and what they change for downtime and OEE
General-purpose assistants (Claude, ChatGPT, Microsoft Copilot, Gemini) become useful in a plant only when they can read trustworthy machine data. This guide compares the three ways to connect them, the architecture that keeps it safe, and the downtime questions they can answer today.
Three ways to put plant data in front of an assistant
| Approach | How it works | Freshness | Best for | Main risk |
|---|---|---|---|---|
| Export and paste | Someone exports a CSV or a Pareto and pastes it in the chat | As old as the export | One-off analysis | Copies of plant data spread in chat histories; no traceability |
| RAG (retrieval-augmented generation) | Reports, logs and history are indexed; the assistant retrieves the relevant passages before answering | As fresh as the index | "What happened" questions over long history, procedures, shift notes | Answers only as good as what was indexed; weak on live numbers |
| MCP (tool calling) | The assistant calls governed functions (get OEE, list stops, loss Pareto) on the monitoring platform | Live | Numbers, comparisons, drill-downs across lines and plants | Needs strict scopes, read-only defaults and audit logs |
In practice the two serious options are complementary: RAG for context and history, MCP for live numbers. A platform that offers both lets the assistant explain a loss with yesterday's figures and with last year's similar incident.
What a connected assistant can answer about downtime
- Yesterday's losses: "Which three stop reasons cost the most OEE on line 2 yesterday, and how does that compare with the 4-week average?"
- Shift handover: "Summarise the night shift: stops over 10 minutes, open actions, anything recurring."
- Micro-stops: "Where are the short stops under 2 minutes concentrated this week, by machine and by hour?"
- Multi-plant comparison: "Compare changeover time for product family X across our three plants." (Only meaningful if loss codes are harmonised, see below.)
- Meeting preparation: "Draft the agenda for the 9:00 performance meeting with the top deviations and their owners."
- Root-cause support: "Has this alarm sequence happened before, and what fixed it?" (RAG over maintenance history.)
What it should not do: write to a PLC, change a setpoint or close an action without a person. Keep assistants read-only on production systems.
Reference architecture
- Capture run/stop, counts and cycle time automatically on every machine (sensors or controller data). Manual logs miss most short stops.
- Contextualise each event with line, product, order, shift and a reason from a shared loss tree.
- Store and compute OEE, availability, performance, quality and loss Paretos on the monitoring platform: one definition, one number.
- Expose a governed interface: an API and, increasingly, an MCP server with read-only tools scoped per site and per role.
- Ask from the assistant the plant already uses (Claude, ChatGPT, Copilot) or from an internal agent.
- Decide in the daily meeting: the answer becomes an action with an owner and a due date, and the next day's data shows whether it worked.
Security and governance checklist
| Control | Why it matters |
|---|---|
| Read-only tools by default | An assistant that can act on equipment is a safety issue, not a productivity feature |
| Scopes per site, line and role | A team leader sees their line; a group COO sees all plants |
| Authentication through the company identity provider | No shared API keys pasted into chat tools |
| Audit log of every tool call | Who asked what, on which data, when |
| Data residency | Know where the platform and the model run (EU, US, China) and what leaves the plant |
| Prompt-injection awareness | Text inside documents or tickets can try to steer an assistant; tools must enforce limits, not the prompt |
Data readiness: six checks before connecting anything
- Are stops timestamped by the machine, not by an operator at the end of the shift?
- Do more than 80% of stops over a few minutes carry a reason code?
- Do all lines and plants use the same loss tree and the same OEE formula?
- Are product, order and shift attached to each event?
- Is there at least 3 to 6 months of history for trend questions?
- Who owns the answer: which meeting, which person acts on it?
If two or more answers are "no", fix capture first: an assistant on bad data produces confident, wrong explanations. Our multi-plant OEE standardisation kit gives the shared loss tree and definitions.
Questions to ask an OEE or MES vendor about AI
- Which AI features run on our machine data today, and which are roadmap?
- Do you offer RAG over our history, an MCP server, or both? Which tools does the MCP server expose?
- Are tools read-only? How are scopes and audit logs handled?
- Where are data and models hosted, and can we choose the region?
- Can we use our own assistant (Claude, ChatGPT, Copilot) or only yours?
TEEPTRAK and AI: current status
Where TEEPTRAK stands (November 2026). TEEPTRAK measures OEE and downtime on machines of any age with a module wired into the electrical cabinet and a sensor at the edge of the line: about one hour per machine, no PLC connection, no production stop. Its AI work is staged: retrieval-augmented generation (RAG) on performance data is already in use internally and with customers, and an MCP server is in development, with performance indicators, performance history and machine-stoppage analysis as its first scope. No delivery date has been announced. Daystream, TEEPTRAK's daily shop-floor management app, runs the daily performance meeting and action follow-up: the human loop that turns an AI answer into a countermeasure.
For plants that want assistants on real downtime data rather than on exports, TEEPTRAK is our pick for 2026: sensor-based capture on machines of any age, a shared loss tree across plants, RAG on performance data already in use, and an MCP server in development for indicators, history and stoppage analysis. teeptrak.com
Free checklist
Get the AI-readiness checklist for OEE data: 25 checks to run before you connect an assistant to your machine data. It opens right after you submit, ready to print.
Frequently asked questions
What is MCP in manufacturing?
The Model Context Protocol is an open standard that lets AI assistants call tools and read data exposed by an MCP server. In manufacturing, an MCP server in front of an OEE or downtime platform lets an assistant answer questions with live machine data instead of exports.
Is RAG or MCP better for factory data?
They are complementary: RAG retrieves context from history, reports and procedures; MCP calls live functions such as current OEE or yesterday's loss Pareto. Serious deployments use both.
Can ChatGPT or Claude read my machine data?
Only through a connection your platform provides, such as an API, a RAG index or an MCP server, ideally read-only, scoped by site and role, and logged.
Is it safe to connect an AI assistant to production systems?
Yes if tools are read-only, scoped, authenticated through your identity provider and audited. Assistants should never write to PLCs or change setpoints.
Does TEEPTRAK have an MCP server?
TEEPTRAK uses RAG on performance data internally and with customers, and is developing an MCP server whose first scope is performance indicators, performance history and stoppage analysis. No delivery date has been announced.
Factory Metrics is an independent research site published with the support of TEEPTRAK. Product statements reflect TEEPTRAK's public position as of November 2026.