What is loki-mcp-server?
loki-mcp-server is a MCP server by igorolv that 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. It is listed under Cloud & infra and has no public popularity data yet.
| Type | Mcp server |
|---|---|
| Author | igorolv |
| Repository | igorolv/loki-mcp-server |
| Popularity | no public popularity data yet |
| Category | Cloud & infra |
| Security | Low risk (96/100) |
| Rank | #4,184 of 4,418 MCP servers; #261 in Cloud & infra |
| License | Apache-2.0 |
| Last commit | 2026-10-01 |
| Runs | Locally |
| Language | Java |
| Platforms | macOS, 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.
| Check | Result |
|---|---|
| Community-built server | Note |
| Runs on your machine only | Pass |
| No credentials mentioned | Pass |
| Read-only by description | Pass |
| No code execution | Pass |
| Source on GitHub | Pass |
How do I install loki-mcp-server?
- 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/igorolv/loki-mcp-server
- 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>
- 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/igorolv/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.