Basic information
About InfluxDB MCP Server
Connect to InfluxDB time series databases for querying, writing, and managing data using powerful tools and resources.
InfluxDB is a MCP server in the Databases category listed in the AddMCP.net directory, published by idoru. Supported transport: stdio. Runtime: JavaScript. License: MIT. The repository has 43 GitHub stars. Source code is hosted on github.com. Related topics: analytics-data, community, databases.
Setup
{
"mcpServers": {
"influxdb": {
"command": "npx",
"args": [
"influxdb-mcp-server"
],
"env": {
"INFLUXDB_TOKEN": "your_token",
"INFLUXDB_URL": "http://localhost:8086",
"INFLUXDB_ORG": "your_org"
}
}
}
}
{
"mcpServers": {
"influxdb": {
"command": "npx",
"args": [
"influxdb-mcp-server"
],
"env": {
"INFLUXDB_TOKEN": "your_token",
"INFLUXDB_URL": "http://localhost:8086",
"INFLUXDB_ORG": "your_org"
}
}
}
}
{
"servers": {
"influxdb": {
"command": "npx",
"args": [
"influxdb-mcp-server"
],
"env": {
"INFLUXDB_TOKEN": "your_token",
"INFLUXDB_URL": "http://localhost:8086",
"INFLUXDB_ORG": "your_org"
}
}
}
}
InfluxDB MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"influxdb": {
"command": "npx",
"args": [
"influxdb-mcp-server"
],
"env": {
"INFLUXDB_TOKEN": "your_token",
"INFLUXDB_URL": "http://localhost:8086",
"INFLUXDB_ORG": "your_org"
}
}
}
}
InfluxDB MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is InfluxDB?
InfluxDB MCP Server is a Model Context Protocol server that exposes access to an InfluxDB v2 instance through the InfluxDB OSS API v2. It provides resources for browsing organizations, buckets, and measurements, tools for writing data and executing Flux queries, and prompt templates for common database operations.
How to use InfluxDB?
Set the INFLUXDB_TOKEN environment variable, optionally configure INFLUXDB_URL (defaults to http://localhost:8086) and INFLUXDB_ORG, then run the server via npx influxdb-mcp-server. The server uses stdio transport by default and can also start with Streamable HTTP transport using the --http flag. Add it to your MCP client configuration, such as claude_desktop_config.json.
Key features of InfluxDB
- Resources for listing organizations, buckets, and measurements
- Tools to write time-series data and execute Flux queries
- Tools to create new buckets and organizations
- Prompt templates for common Flux queries and Line Protocol format
- Configurable HTTP or stdio transport modes
- Modular code structure with separation of concerns
Use cases of InfluxDB
- Querying time-series metrics from an InfluxDB instance through an AI assistant
- Writing sensor or IoT data in Line Protocol format programmatically
- Managing InfluxDB organizations and buckets via natural language commands
- Exploring database schema and measurement structures interactively
Frequently asked questions
1 What environment variables are required to run the server?
INFLUXDB_TOKEN is required. INFLUXDB_URL (default http://localhost:8086) and INFLUXDB_ORG are optional.
2 How do I install or run InfluxDB MCP Server?
Run directly with npx (INFLUXDB_TOKEN=your_token npx influxdb-mcp-server), install globally via npm, or clone and run from source. Smithery installation for Claude Desktop is also supported.
3 What transport options does the server support?
The server supports stdio transport (default) and Streamable HTTP transport via the --http flag, optionally specifying a port (defaults to 3000).
4 How do I integrate InfluxDB MCP Server with Claude Desktop?
Add an entry to claude_desktop_config.json under mcpServers using npx or a local path, with the required environment variables.
5 What can I access and manage with this server?
List organizations and buckets, view measurements within a bucket, execute Flux queries, write data in Line Protocol format, and create new buckets or organizations.
Videos
Tutorials, guides, and showcases related to InfluxDB MCP Server. The player loads when you press play.
Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In