Enables importing Prometheus exposition format data and executing PromQL queries against the VictoriaMetrics database.
Provides tools for reading and writing time series data to VictoriaMetrics, including capabilities for querying data over specific time ranges, importing Prometheus format data, and retrieving label information.
VictoriaMetrics MCP Server
MCP Server for the VictoriaMetrics.
Installing via Smithery
To install VictoriaMetrics Server for Claude Desktop automatically via Smithery:
Debug
NPX
📊 VictoriaMetrics Tools API Documentation
1. vm_data_write
Description: Write data to the VictoriaMetrics database.
Input Parameters:
Parameter | Type | Description | Required |
---|---|---|---|
metric | object | Tags of the metric | ✅ |
values | number[] | Array of metric values | ✅ |
timestamps | number[] | Array of timestamps in Unix seconds | ✅ |
2. vm_prometheus_write
Description: Import Prometheus exposition format data into VictoriaMetrics.
Input Parameters:
Parameter | Type | Description | Required |
---|---|---|---|
data | string | Metrics in Prometheus exposition format | ✅ |
3. vm_query_range
Description: Query time series data over a specific time range.
Input Parameters:
Parameter | Type | Description | Required |
---|---|---|---|
query | string | PromQL expression | ✅ |
start | number | Start timestamp in Unix seconds | ⛔️ |
end | number | End timestamp in Unix seconds | ⛔️ |
step | string | Query resolution step width (e.g., 10s , 1m ) | ⛔️ |
Only
query
is required; the other fields are optional.
4. vm_query
Description: Query the current value of a time series.
Input Parameters:
Parameter | Type | Description | Required |
---|---|---|---|
query | string | PromQL expression to evaluate | ✅ |
time | number | Evaluation timestamp in Unix seconds | ⛔️ |
5. vm_labels
Description: Get all unique label names.
Input Parameters: None
6. vm_label_values
Description: Get all unique values for a specific label.
Input Parameters:
Parameter | Type | Description | Required |
---|---|---|---|
label | string | Label name to get values for | ✅ |
VictoriaMetrics-mcp-server
Related MCP Servers
- Python
- Python
- PythonApache 2.0
- -securityAlicense-qualitymcp-victoriametricsLast updated -53GoApache 2.0