TokenToSeaMCP Hub
中文 Console

Simple Loki MCP

ghrud92

Queries Grafana Loki logs with LogQL through logcli, with authentication and several output formats.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add simple-loki --env LOKI_ADDR='<LOKI_ADDR>' -- npx -y simple-loki-mcp

Environment variables

  • LOKI_ADDR

Replace the placeholders with your own credentials and keep them out of version control.