Official VictoriaLogs MCP server: lets AI assistants run LogsQL queries, explore log streams and fields, compute log stats and search the embedded VictoriaLogs docs.
VictoriaMetrics MCP Server
Summary
Official VictoriaMetrics MCP server: lets AI assistants run MetricsQL queries, explore metrics and labels, inspect alerting rules and cardinality, and search the embedded VictoriaMetrics docs.
Features
- Instant and range MetricsQL queries, with graphs in clients that render them
- List metrics, labels, label values, series and metric metadata
- Read alerting and recording rules and current alerts
- TSDB cardinality stats, metric usage statistics, top and active queries
- Explain, prettify and trace queries; relabeling, downsampling and retention debuggers
- Embedded VictoriaMetrics documentation searchable offline
- VictoriaMetrics Cloud tools: deployments, tiers, regions, access tokens, rule files
- stdio, SSE or Streamable HTTP; release binaries, Docker image and Helm chart
Installation
Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.
Description
The VictoriaMetrics MCP server, maintained by the VictoriaMetrics team, connects MCP clients to a single-node or cluster VictoriaMetrics instance, or to VictoriaMetrics Cloud. It exposes nearly all of the read-only APIs behind VMUI, so an assistant can run instant and range queries, list metric names, labels, label values and series, read alerting and recording rules and current alerts, and look at TSDB cardinality stats and top or active queries.
It is built for debugging an observability stack, not only for charting. Tools explain, prettify and trace queries; debuggers for metric relabeling, downsampling and retention filters can be switched on; and prompts find unused metrics or rarely queried high-cardinality ones. A copy of the VictoriaMetrics documentation is embedded in the binary and searchable offline. With a VictoriaMetrics Cloud API key it also lists deployments, tiers, regions, access tokens and rule files.
The server is a Go binary (release downloads, go build, a GHCR Docker image or a Helm chart) that runs over stdio by default, or as an SSE or Streamable HTTP server with an optional bearer token. Heavier tools such as export, flags and rule unit tests are off by default and can be toggled with MCP_DISABLED_TOOLS. A public instance wired to the VictoriaMetrics playground (https://play-mcp.victoriametrics.com/mcp) lets you try it without installing anything. Apache-2.0.
Related MCP Servers
See all VictoriaMetrics MCP Server alternativesDatadog's official managed MCP server — query logs, metrics, traces, incidents and dashboards from an AI agent, inside your existing Datadog permissions.
Official Grafana MCP server: search and edit dashboards, query Prometheus, Loki and Pyroscope, and work with alerts, incidents and on-call from an agent.
SquaredUp's official hosted MCP server: query and manage dashboards, the knowledge graph, data streams, KPIs, workspaces and integrations from your agent, with browser OAuth and built-in skills.