Home / MCP servers / Cloud & infra / loki-mcp-server

loki-mcp-server

loki-mcp-server is a MCP server by incu6us that query Grafana Loki directly with a discovery-first workflow: labels, values, series and LogQL queries, without requiring Grafana.

Updated 2026-09-11

What is loki-mcp-server?

loki-mcp-server is a MCP server by incu6us that query Grafana Loki directly with a discovery-first workflow: labels, values, series and LogQL queries, without requiring Grafana. It is listed under Cloud & infra and has 7 GitHub stars.

TypeMcp server
Authorincu6us
Repositoryincu6us/loki-mcp-server
Popularity7 GitHub stars
CategoryCloud & infra
SecurityLow risk (96/100)
Rank#1,983 of 4,418 MCP servers; #108 in Cloud & infra
LicenseMIT
Last commit2026-09-11
RunsLocally
LanguageGo
PlatformsmacOS, Windows, Linux

Is loki-mcp-server safe to install?

loki-mcp-server scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 5 of 6 checks.

MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.

CheckResult
Community-built serverNote
Runs on your machine onlyPass
No credentials mentionedPass
Read-only by descriptionPass
No code executionPass
Source on GitHubPass

How do I install loki-mcp-server?

  1. Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
    https://github.com/incu6us/loki-mcp-server
  2. Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
    claude mcp add loki-mcp-server -- <command from README>
    claude mcp add --transport http loki-mcp-server <server-url>
  3. Check it connected. This lists your MCP servers and their status.
    claude mcp list

Or ask Claude to set it up

Paste this into Claude Code and it installs loki-mcp-server for you:

Add the "loki-mcp-server" MCP server from https://github.com/incu6us/loki-mcp-server to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.