Victoriametrics Mcp Server is an MCP server that connects large language model interfaces to VictoriaMetrics time series databases. Built for DevOps engineers, site reliability teams, and systems analysts, it enables LLM assistants to interact directly with monitoring and observability infrastructure. Through standard Model Context Protocol endpoints, users can write metric points, ingest data formatted for Prometheus exposition, and evaluate PromQL expressions across historical or instantaneous timeframes. It also provides introspection tools to discover metric label names and fetch associated label values directly from database instances. By integrating database read and write actions into conversational agents, teams can investigate production incidents, verify telemetry ingestion pipelines, and generate custom operational metrics on demand without switching context between dashboards and external command-line utilities.
Category: Databases & Data Stores
Tags: metrics, monitoring, promql, timeseries, victoriametrics
Visit Victoriametrics Mcp Server
claude_desktop_config.json. 3. Add the server entry under mcpServers using the package @yincongcyincong/victoriametrics-mcp-server: json { "mcpServers": { "victoriametrics": { "command": "npx", "args": [ "-y", "@yincongcyincong/victoriametrics-mcp-server" ], "env": { "VM_URL": "http://127.0.0.1:8428", "VM_SELECT_URL": "", "VM_INSERT_URL": "" } } } } 4. Alternatively, install automatically via Smithery by running npx -y @smithery/cli install @yincongcyincong/victoriametrics-mcp-server --client claude. 5. Restart your client application to load the server tools.Part of MCP Servers
You can install it automatically for Claude Desktop using Smithery by running npx -y @smithery/cli install @yincongcyincong/victoriametrics-mcp-server --client claude. Alternatively, add the @yincongcyincong/victoriametrics-mcp-server npx package command along with your VM_URL environment variables directly to your MCP client configuration file.
The server exposes tools to write custom metric arrays, ingest Prometheus exposition data, and run instant or range PromQL queries. It also includes tools to list all unique label names and retrieve values for specific metric labels.
Any client supporting the Model Context Protocol can communicate with this server, including Claude Desktop and debugging utilities such as the Model Context Protocol Inspector.
Yes, Victoriametrics Mcp Server is open-source software maintained by the community and accessible on GitHub.