InfluxDB MCP Server logo

InfluxDB MCP Server

by idoru

The InfluxDB MCP Server exposes access to an InfluxDB instance using the InfluxDB OSS API v2 via the Model Context Protocol. It provides resources, tools, and prompts for interacting with InfluxDB.

View on GitHub

Last updated: N/A

What is InfluxDB MCP Server?

The InfluxDB MCP Server is a Model Context Protocol server that allows you to interact with an InfluxDB instance using the InfluxDB OSS API v2. It provides a structured way to access and manipulate data within InfluxDB through resources, tools, and prompts.

How to use InfluxDB MCP Server?

To use the server, you need to configure it with your InfluxDB token, URL, and organization. You can then access resources like organizations, buckets, and measurements using specific URLs. Tools are available for writing data, executing queries, and managing database objects. Prompts provide templates for common Flux queries and line protocol format.

Key features of InfluxDB MCP Server

  • Access to organization, bucket, and measurement data

  • Tools for writing data, executing queries, and managing database objects

  • Templates for common Flux queries and Line Protocol format

  • Comprehensive integration tests

  • Modular code structure for maintainability

Use cases of InfluxDB MCP Server

  • Integrating InfluxDB with applications that support MCP

  • Providing a structured interface for querying and manipulating time-series data

  • Automating common InfluxDB tasks

  • Building custom dashboards and visualizations

  • Interacting with InfluxDB from Claude for Desktop

FAQ from InfluxDB MCP Server

What is MCP?

Model Context Protocol. This server uses it to expose InfluxDB functionality.

What environment variables are required?

INFLUXDB_TOKEN is required. INFLUXDB_URL and INFLUXDB_ORG are optional.

How do I install the server?

You can install it using npx, npm globally, or from source.

How do I run the tests?

Run npm test to execute the integration tests.

What resources are available?

Organizations List, Buckets List, Bucket Measurements, Query Data