Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

mcp-victoriametrics

MCP server by VictoriaMetrics-Community Community

Gives AI assistants access to a VictoriaMetrics instance through its read-only APIs, plus embedded VictoriaMetrics documentation. Built for engineers who monitor, observe and debug VictoriaMetrics, and for tools that automate those tasks.

  • Score 82
  • 248 stars
  • Apache-2.0
  • Updated

Install mcp-victoriametrics

Built from the published package, never by AI.

claude mcp add mcp-victoriametrics -e VM_INSTANCE_ENTRYPOINT=YOUR_VM_INSTANCE_ENTRYPOINT -e VM_INSTANCE_TYPE=YOUR_VM_INSTANCE_TYPE -e VM_INSTANCE_BEARER_TOKEN=YOUR_VM_INSTANCE_BEARER_TOKEN -- docker run -i --rm -e VM_INSTANCE_ENTRYPOINT -e VM_INSTANCE_TYPE -e VM_INSTANCE_BEARER_TOKEN ghcr.io/victoriametrics-community/mcp-victoriametrics:1.18.0

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install mcp-victoriametrics in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-victoriametrics block.

About

The VictoriaMetrics MCP Server is an implementation of the Model Context Protocol for VictoriaMetrics. It gives an AI assistant access to a VictoriaMetrics instance through its APIs and to VictoriaMetrics documentation. The server includes embedded documentation that can be searched without online access. It allows use of almost all read-only APIs available in VMUI, the built-in VictoriaMetrics web UI.

The server runs in stdio mode by default, or in sse or http (Streamable HTTP) mode. It is configured with environment variables, including the instance URL, the instance type (single or cluster) and an optional VictoriaMetrics Cloud API key. It is aimed at engineers working on monitoring, observability and debugging of VictoriaMetrics instances, and at tools that automate these tasks.

Written from the project's README and checked against it.

Tools it gives your assistant

  • Query metricsQueries metrics and explores data, with graphs if the client supports them.
  • List and export dataLists and exports metrics, labels, label values and entire series.
  • Alerting and recording rulesAnalyzes and tests alerting and recording rules and alerts.
  • Instance parametersShows parameters of the VictoriaMetrics instance.
  • Cardinality and usageExplores data cardinality and metrics usage statistics.
  • Query analysisAnalyzes, traces, prettifies and explains queries.
  • Relabeling and retention debuggingDebugs relabeling rules, downsampling and retention policy configurations.
  • VictoriaMetrics CloudIntegrates with VictoriaMetrics Cloud.
  • Embedded docs searchSearches embedded VictoriaMetrics documentation without online access.

What you need

  • A VictoriaMetrics or VictoriaMetrics Cloud instance (single-node or cluster)
  • Go 1.26 or higher, if building from source
  • Docker, if running the Docker image
SettingNeededWhat it is
VM_INSTANCE_ENTRYPOINTEnvironment variableRequiredURL to VictoriaMetrics instance (it should be root URL of vmsingle or vmselect), for example http://localhost:8428 or https://play.victoriametrics.com
VM_INSTANCE_TYPEEnvironment variableRequiredType of VictoriaMetrics instance (single / cluster)
VM_INSTANCE_BEARER_TOKENEnvironment variable, secretRequiredAuthentication token for VictoriaMetrics API
VMC_API_KEYEnvironment variable, secretOptionalOptional: API key from VictoriaMetrics Cloud Console (if you have deployment in VictoriaMetrics Cloud)
MCP_DISABLED_TOOLSEnvironment variableOptionalComma-separated list of tools to disable
MCP_DISABLE_RESOURCESEnvironment variableOptionalDisable all resources (documentation tool will continue to work)

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Explain this PromQL query and show how it can be made faster.
  • Show the cardinality of my metrics and the labels with the most values.
  • Test my alerting rules and tell me which ones fail to load.

Good to know

  • Supports almost all read-only VictoriaMetrics APIs.
  • Some tools are disabled by default: export, flags, metric_relabel_debug, downsampling_filters_debug, retention_filters_debug and test_rules.
  • Response quality depends on the client and the model used.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to mcp-victoriametrics

All alternatives →
Azure MCP Server microsoft
100

Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.

AAA Local 261k/wk
openstatus openstatusHQ
98

Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.

ACA Remote 9.3k
SmartBear MCP SmartBear
97

SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.

AAC Local and remote 17k/wk
Fettle fettlesh
97

Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.

AAC Local and remote 22k/wk
Superlog superloglabs
95

Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.

AAA Remote 1.5k
Microsoft Learn MCP MicrosoftDocs
94

Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.

ACA Remote 2k

Compare with Azure MCP Server, openstatus or SmartBear MCP

mcp-victoriametrics: common questions

Can I try the VictoriaMetrics MCP Server without installing it?

Yes. The source lists a public instance at https://play-mcp.victoriametrics.com/mcp, configured for the Public VictoriaMetrics Playground. It is meant to be used from MCP clients, not opened in a browser.

Does the VictoriaMetrics MCP Server change data?

The source says it allows use of almost all read-only APIs of VictoriaMetrics. It does not describe write operations.

Which server modes does the VictoriaMetrics MCP Server support?

The source lists stdio (the default), sse and http, where http is Streamable HTTP mode. The mode is set with the MCP_SERVER_MODE variable.

How do I install mcp-victoriametrics?

In Claude Code run claude mcp add mcp-victoriametrics -e VM_INSTANCE_ENTRYPOINT=YOUR_VM_INSTANCE_ENTRYPOINT -e VM_INSTANCE_TYPE=YOUR_VM_INSTANCE_TYPE -e VM_INSTANCE_BEARER_TOKEN=YOUR_VM_INSTANCE_BEARER_TOKEN -- docker run -i --rm -e VM_INSTANCE_ENTRYPOINT -e VM_INSTANCE_TYPE -e VM_INSTANCE_BEARER_TOKEN ghcr.io/victoriametrics-community/mcp-victoriametrics:1.18.0. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is mcp-victoriametrics the official server?

mcp-victoriametrics is a community project by VictoriaMetrics-Community, not verified by a company domain.

Is mcp-victoriametrics free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is mcp-victoriametrics safe to use?

It scores 82 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to mcp-victoriametrics?

Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.

Does mcp-victoriametrics work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

mcp-victoriametrics Install

Add to stack

Loading.