MCP Server for the VictoriaMetrics. To install VictoriaMetrics Server for Claude Desktop automatically via Smithery: Description: Write data to the VictoriaMetrics database. Input Parameters: Description: Import Prometheus exposition format data into VictoriaMetrics. Input Parameters: Description: Query time series data over a specific time range. Input Parameters: Description: Query the current v
Add this skill
npx mdskills install yincongcyincong/victoriametrics-mcp-serverWell-documented MCP server with comprehensive VictoriaMetrics API coverage and clear setup instructions
1[](https://mseep.ai/app/yincongcyincong-victoriametrics-mcp-server)23# VictoriaMetrics MCP Server4[](https://smithery.ai/server/@yincongcyincong/victoriametrics-mcp-server)56<a href="https://glama.ai/mcp/servers/@yincongcyincong/VictoriaMetrics-mcp-server">7 <img width="380" height="200" src="https://glama.ai/mcp/servers/@yincongcyincong/VictoriaMetrics-mcp-server/badge" alt="VictoriaMetrics-mcp-server MCP server" />8</a>910MCP Server for the VictoriaMetrics.1112### Installing via Smithery1314To install VictoriaMetrics Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@yincongcyincong/victoriametrics-mcp-server):1516```bash17npx -y @smithery/cli install @yincongcyincong/victoriametrics-mcp-server --client claude18```1920## Debug21```22npx @modelcontextprotocol/inspector -e VM_URL=http://127.0.0.1:8428 node src/index.js2324```2526### NPX2728```json29{30 "mcpServers": {31 "victoriametrics": {32 "command": "npx",33 "args": [34 "-y",35 "@yincongcyincong/victoriametrics-mcp-server"36 ],37 "env": {38 "VM_URL": "",39 "VM_SELECT_URL": "",40 "VM_INSERT_URL": ""41 }42 }43 }44}45```4647### ๐ VictoriaMetrics Tools API Documentation4849## 1. `vm_data_write`5051**Description**: Write data to the VictoriaMetrics database.5253**Input Parameters**:5455| Parameter | Type | Description | Required |56|---------------|-------------|--------------------------------------------|----------|57| `metric` | `object` | Tags of the metric | โ |58| `values` | `number[]` | Array of metric values | โ |59| `timestamps` | `number[]` | Array of timestamps in Unix seconds | โ |6061---6263## 2. `vm_prometheus_write`6465**Description**: Import Prometheus exposition format data into VictoriaMetrics.6667**Input Parameters**:6869| Parameter | Type | Description | Required |70|-----------|----------|-------------------------------------------------|----------|71| `data` | `string` | Metrics in Prometheus exposition format | โ |7273---7475## 3. `vm_query_range`7677**Description**: Query time series data over a specific time range.7879**Input Parameters**:8081| Parameter | Type | Description | Required |82|-----------|----------|-------------------------------------------------|----------|83| `query` | `string` | PromQL expression | โ |84| `start` | `number` | Start timestamp in Unix seconds | โ๏ธ |85| `end` | `number` | End timestamp in Unix seconds | โ๏ธ |86| `step` | `string` | Query resolution step width (e.g., `10s`, `1m`) | โ๏ธ |8788> Only `query` is required; the other fields are optional.8990---9192## 4. `vm_query`9394**Description**: Query the current value of a time series.9596**Input Parameters**:9798| Parameter | Type | Description | Required |99|-----------|----------|-----------------------------------------|----------|100| `query` | `string` | PromQL expression to evaluate | โ |101| `time` | `number` | Evaluation timestamp in Unix seconds | โ๏ธ |102103---104105## 5. `vm_labels`106107**Description**: Get all unique label names.108109**Input Parameters**: None110111---112113## 6. `vm_label_values`114115**Description**: Get all unique values for a specific label.116117**Input Parameters**:118119| Parameter | Type | Description | Required |120|-----------|----------|------------------------------|----------|121| `label` | `string` | Label name to get values for | โ |122123---
Full transparency โ inspect the skill content before installing.