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.
VictoriaLogs MCP Server
Summary
Official VictoriaLogs MCP server: lets AI assistants run LogsQL queries, explore log streams and fields, compute log stats and search the embedded VictoriaLogs docs.
Features
- Execute LogsQL queries against VictoriaLogs
- Hit counts grouped by time buckets
- List streams, stream IDs, field names and field values
- Facets: most frequent values per log field
- Log stats queries for an instant or a time range
- Embedded VictoriaLogs documentation searchable offline
- VictoriaMetrics Cloud deployment tools with an API key
- stdio, SSE or Streamable HTTP; go install, binaries or Docker
Installation
Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.
Description
The VictoriaLogs MCP server is the VictoriaMetrics team's MCP server for VictoriaLogs, their log database. It gives MCP clients the read-only APIs behind the VictoriaLogs web UI, for a single-node or cluster instance or a VictoriaMetrics Cloud deployment, so an assistant can investigate logs during an incident instead of you copying them into a chat.
The tools execute LogsQL queries, count matching entries in time buckets (hits), list streams, stream IDs, field names and values, show the most frequent values per field (facets), and run stats queries that turn logs into metrics for a point in time or a range. It can also show the instance's non-default flags. Like its VictoriaMetrics sibling, it embeds the VictoriaLogs documentation and searches it offline, and with a VictoriaMetrics Cloud API key it lists deployments, tiers, regions, access tokens and rule files.
It ships as a Go binary (go install, release downloads or a GHCR Docker image) that speaks stdio by default, or SSE and Streamable HTTP with optional bearer-token auth for shared deployments. A public instance connected to the VictoriaLogs playground (https://play-vmlogs-mcp.victoriametrics.com/mcp) is available to try. Apache-2.0.
Related MCP Servers
See all VictoriaLogs MCP Server alternativesClickHouse's observability MCP server — investigate logs, traces and metrics with semantic tools rather than raw SQL, hosted or self-hosted.
Datadog's official managed MCP server — query logs, metrics, traces, incidents and dashboards from an AI agent, inside your existing Datadog permissions.
MCP: Axiom
by Axiom
Axiom's official MCP server — query event data with APL, read dataset schemas, and create or edit dashboards, monitors and notifiers from an agent.