MCP Servers / development / Grafana Loki

Grafana Loki

JSON →
stdionone★ 26development

A server for querying Loki logs from Grafana.

Install
How to run this server
[ { "cmd": "pip install grafana-loki-mcp", "imports": [] } ]
server path: grafana-loki
Tools
What this server exposes
query_logs
Execute a LogQL query against Grafana Loki to search and analyze log data
query_range
Execute a range query against Grafana Loki for time-series data analysis
list_labels
Retrieve all label names available in the Loki instance
list_label_values
Retrieve all values for a specific label in the Loki instance
get_series
Retrieve the series matching a label matcher in Loki
get_index_stats
Get index statistics for a query in Loki
get_volume
Get log volume information for a query in Loki
Configuration
Environment & auth
authnone
envGRAFANA_URL
envGRAFANA_API_KEY
Resources
Grafana Loki — MCP Server · libregistry