influx-timeseries-mcp
influx-timeseries-mcp
A selective, aggregation-first Model Context Protocol (MCP) server for InfluxDB v2 (Flux), built for LLM use where flooding the context window with raw time-series points is the failure mode to avoid.
Status: in development. Design spec:
docs/superpowers/specs/2026-06-12-influx-timeseries-mcp-design.md
Why
Generic InfluxDB MCP servers expose "run arbitrary Flux → return all rows." For time-series and event data that dumps tens of thousands of points into the model on a single query. This server inverts that: every path pushes reduction to InfluxDB and bounds its output, so the database returns kilobytes and the model stays focused.
Design
Aggregation-first. All windowing, grouping, percentiles, and limits are expressed in the Flux sent to InfluxDB — the server never pulls raw series into memory to reduce them.
Hybrid tool surface. Cheap discovery tools (measurements, tags, fields) + curated selective queries (
aggregate,top_n,count_events,latest) + a guarded raw-Flux escape hatch (mandatory range, auto-injected limit, byte-capped response).Bounded by construction. Range is mandatory; results are double-capped (max rows AND max bytes); truncation is explicit, never a silent partial dump.
Read-only. No write/admin tools; runs with a read-only InfluxDB token.
Runtime
Python + the MCP SDK (FastMCP), run as a stdio server. Packaged as a container for the homelab MCP gateway.
License
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rmaher001/influx-timeseries-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server