MCP Servers for Time-Series Databases Compared: Who Computes the Number?

InfluxDB 3, TimescaleDB, QuestDB, ClickHouse and Grafana all ship an MCP server for Claude or ChatGPT. Six criteria, every vendor fact sourced, and the question that decides it: who computes the number on a year of sensor data?
Your database already speaks MCP. Can you trust the number?
You run InfluxDB, TimescaleDB, QuestDB, ClickHouse or Grafana. In 2026 each ships an MCP server, so plugging Claude, ChatGPT or Copilot into your sensor data takes minutes. You ask for last month's energy per unit and a table comes back that looks right. The next question is the one that matters: who computed that number, and what happens when the question covers a year instead of an hour?
We compare five official MCP servers on the six criteria of our comparison series, and show where a compute layer such as Spocky fits. Every vendor fact comes from the vendor's own pages, linked and checked on 29 November 2026.
What these MCP servers do
All five follow the same pattern. The model gets tools to discover the schema and run a query (SQL, InfluxQL, PromQL). The model writes the query, the database runs it, and the result rows go back into the conversation. That works well when the result is small. It also means two things:
- The model writes the maths. Time weighting, gaps, counter resets and units are only as right as the generated query.
- Whatever the query returns reaches the model. If it returns raw points, the model does the arithmetic itself. That is where averages of averages and gaps read as zeros come from, as shown in why your LLM gets sensor averages wrong.
The five servers in one paragraph each
InfluxDB 3 MCP server. InfluxData's documentation covers setup in Claude Desktop and ChatGPT Desktop, and the v1.3 announcement (May 2026) adds Claude Code, OpenAI Codex and Cursor. It "runs locally over stdio" and "works across all InfluxDB 3 editions". In InfluxData's own battery demo, "the agent's first attempt asked for ±1 minute and received 1,542 rows, which it then narrowed." No row limit is stated on the pages we checked.
Tiger MCP (TimescaleDB on Tiger Cloud). Tiger Data's quickstart says "Tiger MCP is built into the Tiger CLI binary" and configures Claude Code, GitHub Copilot CLI, Cursor, Codex, Gemini, VS Code and others. Per the reference page, its db_query tool returns row data, truncates above a row limit (100 by default) and tells the agent to refine the query. A read_only option is off by default.
QuestDB MCP server. QuestDB's page names Claude Code, Codex, Cursor, OpenCode and Gemini CLI. The server "runs locally on your machine, listens on loopback only, and never handles credentials" and the Web Console enforces its permissions. Queries return results "to the agent (100 rows by default, up to 10,000, capped at about 1 MB per response)".
ClickHouse MCP server. The mcp-clickhouse README (Apache-2.0) documents Claude Desktop and a run_query tool. "Queries run in read-only mode by default", against ClickHouse Cloud or a self-hosted server. No row limit is stated in the README.
Grafana MCP server. The mcp-grafana server names Claude Desktop and Cursor and queries your Grafana data sources (PromQL, LogQL, and SQL or InfluxDB when enabled). Its Prometheus guide states that "Prometheus API responses are limited to 10 MiB after decompression. Responses above this limit return an error instead of partial results", and advises to "select fewer series, shorten the time range, or increase the step".
Comparison table
| Option | Works with Claude / ChatGPT / Copilot | What reaches the model | Long history (months, years) | Cost per question | Deployment and data location | Public price or trial |
|---|---|---|---|---|---|---|
| InfluxDB 3 MCP | Claude Desktop, Claude Code, ChatGPT Desktop, OpenAI Codex, Cursor | Query results; the vendor demo's first query returned 1,542 rows | No row limit or figure published | No figure published | Local process (npx or Docker) next to any InfluxDB 3 edition; vendor recommends a scoped read token | Core open source and free; Enterprise 30-day free trial |
| Tiger MCP (TimescaleDB) | Claude Code, GitHub Copilot CLI, Cursor, Codex, VS Code and others | Row data, truncated above 100 rows by default | No figure published | No figure published | Local, built into the Tiger CLI; Tiger Cloud services; read-only mode optional | "Start a free trial" on Tiger Cloud; terms not stated on the pages checked |
| QuestDB MCP | Claude Code, Codex, Cursor, OpenCode, Gemini CLI | Result rows: 100 by default, up to 10,000, about 1 MB per response | No figure published | No figure published | Local, loopback only, paired with the Web Console that enforces permissions | MCP server open source; Enterprise 30-day free trial |
| ClickHouse MCP | Claude Desktop documented | Query results as JSON-encoded strings; no row limit stated | No figure published | No figure published | Local (stdio) to ClickHouse Cloud or self-hosted; read-only by default | MCP server Apache-2.0; price not stated on the pages checked |
| Grafana MCP | Claude Desktop, Cursor | "Text and structured data"; Prometheus responses above 10 MiB return an error | Vendor advises fewer series, shorter ranges or a larger step | No figure published | uvx, Docker, binary or Helm; local Grafana or Grafana Cloud; Grafana 9.0 or later | Not stated on the pages checked |
| Spocky | Claude, ChatGPT, Copilot, plus Spocky chat, email, Teams and Slack | Computed results only: 44k to 59k tokens per question in the benchmark | 12 months, 29.6 million points, in 2 min 46 s (benchmark on 77 heat pumps) | About $0.1 per question at every window, 1 hour to 12 months (benchmark) | Spocky's cloud, your own cloud tenant or on-premises; read-only by default; the LLM holds no credentials | Free 30-day trial on your own data, no credit card |
Sources checked on 29 November 2026: InfluxDB 3 MCP docs, InfluxDB 3 MCP v1.3, InfluxDB 3 MCP with Claude, InfluxDB pricing, Tiger MCP quickstart, Tiger MCP reference, QuestDB MCP server, mcp-clickhouse, mcp-grafana, Grafana MCP Prometheus guide. Spocky figures come from our published benchmark.
Where the number goes wrong
The row caps are good engineering: they protect the context window. They also tell you what happens on a long history. What reaches the model is either an aggregate the model wrote, or a result cut at 100 rows, 10,000 rows, 1 MB or 10 MiB. Three failure modes follow.
- Truncation. A capped result changes the answer if the model averages what it received. Tiger tells the agent to refine the query, which helps if the agent does.
- Generated aggregates. To stay under the cap, the model pushes the aggregation into the query. A query that runs without error is not a query that is right.
- Different answers on each run. The same question can produce two different queries, and two numbers.
Our benchmark shows the context side of this. Claude Opus 5.5 alone on a raw MCP answered at 6 hours of history (2 min 05 s, $1.6) and went over its context limit from 12 hours. Its cost beyond 6 hours, up to about $2,900 at 12 months, is an extrapolation. The benchmark measures time, tokens and cost, not accuracy.
When you need a compute layer
Keep your database's MCP server for schema discovery, quick lookups and debugging queries. It is free or included, and local.
Add a compute layer when questions cover months or a whole fleet, when someone will act on the figure, and when the same question must give the same number. That is the job Spocky does. It connects read-only to time-series databases and historians where the data already lives. The Spocky engine, built on Warp 10, computes the answer on the full raw history next to the data, and only the results go back to the model. Each answer can show the raw points behind it, so you check the number instead of trusting it.
If you are weighing analytics platforms instead, see Seeq vs TrendMiner vs Cognite vs Spocky and our Seeq alternatives overview.
A test you can run this week
- Pick one question you can answer by hand, such as the energy used by one unit last month.
- Ask it through your database's MCP server and check the figure and the query the model wrote.
- Widen the window from a day to a month to a year, and note when the rows get capped or the answer changes.
- Ask the same question twice and compare the two numbers.
You can run the Spocky side of the test on your own data: start a free 30-day trial, read-only access, no credit card.
FAQ
Which time-series databases have an official MCP server?
InfluxDB 3, TimescaleDB on Tiger Cloud (Tiger MCP), QuestDB, ClickHouse (mcp-clickhouse) and Grafana (mcp-grafana) all publish one, each documented with Claude clients. Checked on 29 November 2026.
Do these MCP servers limit how much data reaches the LLM?
Some do. QuestDB returns 100 rows by default, up to 10,000, capped at about 1 MB. Tiger MCP truncates above 100 rows by default. Grafana returns an error above 10 MiB for Prometheus queries. The InfluxDB 3 and ClickHouse pages we checked state no row limit.
Why does my LLM give a different number on the same question?
Through a database MCP server, the model writes a new query on each run, and two queries can handle gaps or time weighting differently. A compute layer that runs the same computation gives the same answer.
Is a database MCP server enough for a year of sensor data?
For a lookup or a small aggregate, often yes. Over a year or a fleet, the result is either capped or computed by a query the model wrote. Spocky computes it next to the data: 12 months in 2 min 46 s for about $0.1 in our benchmark.
Can I keep my database's MCP server and add Spocky?
Yes. Keep it for schema work and quick queries, and let Spocky answer the long-history and fleet questions from the same assistant.
Get the next one by email
Monthly. AI on industrial time series.