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
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 | โ |
Install via CLI
npx mdskills install yincongcyincong/victoriametrics-mcp-serverVictoriaMetrics MCP Server is a free, open-source AI agent skill. 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
Install VictoriaMetrics MCP Server with a single command:
npx mdskills install yincongcyincong/victoriametrics-mcp-serverThis downloads the skill files into your project and your AI agent picks them up automatically.
VictoriaMetrics MCP Server works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Gemini Cli, Amp, Roo Code, Goose. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.