loading…
Search for a command to run...
loading…
An MCP server for interacting with VictoriaMetrics database.
An MCP server for interacting with VictoriaMetrics database.
MseeP.ai Security Assessment Badge
MCP Server for the VictoriaMetrics.
To install VictoriaMetrics Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @yincongcyincong/victoriametrics-mcp-server --client claude
npx @modelcontextprotocol/inspector -e VM_URL=http://127.0.0.1:8428 node src/index.js
{
"mcpServers": {
"victoriametrics": {
"command": "npx",
"args": [
"-y",
"@yincongcyincong/victoriametrics-mcp-server"
],
"env": {
"VM_URL": "",
"VM_SELECT_URL": "",
"VM_INSERT_URL": ""
}
}
}
}
vm_data_writeDescription: 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 | ✅ |
vm_prometheus_writeDescription: Import Prometheus exposition format data into VictoriaMetrics.
Input Parameters:
| Parameter | Type | Description | Required |
|---|---|---|---|
data |
string |
Metrics in Prometheus exposition format | ✅ |
vm_query_rangeDescription: 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
queryis required; the other fields are optional.
vm_queryDescription: 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 | ⛔️ |
vm_labelsDescription: Get all unique label names.
Input Parameters: None
vm_label_valuesDescription: Get all unique values for a specific label.
Input Parameters:
| Parameter | Type | Description | Required |
|---|---|---|---|
label |
string |
Label name to get values for | ✅ |
Run in your terminal:
claude mcp add yincongcyincong-victoriametrics-mcp-server -- npx pro tip
Just installed yincongcyincong/VictoriaMetrics-mcp-server? Say to Claude: "remember why I installed yincongcyincong/VictoriaMetrics-mcp-serverand what I want to try" — it'll save into your Vault.
how this works →CSA PROJECT - FZCO © 2026 IFZA Business Park, DDP, Premises Number 31174 - 001
Security
Low riskAutomated heuristic from public metadata — not a security guarantee.