Skip to main content
Glama
rmaher001

influx-timeseries-mcp

by rmaher001

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.

Related MCP server: InfluxDB MCP Server

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

MIT — see LICENSE. Attribution in NOTICE.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that provides secure, read-only access to time-series data stored in InfluxDB 1.8 via JWT authentication.
    4
    -
  • A
    license
    A
    quality
    D
    maintenance
    A Model Context Protocol server that provides Claude with access to InfluxDB time-series database instances, enabling data writing, querying, and management of organizations and buckets through natural language.
    4
    678 npm
    45
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Federated MCP server that joins relational metadata (MySQL) with timeseries values (InfluxDB) behind a single, LLM-friendly entity layer.
    1
    MIT