InfluxDB

InfluxDB

Run queries against InfluxDB OSS API v2.

28
Stars
12
Forks
2
Releases

Overview

InfluxDB MCP Server is an MCP server that exposes access to an InfluxDB instance using the InfluxDB OSS API v2. It provides resources for organizations, buckets, and bucket measurements, and enables querying data through an endpoint that returns Flux results as MCP resources. The server also offers tools to write time-series data in line protocol format, run Flux queries, and manage database objects by creating buckets and organizations. Prompts are included to aid users, featuring templates such as flux-query-examples and line-protocol-guide. Configuration is done through environment variables: INFLUXDB_TOKEN (required), INFLUXDB_URL (default http://localhost:8086), and INFLUXDB_ORG (default organization for some operations). It can run in stdio transport by default or be started as a Streamable HTTP server with --http (with an optional port). Installation supports Smithery-based deployment, running via npx, or installing globally. The project emphasizes a modular code structure, Claude Desktop integration, and thorough integration tests using Docker.

Details

Owner
idoru
Language
JavaScript
License
MIT License
Updated
2025-12-07

Features

Resources: InfluxDB data access

Exposes resource endpoints for organizations, buckets, bucket measurements, and Flux query results, enabling read access to InfluxDB data.

Tools: Write, query, and manage

Includes tools to write time-series data in line protocol format, execute Flux queries, and create buckets and organizations.

Prompts: Query templates and line protocol

Provides prompt templates such as flux-query-examples and line-protocol-guide to assist with common Flux queries and data formatting.

Audience

Claude Desktop usersIntegrate InfluxDB MCP server with Claude Desktop to run Flux queries and manage data through MCP prompts.

Tags

influxdbmcpserverclaudefluxline-protocoltime-seriesoss-api-v2