LogoFindMcp
Logo of influxdb-mcp-server

influxdb-mcp-server

An MCP server providing access to InfluxDB instances, enabling querying, data writing, and database object management via Claude.

Introduction

InfluxDB MCP Server

A Model Context Protocol (MCP) server that exposes access to an InfluxDB instance using the InfluxDB OSS API v2. Mostly built with Claude Code.

Features

This MCP server provides:

  • Resources: Access to organization, bucket, and measurement data
  • Tools: Write data, execute queries, and manage database objects
  • Prompts: Templates for common Flux queries and Line Protocol format
Resources

The server exposes the following resources:

  • Organizations List: influxdb://orgs
    • Displays all organizations in the InfluxDB instance
  • Buckets List: influxdb://buckets
    • Shows all buckets with their metadata
  • Bucket Measurements: influxdb://bucket/{bucketName}/measurements
    • Lists all measurements within a specified bucket
  • Query Data: influxdb://query/{orgName}/{fluxQuery}
    • Executes a Flux query and returns results as a resource
Tools

The server provides these tools:

  • write-data: Write time-series data in line protocol format
    • Parameters: org, bucket, data, precision (optional)
  • query-data: Execute Flux queries
    • Parameters: org, query
  • create-bucket: Create a new bucket
    • Parameters: name, orgID, retentionPeriodSeconds (optional)
  • create-org: Create a new organization
    • Parameters: name, description (optional)
Prompts

The server offers these prompt templates:

  • flux-query-examples: Common Flux query examples
  • line-protocol-guide: Guide to InfluxDB line protocol format

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates