InfluxDB

by quorralyne

Not rated
GitHub

About

A server for integrating with InfluxDB, a time-series database.

Details

Author
quorralyne
Categories
Database, Infrastructure, Other

B Local Npx No Install Build Required

- Run directly with npx(after publishing to npm, won't work yet):

{ "mcpServers": { "influxdb": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-influxdb"], "env": { "INFLUX_DB_INSTANCE_URL": "http://localhost:8181/", "INFLUX_DB_TOKEN": "<YOUR_INFLUXDB_TOKEN>", "INFLUX_DB_PRODUCT_TYPE": "core" } } } }

Before running the Docker integration, you must build the Docker image:

# Option 1: Use docker compose (recommended) docker compose build # Option 2: Use npm script npm run docker:build

a) Docker with remote InfluxDB instance(seeexample-docker.mcp.json):

{ "mcpServers": { "influxdb": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "INFLUX_DB_INSTANCE_URL", "-e", "INFLUX_DB_TOKEN", "-e", "INFLUX_DB_PRODUCT_TYPE", "mcp/influxdb" ], "env": { "INFLUX_DB_INSTANCE_URL": "http://remote-influxdb-host:8181/", "INFLUX_DB_TOKEN": "<YOUR_INFLUXDB_TOKEN>", "INFLUX_DB_PRODUCT_TYPE": "core" } } } }

b) Docker with InfluxDB running in Docker on the same machine(seeexample-docker.mcp.json):

Usehost.docker.internalas the InfluxDB URL so the MCP server container can reach the InfluxDB container:

{ "mcpServers": { "influxdb": { "command": "docker", "args": [ "run", "--rm", "-i", "--add-host=host.docker.internal:host-gateway", "-e", "INFLUX_DB_INSTANCE_URL", "-e", "INFLUX_DB_TOKEN", "-e", "INFLUX_DB_PRODUCT_TYPE", "influxdb-mcp-server" ], "env": { "INFLUX_DB_INSTANCE_URL": "http://host.docker.internal:8181/", "INFLUX_DB_TOKEN": "<YOUR_INFLUXDB_TOKEN>", "INFLUX_DB_PRODUCT_TYPE": "enterprise" } } } }

- Use your MCP client to call tools, resources, or prompts as described above.
- See theexample-*.mcp.jsonfiles for ready-to-use configuration templates:

- example-local.mcp.json- Local development setup
- example-npx.mcp.json- NPX-based setup
- example-docker.mcp.json- Docker-based setup
- example-cloud-dedicated.mcp.json- Cloud Dedicated with all variables

- Use theget_helptool for built-in help and troubleshooting.
- For connection issues, check your environment variables and InfluxDB instance status.
- For advanced configuration, see the comments in the example.envand MCP config files.

An MCP server for interacting with InfluxDB time-series databases, enabling AI assistants to work with time-series data.

Access VictoriaMetrics APIs for monitoring, observability, and debugging.

Analyze Solana metrics from InfluxDB and generate Grafana dashboards.

Official MCP server for dbt (data build tool) providing integration with dbt Core/Cloud CLI, project metadata discovery, model information, and semantic layer querying capabilities.

MCP Server accessing and administrate the Apache Druid Database

Data intelligence platform - query your database in natural language, build dashboards, and set up automated alerts that monitor your metrics 24/7.

You are working with the MCP MySQL Operations Server, a powerful tool that provides comprehensive MySQL database monitoring and analysis capabilities through natural language queries. This server offers 19 specialized tools for database administration, performance monitoring, and system analysis.

MCP-PostgreSQL-Ops is a professional MCP server for PostgreSQL database operations, monitoring, and management. Supports PostgreSQL 12-17 with comprehensive database analysis, performance monitoring, and intelligent maintenance recommendations through natural language queries.

Redis diagnostics MCP server — analyze memory usage, slowlog patterns, client connections, and keyspace health with AI-powered recommendations. Lightweight npx install, no Docker required.

An MCP server for interacting with OpenSearch clusters, configured via environment variables.

Official Model Context Protocol (MCP) server for InfluxDB integration. Provides tools, resources, and prompts for interacting with InfluxDB v3 (Core/Enterprise/Cloud Dedicated) via MCP clients.

- InfluxDB Instance: URL and token (Core/Enterprise) or Cluster ID and tokens (Cloud Dedicated)
- Node.js: v18 or newer (for npm/npx usage)
- npm: v9 or newer (for npm/npx usage)
- Docker: (for Docker-based setup)

- INFLUX_DB_INSTANCE_URL(e.g.http://localhost:8181/)
- INFLUX_DB_TOKEN
- INFLUX_DB_PRODUCT_TYPE(coreorenterprise)

INFLUX_DB_INSTANCE_URL=http://localhost:8181/ INFLUX_DB_TOKEN=your_influxdb_token_here INFLUX_DB_PRODUCT_TYPE=core

You must provideINFLUX_DB_PRODUCT_TYPE=cloud-dedicatedandINFLUX_DB_CLUSTER_ID, plus one of these token combinations:

Option 1: Database Token Only(Query/Write operations only):

INFLUX_DB_PRODUCT_TYPE=cloud-dedicated INFLUX_DB_CLUSTER_ID=your_cluster_id_here INFLUX_DB_TOKEN=your_database_token_here

Option 2: Management Token Only(Database management only):

INFLUX_DB_PRODUCT_TYPE=cloud-dedicated INFLUX_DB_CLUSTER_ID=your_cluster_id_here INFLUX_DB_ACCOUNT_ID=your_account_id_here INFLUX_DB_MANAGEMENT_TOKEN=your_management_token_here

Option 3: Both Tokens(Full functionality):

INFLUX_DB_PRODUCT_TYPE=cloud-dedicated INFLUX_DB_CLUSTER_ID=your_cluster_id_here INFLUX_DB_ACCOUNT_ID=your_account_id_here INFLUX_DB_TOKEN=your_database_token_here INFLUX_DB_MANAGEMENT_TOKEN=your_management_token_here

Seeenv.cloud-dedicated.examplefor detailed configuration options and comments.

{ "mcpServers": { "influxdb": { "command": "node", "args": ["/path/to/influx-mcp-standalone/build/index.js"], "env": { "INFLUX_DB_INSTANCE_URL": "http://localhost:8181/", "INFLUX_DB_TOKEN": "<YOUR_INFLUXDB_TOKEN>", "INFLUX_DB_PRODUCT_TYPE": "core" } } } }

B. Local (npx, no install/build required)

- Run directly with npx(after publishing to npm, won't work yet):
{ "mcpServers": { "influxdb": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-influxdb"], "env": { "INFLUX_DB_INSTANCE_URL": "http://localhost:8181/", "INFLUX_DB_TOKEN": "<YOUR_INFLUXDB_TOKEN>", "INFLUX_DB_PRODUCT_TYPE": "core" } } } }

Before running the Docker integration, you must build the Docker image:

# Option 1: Use docker compose (recommended) docker compose build # Option 2: Use npm script npm run docker:build

a) Docker with remote InfluxDB instance(seeexample-docker.mcp.json):

{ "mcpServers": { "influxdb": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "INFLUX_DB_INSTANCE_URL", "-e", "INFLUX_DB_TOKEN", "-e", "INFLUX_DB_PRODUCT_TYPE", "mcp/influxdb" ], "env": { "INFLUX_DB_INSTANCE_URL": "http://remote-influxdb-host:8181/", "INFLUX_DB_TOKEN": "<YOUR_INFLUXDB_TOKEN>", "INFLUX_DB_PRODUCT_TYPE": "core" } } } }

b) Docker with InfluxDB running in Docker on the same machine(seeexample-docker.mcp.json):

Usehost.docker.internalas the InfluxDB URL so the MCP server container can reach the InfluxDB container:

{ "mcpServers": { "influxdb": { "command": "docker", "args": [ "run", "--rm", "-i", "--add-host=host.docker.internal:host-gateway", "-e", "INFLUX_DB_INSTANCE_URL", "-e", "INFLUX_DB_TOKEN", "-e", "INFLUX_DB_PRODUCT_TYPE", "influxdb-mcp-server" ], "env": { "INFLUX_DB_INSTANCE_URL": "http://host.docker.internal:8181/", "INFLUX_DB_TOKEN": "<YOUR_INFLUXDB_TOKEN>", "INFLUX_DB_PRODUCT_TYPE": "enterprise" } } } }

- Use your MCP client to call tools, resources, or prompts as described above.
- See theexample-*.mcp.jsonfiles for ready-to-use configuration templates:

- example-local.mcp.json- Local development setup
- example-npx.mcp.json- NPX-based setup
- example-docker.mcp.json- Docker-based setup
- example-cloud-dedicated.mcp.json- Cloud Dedicated with all variables

- Use theget_helptool for built-in help and troubleshooting.
- For connection issues, check your environment variables and InfluxDB instance status.
- For advanced configuration, see the comments in the example.envand MCP config files.

An MCP server for interacting with InfluxDB time-series databases, enabling AI assistants to work with time-series data.

Access VictoriaMetrics APIs for monitoring, observability, and debugging.

Analyze Solana metrics from InfluxDB and generate Grafana dashboards.

Official MCP server for dbt (data build tool) providing integration with dbt Core/Cloud CLI, project metadata discovery, model information, and semantic layer querying capabilities.

MCP Server accessing and administrate the Apache Druid Database

Data intelligence platform - query your database in natural language, build dashboards, and set up automated alerts that monitor your metrics 24/7.

You are working with the MCP MySQL Operations Server, a powerful tool that provides comprehensive MySQL database monitoring and analysis capabilities through natural language queries. This server offers 19 specialized tools for database administration, performance monitoring, and system analysis.

MCP-PostgreSQL-Ops is a professional MCP server for PostgreSQL database operations, monitoring, and management. Supports PostgreSQL 12-17 with comprehensive database analysis, performance monitoring, and intelligent maintenance recommendations through natural language queries.

Redis diagnostics MCP server — analyze memory usage, slowlog patterns, client connections, and keyspace health with AI-powered recommendations. Lightweight npx install, no Docker required.

An MCP server for interacting with OpenSearch clusters, configured via environment variables.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.