grafana-loki-mcp
grafana-loki-mcp is an MCP server, listed under cloud & infrastructure. It reaches grafana. It needs GRAFANA_API_KEY to authenticate. Its repository has 29 GitHub stars and is licensed under MIT; we last read it on 2026-10-24.
This repository contains the Grafana Loki Multiple Consumer Provider implementation, connecting to Loki for data ingestion and processing. No specific credentials are required for this component.
Install
Read from grafana-loki-mcp’s own README, close to verbatim -- not written by us, and not guessed.
pip install grafana-loki-mcp
What it reaches, and what it needs
Maintenance
What grafana-loki-mcp can do
4 tools documented in its README. An AI client calls these by name.
query_loki- Query Loki logs through Grafana.
get_loki_labels- No description in the README.
get_loki_label_values- Get values for a specific label from Loki.
format_loki_results- Format Loki query results in a more readable format.
Read from the README; names are kept only if the README contains them.
grafana-loki-mcp compared with similar servers
| Server | Reaches | Needs | Stars | Last update | Licence |
|---|---|---|---|---|---|
| grafana-loki-mcp (this page) | grafana | GRAFANA_API_KEY | 29 | 2026-01-05 | MIT |
| loki-mcp | grafana, loki(1 shared) | LOKI_PASSWORD, LOKI_TOKEN | 176 | 2026-10-23 | — |
| 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 grafana-loki-mcp, then by stars. Figures are from each repository when we last read it.
Common questions about grafana-loki-mcp
- What does grafana-loki-mcp do?
- This repository contains the Grafana Loki Multiple Consumer Provider implementation, connecting to Loki for data ingestion and processing. No specific credentials are required for this component.
- How do I install grafana-loki-mcp?
- Its own README gives this command: pip install grafana-loki-mcp. Run it where your MCP client can launch the server, and check the README for any settings it asks for.
- What does grafana-loki-mcp connect to, and what does it need?
- It reaches grafana. The credentials we found in its source are GRAFANA_API_KEY.
- Is grafana-loki-mcp official and is it maintained?
- We found nothing naming it as a vendor’s official server. Its repository has 29 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-01-05.
- What licence does grafana-loki-mcp use?
- The repository declares the MIT licence.
More MCP servers for cloud & infrastructure
- memora744 stars
- mcp-for-argocd596 stars
- prometheus-mcp-server519 stars
- agenticmail239 stars
- opik-mcp225 stars
- loki-mcp176 stars