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
Configuration
The server requires these environment variables:
INFLUXDB_TOKEN (required): Authentication token for the InfluxDB API
INFLUXDB_URL (optional): URL of the InfluxDB instance (defaults to http://localhost:8086)
INFLUXDB_ORG (optional): Default organization name for certain operations
Installation# Installing via Smithery
To install InfluxDB MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @idoru/influxdb-mcp-server --client claude
```\n\n### Option 1: Run with npx (recommended)
```bash\n\n# Run directly with npx
INFLUXDB_TOKEN=your_token npx influxdb-mcp-server
```\n\n### Option 2: Install globally
```bash\n\n# Install globally
npm install -g influxdb-mcp-server\n\n# Run the server
INFLUXDB_TOKEN=your_token influxdb-mcp-server
```\n\n### Option 3: From source
```bash\n\n# Clone the repository
git clone https://github.com/idoru/influxdb-mcp-server.git
cd influxdb-mcp-server\n\n# Install dependencies
npm install\n\n# Run the server
INFLUXDB_TOKEN=your_token npm start
Integration with Claude for Desktop
Add the server to your claude_desktop_config.json:\n\n### Using npx (recommended)