grafana/loki-mcp

An MCP ( Model Context Protocol ) Server for Grafana Loki

43
/ 100
Emerging

Exposes Grafana Loki querying through a `loki_query` tool with LogQL support, configurable time ranges, result limits, and multi-tenant organization IDs via environment variables or request parameters. Built in Go, it communicates via stdin/stdout using the Model Context Protocol and also supports HTTP with Server-Sent Events (SSE) for integration with Claude Desktop, n8n workflows, and other MCP-compatible clients. Includes multi-authentication methods (basic auth, bearer tokens) and a complete Docker Compose setup with Loki, Grafana, and log generators for local testing.

No License No Package No Dependents
Maintenance 13 / 25
Adoption 9 / 25
Maturity 1 / 25
Community 20 / 25

How are scores calculated?

Stars

97

Forks

25

Language

Go

License

Category

go-mcp-servers

Last pushed

Mar 09, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/grafana/loki-mcp"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.