loki-mcp
loki-mcp is an MCP server, listed under cloud & infrastructure. It reaches grafana and loki. It needs LOKI_PASSWORD and LOKI_TOKEN to authenticate. Its repository has 176 GitHub stars; we last read it on 2026-10-25.
Serves as an MCP Server for Grafana Loki, facilitating model context protocol interactions.
Install
MCP servers are packaged differently from each other -- some run via npx, some as a Docker image, some as a plain script you clone and run. loki-mcp’s own README did not state one plainly enough for this page to quote it rather than guess, so it will not guess. The repository below states it.
What it reaches, and what it needs
Maintenance
An MCP ( Model Context Protocol ) Server for Grafana Loki
What loki-mcp can do
1 tool documented in its README. An AI client calls these by name.
loki_query- The `loki_query` tool allows you to query Grafana Loki log data:
Read from the README; names are kept only if the README contains them.
loki-mcp compared with similar servers
| Server | Reaches | Needs | Stars | Last update | Licence |
|---|---|---|---|---|---|
| loki-mcp (this page) | grafana, loki | LOKI_PASSWORD, LOKI_TOKEN | 176 | 2026-10-23 | — |
| grafana-loki-mcp | grafana(1 shared) | GRAFANA_API_KEY | 29 | 2026-01-05 | MIT |
| memora | cloudflare, memora, openai | CLOUDFLARE_API_TOKEN, MEMORA_EMBEDDING_API_KEY, OPENAI_API_KEY | 744 | 2026-10-24 | MIT |
| mcp-for-argocd | argocd | ARGOCD_API_TOKEN, MCP_AUTH_TOKEN | 596 | 2026-10-16 | Apache-2.0 |
| prometheus-mcp-server | prometheus | PROMETHEUS_PASSWORD | 519 | 2026-10-19 | MIT |
| agenticmail | agenticmail, cloudflare, gmail, openai, relay | AGENTICMAIL_API_KEY, AGENTICMAIL_INBOUND_SECRET, AGENTICMAIL_MASTER_KEY, CLOUDFLARE_API_TOKEN, GMAIL_PASSWORD, GMAIL_RELAY_APP_PASSWORD, OPENAI_API_KEY, RELAY_PASSWORD | 239 | 2026-10-21 | MIT |
Ranked by services in common with loki-mcp, then by stars. Figures are from each repository when we last read it.
Common questions about loki-mcp
- What does loki-mcp do?
- Serves as an MCP Server for Grafana Loki, facilitating model context protocol interactions.
- How do I install loki-mcp?
- Its README did not state an install command plainly enough for us to quote one, so we do not guess. The repository has the instructions: https://github.com/grafana/loki-mcp
- What does loki-mcp connect to, and what does it need?
- It reaches grafana and loki. The credentials we found in its source are LOKI_PASSWORD and LOKI_TOKEN.
- Is loki-mcp official and is it maintained?
- We found nothing naming it as a vendor’s official server. Its repository has 176 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-10-23.
- What licence does loki-mcp use?
- The repository metadata we read does not state a licence, so check the repository before you rely on it.
More MCP servers for cloud & infrastructure
- memora744 stars
- mcp-for-argocd596 stars
- prometheus-mcp-server519 stars
- agenticmail239 stars
- opik-mcp225 stars
- aks-mcp143 stars