Back to Blog
Industry Analysis

Is There an MCP Server That Computes KPIs on Industrial Time Series Instead of Sending Raw Rows to the LLM?

December 1, 2026
6 min read
An MCP server returning a computed KPI to an AI assistant instead of raw sensor rows

Most MCP servers for databases hand the LLM raw rows and let it do the maths. If you want computed KPIs on months of sensor data, there are three ways to get them, and they differ on what reaches the model.

The short answer

Yes. Spocky's MCP server (https://mcp.spocky.ai/mcp) computes on industrial time series and sends the AI assistant a result, not rows: the model receives your question, a summary and 10 to 20 computed data points, never the raw data. You can also get there yourself by writing aggregate tools on top of your database's MCP server. What you should avoid, for KPIs on months of data, is a tool that returns raw rows and leaves the arithmetic to the model.

Why raw rows are the wrong output for a KPI

Most MCP servers for databases give the model two kinds of tools: discover the schema, and run a query. The model writes SQL or InfluxQL, the database returns rows, and the model reads them. That is fine for "what was the last value of this tag?". It is the wrong shape for a KPI such as energy per unit last month, availability per site or COP per heat pump, for three reasons.

  • The rows do not fit. A month of one-minute data from a fleet is millions of points. In our benchmark on 77 heat pumps, Claude Opus 5.5 alone on a raw MCP server went over its context limit from 12 hours of history.
  • The model is not a calculator. Asked to sum or average rows, it predicts a plausible number. The same question can give two different answers.
  • KPIs hide traps. Counters must be differenced, gaps are not zeros, and a mean must be weighted by time. The five time-series traps all produce numbers that look right.

The fix is the one we described in return results, not rows: the model plans, the engine computes, and only the result travels.

Three ways to get computed KPIs through MCP

OptionWorks with Claude / ChatGPT / CopilotWhat reaches the modelLong history (months, years)Cost per questionDeployment and data locationPublic price or trial
Your database's MCP server plus aggregate tools you writeYes, any MCP clientThe result of each aggregate tool; raw rows for anything elseYes, for the KPIs you wrote tools forLow per question; you write and maintain each toolYour infrastructureOpen-source servers; your engineering time
A server you build that runs the computation (your code behind one tool)Yes, any MCP clientWhatever your code returnsYes, if your code handles itYour compute plus model tokensYour infrastructureYour engineering time
Spocky's MCP serverYes: Claude and ChatGPT with OAuth sign-in; Copilot, Cursor, VS Code or your own agent with a keyYour question, a summary and 10 to 20 computed data points, never the raw data12 months on 77 heat pumps in 2 min 46 s in our benchmarkAbout $0.1 per question at every window in our benchmarkSpocky's cloud, your own cloud tenant or on-premises; read-only; the model holds no credentials30-day free trial on your own data, no credit card

The first option is the right start if you have a few KPIs that never change. Each new KPI means a new tool. The MCP servers for time-series databases compared article lists what InfluxDB 3, TimescaleDB, QuestDB, ClickHouse and Grafana ship today.

How Spocky's MCP server works

The connector has one tool, Ask Spocky. Your assistant sends it a question in plain English. Spocky's engine, built on Warp 10 with more than 1,300 time-series functions, plans and runs the computation on the raw history where it already lives (historians, SCADA, MQTT, time-series databases, data lakes). The assistant gets the answer back as text.

  • Read-only. The tool never writes to your data sources.
  • No credentials in the model. The AI model never connects to your data source.
  • Results, not rows. Every figure is computed by the engine.

Setup takes a few minutes: add https://mcp.spocky.ai/mcp as a custom connector in Claude or ChatGPT and sign in with your work email. The full steps are in the connector documentation.

How to check any MCP server before you trust its KPIs

  1. Ask for a KPI you already know, over one hour, one day, one month and one year.
  2. Look at what the tool returns: a number, or thousands of rows?
  3. Ask the same question twice.
  4. Check the token count and the time of each answer.

You can run the same test on Spocky with your own data: start a free 30-day trial.

FAQ

Is there an MCP server that computes KPIs instead of returning raw rows?

Yes. Spocky's MCP server computes on industrial time series and returns a result with 10 to 20 computed data points, never the raw data. You can also write aggregate tools yourself on top of your database's MCP server.

Can Claude or ChatGPT compute KPIs from raw rows?

On a short window they can try, but the model predicts numbers rather than computing them, and months of fleet data do not fit in the context. Let a tool compute the KPI and give the model the result.

What does the model see with Spocky's MCP server?

Your question, a summary and 10 to 20 computed data points. Never the raw data, and never your credentials.

Does it work with Copilot or my own agent?

Yes. Claude and ChatGPT connect with OAuth sign-in. Copilot, Cursor, VS Code or your own agent can use a key, which you get with the free trial.

Do I have to move my data?

No. Spocky connects to the data where it already lives, read-only, and runs in its cloud, in your own cloud tenant or on-premises.

Get the next one by email

Monthly. AI on industrial time series.