{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_59em4g7cygzq","handle":"msrashed-loki-mcp-server","url":"https://wellknown.network/agents/msrashed-loki-mcp-server","links":{"self":"https://wellknown.network/agents/msrashed-loki-mcp-server/record.json","html":"https://wellknown.network/agents/msrashed-loki-mcp-server","markdown":"https://wellknown.network/agents/msrashed-loki-mcp-server/record.md","api":"https://wellknown.network/api/v1/agents/msrashed-loki-mcp-server","status":"https://wellknown.network/api/v1/agents/msrashed-loki-mcp-server/status","claim":"https://wellknown.network/agents/msrashed-loki-mcp-server/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/msrashed-loki-mcp-server/claim.json","badge":"https://wellknown.network/agents/msrashed-loki-mcp-server/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/msrashed-loki-mcp-server/history","tools":"https://wellknown.network/api/v1/agents/msrashed-loki-mcp-server/tools"},"ard":{"identifier":"urn:air::server:msrashed-loki-mcp-server","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"msrashed-loki-mcp-server","summary":"Read-only Loki MCP server for log querying, searching, and analysis","description":"# Loki MCP Server\n\nA read-only Model Context Protocol (MCP) server for Grafana Loki log aggregation platform. This server enables AI agents like Claude to query, search, and analyze logs from Loki for troubleshooting, incident investigation, and log analysis.\n\n## Features\n\n### Core Capabilities\n- **Log Querying**: Execute LogQL instant and range queries\n- **Label Discovery**: Explore available labels and their values\n- **Series Discovery**: Find log streams matching label selectors\n- **Error Analysis**: Detect error patterns and spike timelines\n- **Incident Investigation**: Get surrounding context, trace logs, correlate events\n- **Multi-Pod Analysis**: Aggregate logs across deployment replicas\n- **Log Volume Metrics**: Analyze traffic patterns and anomalies\n\n### CLI Interface\n- **Full CLI**: Test all MCP tools directly from command line\n- **Command Groups**: Organized commands (query, labels, analyze, status)\n- **Environment Variables**: Configure via env vars or CLI options\n- **Multiple Transports**: stdio, HTTP, SSE, streamable-http\n\n### Safety & Security\n- **Read-only**: All operations are safe and cannot modify Loki\n- **Authentication**: Supports Bearer token and Basic auth\n- **Multi-tenancy**: X-Scope-OrgID header support for multi-tenant Loki\n- **SSL Verification**: Configurable SSL certificate verification\n\n## Installation\n\n### Using pip (from PyPI)\n\n```bash\npip install msrashed-loki-mcp-server\n```\n\n### Using uvx (Recommended for CLI)\n\n```bash\n# Run directly without installation\nuvx msrashed-loki-mcp-server --help\n\n# Or install globally\nuv tool install msrashed-loki-mcp-server\n```\n\n### From Source\n\n```bash\ngit clone https://github.com/msalah-eg/loki-mcp-server.git\ncd loki-mcp-server\nuv sync\nuv run loki-mcp-server --help\n```\n\n## Quick Start\n\n```bash\n# Set Loki URL\nexport LOKI_URL=\"http://localhost:3100\"\n\n# Test connection\nloki-mcp-server check\n\n# List available labels\nloki-mcp-server labels list\n\n# Query recent logs\nloki-mcp-server query range '{namespace=\"pr…","publisher":null,"homepage":"https://github.com/msalah-eg/loki-mcp-server","repository":"https://github.com/msalah-eg/loki-mcp-server","version":"0.1.3","license":"MIT","protocols":["mcp"],"tags":["ai","grafana","llm","logging","logs","loki","mcp","model-context-protocol","observability"],"pricing":null,"endpoints":[{"url":"pypi:msrashed-loki-mcp-server","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"dev.monitoring","name":"Monitoring & Observability","confidence":1,"provenance":"declared"},{"slug":"dev.terminal","name":"Terminal & Shell","confidence":0.825,"provenance":"derived"},{"slug":"security.identity","name":"Identity & Access","confidence":0.825,"provenance":"derived"},{"slug":"dev.ci-cd","name":"CI/CD & Deploy","confidence":0.779,"provenance":"derived"},{"slug":"dev.version-control","name":"Version Control","confidence":0.745,"provenance":"derived"}],"categories":["dev","security"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"msrashed-loki-mcp-server","registry":"pypi","observedAt":"2026-10-28T17:24:05.791Z","publishedAt":"2026-01-11T02:09:49.442474Z","latestVersion":"0.1.3"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"msrashed-loki-mcp-server","url":"https://pypi.org/project/msrashed-loki-mcp-server/","firstSeenAt":"2026-09-10T07:20:29.857Z","fetchedAt":"2026-10-28T17:22:42.996Z","normalizedAt":"2026-10-28T17:22:42.996Z"}]},"firstSeenAt":"2026-09-10T07:20:29.857Z","updatedAt":"2026-10-28T17:24:05.791Z"}