# Loki MCP Server

> Use this tool when you need to analyze and troubleshoot Kubernetes cluster logs, and want to leverage AI models to query and identify issues like errors and pod restarts. It takes in log data and natural language queries as inputs, and outputs actionable insights and aggregated error reports. Ideal for use cases where log data is complex and voluminous, requiring semantic search and analysis capabilities.

Canonical page: https://skillsregistry.net/skills/mvs5465-test-loki-mcp-server  
JSON: https://api.skillsregistry.net/v1/skills/mvs5465-test-loki-mcp-server

## Description

Enables AI models to query and analyze Kubernetes cluster logs through Grafana Loki, supporting semantic operations like error aggregation and pod restart detection. It provides tools for regex-based log searching and namespace discovery to facilitate natural language troubleshooting.

## Trust

- **Trust score (0–1):** 0.95
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** cloud-infra
- **Updated:** 2026-09-28

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/cth1kafll3)
- **Repository:** <https://github.com/mvs5465-test/loki-mcp-server>

## 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": "mvs5465-test-loki-mcp-server"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/mvs5465-test-loki-mcp-server` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/mvs5465-test-loki-mcp-server/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
