# Loki MCP Server

> Use this tool when you need to analyze and query log data from Grafana Loki, solving problems related to log monitoring and troubleshooting. The Loki MCP Server takes LogQL queries as input and returns formatted log data as output, supporting various formats and authentication methods. It is ideal for use cases where AI assistants require access to log data for incident investigation, system monitoring, and performance optimization.

Canonical page: https://skillsregistry.net/skills/ghrud92-loki-mcp  
JSON: https://api.skillsregistry.net/v1/skills/ghrud92-loki-mcp

## Description

An MCP interface that allows AI assistants to query and analyze Grafana Loki logs using LogQL, with support for authentication and various output formats.

## Trust

- **Trust score (0–1):** 0.68
- **Verification tier:** scanned
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** monitoring
- **Updated:** 2026-09-02

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/e3vo22yclf)
- **Repository:** <https://github.com/ghrud92/simple-loki-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "ghrud92-loki-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/ghrud92-loki-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/ghrud92-loki-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
