{"type":"mcp_server","name":"influxdb-mcp-server","description":"This repository provides an MCP server for accessing InfluxDB using the OSS API v2, offering resources, tools, and prompts for managing and querying data within an InfluxDB instance.","category":"Database","language":"JavaScript","stars":41,"forks":0,"owner":"idoru","github_url":"https://github.com/idoru/influxdb-mcp-server","homepage":null,"setup":"## Setup\n\n**Option 1: Run with npx (recommended)**\n\n```bash\n# Run directly with npx\nINFLUXDB_TOKEN=your_token npx influxdb-mcp-server\n```\n\n**Option 2: Install globally**\n\n```bash\n# Install globally\nnpm install -g influxdb-mcp-server\n\n# Run the server\nINFLUXDB_TOKEN=your_token influxdb-mcp-server\n```\n\n**Option 3: From source**\n\n```bash\n# Clone the repository\ngit clone https://github.com/idoru/influxdb-mcp-server.git\ncd influxdb-mcp-server\n\n# Install dependencies\nnpm install\n\n# Run the server\nINFLUXDB_TOKEN=your_token npm start\n```\n\n**Integration with Claude for Desktop**\n\nAdd the server to your `claude_desktop_config.json`:\n\n**Using npx (recommended)**\n\n```json\n{\n  \"mcpServers\": {\n    \"influxdb\": {\n      \"command\": \"npx\",\n      \"args\": [\"influxdb-mcp-server\"],\n      \"env\": {\n        \"INFLUXDB_TOKEN\": \"your_token\",\n        \"INFLUXDB_URL\": \"http://localhost:8086\",\n        \"INFLUXDB_ORG\": \"your_org\"\n      }\n    }\n  }\n}\n```\n\n**If installed locally**\n\n```json\n{\n  \"mcpServers\": {\n    \"influxdb\": {\n      \"command\": \"node\",\n      \"args\": [\"/path/to/influxdb-mcp-server/src/index.js\"],\n      \"env\": {\n        \"INFLUXDB_TOKEN\": \"your_token\",\n        \"INFLUXDB_URL\": \"http://localhost:8086\",\n        \"INFLUXDB_ORG\": \"your_org\"\n      }\n    }\n  }\n}\n```","tools":"## Available Tools\n\n1.  Resources: Access to organization, bucket, and measurement data.\n2.  Tools: Write data, execute queries, and manage database objects.\n3.  Prompts: Templates for common Flux queries and Line Protocol format.\n4.  `write-data`: Write time-series data in line protocol format.\n5.  `query-data`: Execute Flux queries.\n6.  `create-bucket`: Create a new bucket.\n7.  `create-org`: Create a new organization.\n8.  `flux-query-examples`: Common Flux query examples.\n9.  `line-protocol-guide`: Guide to InfluxDB line protocol format.","faq":null,"created_at":"2025-03-11T05:24:06+00:00","updated_at":"2025-03-27T08:33:18+00:00","source_url":"https://model-context-protocol.com/servers/influxdb-mcp-server-query-data-access","related_articles":[]}