
VictoriaMetrics-mcp-server
VictoriaMetrics-mcp-server
README
VictoriaMetrics MCP Server
MCP Server for the VictoriaMetrics.
Debug
npx @modelcontextprotocol/inspector -e VM_URL=http://127.0.0.1:8428 node src/index.js
NPX
{
"mcpServers": {
"victoriametrics": {
"command": "npx",
"args": [
"-y",
"@yincongcyincong/victoriametrics-mcp-server"
],
"env": {
"VM_URL": "",
"VM_SELECT_URL": "",
"VM_INSERT_URL": ""
}
}
}
}
📊 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 | ✅ |
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.