A FastMCP server that allows querying Loki logs from Grafana. - GRAFANAURL: URL of your Grafana instance - GRAFANAAPIKEY: Grafana API key with appropriate permissions - Query Loki logs through Grafana API - Get Loki labels and label values - Format query results in different formats (text, JSON, markdown) - Support for both stdio and SSE transport protocols - Python 3.10+ 1. Clone this repository
Add this skill
npx mdskills install tumf/grafana-loki-mcpWell-documented MCP server for querying Grafana Loki logs with clear setup and comprehensive tool descriptions
claude mcp add grafana-loki-mcp -- npx -y grafana-loki-mcp
npx mdskills install tumf/grafana-loki-mcp