JUHE API Marketplace
yincongcyincong avatar
MCP Server

VictoriaMetrics-mcp-server

An MCP server for interacting with VictoriaMetrics database.

7
GitHub Stars
11/17/2025
Last Updated
MCP Server Configuration
1{
2 "name": "victoriametrics",
3 "command": "npx",
4 "args": [
5 "-y",
6 "@yincongcyincong/victoriametrics-mcp-server"
7 ],
8 "env": {
9 "VM_URL": "",
10 "VM_SELECT_URL": "",
11 "VM_INSERT_URL": ""
12 }
13}
JSON13 lines
  1. Home
  2. MCP Servers
  3. VictoriaMetrics-mcp-server

README Documentation

MseeP.ai Security Assessment Badge

VictoriaMetrics MCP Server

smithery badge

VictoriaMetrics-mcp-server MCP server

MCP Server for the VictoriaMetrics.

Installing via Smithery

To install VictoriaMetrics Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @yincongcyincong/victoriametrics-mcp-server --client claude

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:

ParameterTypeDescriptionRequired
metricobjectTags of the metric✅
valuesnumber[]Array of metric values✅
timestampsnumber[]Array of timestamps in Unix seconds✅

2. vm_prometheus_write

Description: Import Prometheus exposition format data into VictoriaMetrics.

Input Parameters:

ParameterTypeDescriptionRequired
datastringMetrics in Prometheus exposition format✅

3. vm_query_range

Description: Query time series data over a specific time range.

Input Parameters:

ParameterTypeDescriptionRequired
querystringPromQL expression✅
startnumberStart timestamp in Unix seconds⛔️
endnumberEnd timestamp in Unix seconds⛔️
stepstringQuery 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:

ParameterTypeDescriptionRequired
querystringPromQL expression to evaluate✅
timenumberEvaluation 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:

ParameterTypeDescriptionRequired
labelstringLabel name to get values for✅

Quick Install

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright © 2025 - All rights reserved