Skip to content
InfratoApp
InfratoApp / Resources / MCP servers / grafana-loki-mcp

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

Reaches
grafana
Credential
GRAFANA_API_KEY

Maintenance

Stars
29
State
listed
Licence
MIT
From the repository

Grafana Loki MCP Repository

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

grafana-loki-mcp compared with the closest alternatives, by services reached, credentials, stars, last update and licence
ServerReachesNeedsStarsLast updateLicence
grafana-loki-mcp (this page)grafanaGRAFANA_API_KEY292026-01-05MIT
loki-mcpgrafana, loki(1 shared)LOKI_PASSWORD, LOKI_TOKEN1762026-10-23—
memoracloudflare, memora, openaiCLOUDFLARE_API_TOKEN, MEMORA_EMBEDDING_API_KEY, OPENAI_API_KEY7442026-10-24MIT
mcp-for-argocdargocdARGOCD_API_TOKEN, MCP_AUTH_TOKEN5962026-10-16Apache-2.0
prometheus-mcp-serverprometheusPROMETHEUS_PASSWORD5192026-10-19MIT
agenticmailagenticmail, cloudflare, gmail, openai, relayAGENTICMAIL_API_KEY, AGENTICMAIL_INBOUND_SECRET, AGENTICMAIL_MASTER_KEY, CLOUDFLARE_API_TOKEN, GMAIL_PASSWORD, GMAIL_RELAY_APP_PASSWORD, OPENAI_API_KEY, RELAY_PASSWORD2392026-10-21MIT

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

All cloud & infrastructure entries →

Learn this on Infrato