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

loki-mcp-server

loki-mcp-server is an MCP server, listed under cloud & infrastructure. It reaches grafana and loki. It needs LOKI_PASSWORD to authenticate. Its repository has 7 GitHub stars and is licensed under MIT; we last read it on 2026-10-22.

This server allows direct querying of Grafana Loki using a discovery-first workflow, including labels, values, series, and LogQL queries, without needing Grafana.

Install

Read from loki-mcp-server’s own README, close to verbatim -- not written by us, and not guessed.

LOKI_URL=http://loki:3100 MCP_HTTP_ADDR=:8080 loki-mcp-server

What it reaches, and what it needs

Reaches
grafana, loki
Credential
LOKI_PASSWORD

Maintenance

Stars
7
State
listed
Licence
MIT
From the repository

An MCP server for querying Grafana Loki directly with a discovery-first workflow — labels, values, series, and LogQL queries without requiring Grafana.

loki-mcp-server compared with similar servers

loki-mcp-server compared with the closest alternatives, by services reached, credentials, stars, last update and licence
ServerReachesNeedsStarsLast updateLicence
loki-mcp-server (this page)grafana, lokiLOKI_PASSWORD72026-09-11MIT
loki-mcpgrafana, loki(2 shared)LOKI_PASSWORD, LOKI_TOKEN1762026-10-23—
grafana-loki-mcpgrafana(1 shared)GRAFANA_API_KEY292026-01-05MIT
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

Ranked by services in common with loki-mcp-server, then by stars. Figures are from each repository when we last read it.

Common questions about loki-mcp-server

What does loki-mcp-server do?
This server allows direct querying of Grafana Loki using a discovery-first workflow, including labels, values, series, and LogQL queries, without needing Grafana.
How do I install loki-mcp-server?
Its own README gives this command: LOKI_URL=http://loki:3100 MCP_HTTP_ADDR=:8080 loki-mcp-server. Run it where your MCP client can launch the server, and check the README for any settings it asks for.
What does loki-mcp-server connect to, and what does it need?
It reaches grafana and loki. The credentials we found in its source are LOKI_PASSWORD.
Is loki-mcp-server official and is it maintained?
We found nothing naming it as a vendor’s official server. Its repository has 7 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-09-11.
What licence does loki-mcp-server use?
The repository declares the MIT licence.

More MCP servers for cloud & infrastructure

All cloud & infrastructure entries →

Learn this on Infrato