LocalFree

Loki MCP server

igorolv/loki-mcp-server

Read-only Grafana Loki (2.6.1 and 3.x) for agents: label and stream discovery, bounded LogQL pages, counts by label or time bucket, and log export; several stands per server.

0 GitHub stars

Install Loki in Claude Code

Claude Code
claude mcp add igorolv-loki -- docker run -i --rm ghcr.io/igorolv/loki-mcp-server:0.1.0
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "igorolv-loki": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/igorolv/loki-mcp-server:0.1.0"
      ]
    }
  }
}

Frequently asked questions

What does the Loki MCP server do?

Read-only Grafana Loki (2.6.1 and 3.x) for agents: label and stream discovery, bounded LogQL pages, counts by label or time bucket, and log export; several stands per server.

Is the Loki MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Loki run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Loki to Claude Code?

Run: claude mcp add igorolv-loki -- docker run -i --rm ghcr.io/igorolv/loki-mcp-server:0.1.0

More monitoring & observability MCP servers

View all