# InfluxDB 3 MCP Server

Official InfluxDB 3 MCP server: query, write and manage Core, Enterprise and Cloud databases.

MCP server by InfluxData. Category: Data and backend.

## Install

Project (for this project only):

```sh
npx add-mcp @influxdata/influxdb3-mcp-server --env 'INFLUX_DB_PRODUCT_TYPE=${INFLUX_DB_PRODUCT_TYPE}'
```

Works with: Claude Code, Codex CLI, Cursor, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx add-mcp @influxdata/influxdb3-mcp-server --env 'INFLUX_DB_PRODUCT_TYPE=${INFLUX_DB_PRODUCT_TYPE}' -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Where it runs

Your computer.

## What it needs

Environment variables:

- `INFLUX_DB_PRODUCT_TYPE` (required): InfluxDB edition or service; use its runtime configuration value.
- `INFLUX_DB_TOKEN` (optional): Operator, admin, resource or database token. Required for Core, Enterprise and Cloud Serverless; needed for query/write on Cloud Dedicated and Clustered.
- `INFLUX_DB_INSTANCE_URL` (optional): InfluxDB URL. Required for Core, Enterprise, Cloud Serverless and Clustered; e.g. http://localhost:8181/ for Core or Enterprise.
- `INFLUX_DB_MANAGEMENT_TOKEN` (optional): Management API token for Cloud Dedicated or Clustered. Provide this or INFLUX_DB_TOKEN, or both for full functionality.
- `INFLUX_DB_ACCOUNT_ID` (optional): Account ID required when using a management token with Cloud Dedicated.
- `INFLUX_DB_CLUSTER_ID` (optional): Cluster ID required for Cloud Dedicated.
- `INFLUX_MCP_TOOL_PROFILE` (optional): Tools to expose. readonly exposes read-only tools; readwrite also allows writes; operator exposes all tools.

## Tags

- Runs on your computer: It runs as a program on your machine, with your access.
- Needs a key or account: It asks for an API key or a sign in before it works.

## Source

[Open the source](https://github.com/influxdata/influxdb3_mcp_server). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

- Previous: [automation-mining](https://syn4pse.dev/terminal/n8n-automation-mining.md)
- Next: [twilio-sms-send-message](https://syn4pse.dev/terminal/twilio-sms-send-message.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
