InfluxDB 3 MCP Server With Claude: What Works and What Breaks on Months of Data

InfluxData's MCP server lets Claude list your buckets and write SQL in ten minutes. Here is what works, what breaks when the window is three months and forty units, and a five-step check before you trust the number.
The setup takes ten minutes. The trust takes longer.
You run InfluxDB 3, you have Claude open all day, and InfluxData ships an MCP server. Ten minutes later Claude lists your buckets, writes SQL and answers "what was the average supply temperature on unit 12 last week?" with a clean number. The question this article answers is the next one: what happens when the window is three months, the question covers forty units, and you need to trust the figure enough to put it in a report?
Every InfluxDB fact below comes from InfluxData's own pages, checked on 29 November 2026 and linked at the end of the facts section. We have no relationship with InfluxData, and nothing here is a test of their product beyond what they publish.
What the InfluxDB 3 MCP server is
- Clients. InfluxData's documentation covers setup in Claude Desktop and ChatGPT Desktop. The v1.3 announcement (May 2026) adds Claude Code, OpenAI Codex and Cursor.
- Where it runs. It runs locally over stdio, started with npx or Docker, and works across all InfluxDB 3 editions. InfluxData recommends a scoped read token.
- What it does. The model discovers your schema, writes a query, the database runs it, and the result goes back into the conversation.
- What it costs. InfluxDB 3 Core is open source and free; Enterprise has a 30-day free trial.
- Row limit. None is stated on the pages we checked.
That last point matters more than it looks. In InfluxData's own Claude walkthrough, a battery demo, the agent's first query asked for one minute either side of an event and got 1,542 rows back, then narrowed the query. That is the agent doing the right thing on a small window. It also shows how fast raw rows pile up.
What works well
For an engineer who knows the schema and checks the SQL, the server is a real productivity gain:
- Exploration. "Which measurements carry a supply temperature tag?" or "list the units that sent no data yesterday" are discovery questions with small answers. The model is good at these.
- Writing the query you would have written. The model drafts SQL faster than you type it. If you read the query before you trust the result, you keep control.
- Short windows on one asset. An hour or a day on one unit returns a result small enough to fit in the conversation, and you can check it by eye.
What breaks on months of data
Ask the same kind of question over three months and forty units, and one of two things happens.
The model pulls raw rows. At one point a second, three months of one signal is about 7.8 million points; forty units make it about 311 million. No context window holds that. Our benchmark shows the ceiling: Claude Opus 5.5 alone on a raw MCP answered at 6 hours of data from 77 heat pumps and went over its context limit from 12 hours. With no stated row limit, you find the ceiling when the conversation fails or quietly answers from part of the data.
The model writes the aggregate. This is the smarter path, and the one a good agent takes: it pushes the average into the SQL so only a small table comes back. Now the result fits, and the risk moves into the query. The traps are the ones we listed in why your LLM gets sensor averages wrong:
- a gap of six hours averaged as if it were data;
- a daily average of hourly averages when the hours have different sample counts;
- a cumulative energy counter summed instead of differenced, or summed across a reset;
- a mean over samples when the sensor reports more often while the machine is running;
- local days of 23 or 25 hours around a clock change.
None of these raise an error. The query runs, a number comes back, and it looks right.
The method changes between runs. Ask the same question twice in fresh conversations and the model may write two different queries: one fills gaps, one does not; one bins by UTC day, one by local day. Two plausible numbers for the same question are the clearest sign that the model, not the method, decided the answer.
A checklist before you trust a number
- Read the SQL. Check the time binning, the gap handling and the counter logic before you read the result.
- Ask for the row count behind each figure. An average over 41 points and one over 86,000 points are not the same claim.
- Ask the question twice in two fresh conversations. If the numbers differ, keep neither until you know why.
- Widen the window step by step, a day, a week, a month, a quarter, and note when the answer slows, changes or stops.
- Check one figure by hand, the energy of one unit over one month is enough.
Where Spocky fits
Spocky sits between the LLM and your data, and it can read from InfluxDB where the data already lives. The model plans the question; the Spocky engine, built on Warp 10, computes every figure on the full raw history next to the data, with gaps, counters and time zones handled by the engine rather than by generated SQL. Only results reach the model, so the same input gives the same answer, and each answer can show the raw points behind it.
In our benchmark on 77 heat pumps, Spocky answered on 12 months, 29.6 million points, in 2 min 46 s, at about $0.1 per question. The benchmark measures time, tokens and cost, not accuracy, on one fleet and one question type. For the wider field of database MCP servers, see MCP servers for time-series databases compared.
If you keep the InfluxDB MCP server for exploration and use Spocky for the numbers that go into reports, you get both. You can test that on your own InfluxDB data: start a free 30-day trial, read-only access, no credit card.
FAQ
Does InfluxDB 3 have an MCP server for Claude?
Yes. InfluxData documents an InfluxDB 3 MCP server with setup for Claude Desktop and ChatGPT Desktop, and version 1.3 (May 2026) adds Claude Code, OpenAI Codex and Cursor. It runs locally over stdio and works across all InfluxDB 3 editions. Checked on 29 November 2026.
Does the InfluxDB 3 MCP server limit the rows returned to the model?
The InfluxData pages we checked on 29 November 2026 state no row limit. In InfluxData's own Claude demo, the agent's first query returned 1,542 rows for a two-minute window before it narrowed the query.
Can Claude compute averages on months of InfluxDB data?
It can if it writes the aggregation into the SQL, so only a small result comes back. The risk then moves into the query: gaps, counters, sample rates and time zones are easy to get wrong without an error. Read the query, ask twice and check one figure by hand.
Why do I get different numbers when I ask the same question twice?
Because the model chooses the method each time: which rows, which time bins, how to treat gaps. When an engine computes the figure, the method is fixed and the same input gives the same answer.
Can Spocky work with InfluxDB?
Yes. Spocky connects read-only to your existing InfluxDB, computes on the full raw history and sends only results to Claude, ChatGPT or Copilot. The free 30-day trial runs on your own data, with no credit card.
Get the next one by email
Monthly. AI on industrial time series.