71
/ 100
13 days ago
glama

Grafana-Loki MCP Server

Enables querying and formatting Loki logs from Grafana via the Model Context Protocol. It supports LogQL queries, label retrieval, and provides results in text, JSON, or markdown formats.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 1 credential: GRAFANA_API_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configGRAFANA_URLURL of your Grafana instance
🔐 secretGRAFANA_API_KEYGrafana API key with appropriate permissions
configMAX_LOG_LINES
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 5 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/tumf-grafana-loki-mcp-up2kvx)](https://m8ven.ai/mcp/tumf-grafana-loki-mcp-up2kvx)
commit: 41749f6d723d81ef04a9dae45453333cd43fd09c
code hash: d43495470e826e8c2ba8125788608f295a1bbc4c80cdfb28a14ab138002b4cdb
verified: 6/17/2026, 12:16:15 PM
view raw JSON →