Install Grafana Loki in Claude Code
This server doesn't publish a package to a registry, so follow the install steps in its README. Once it runs, register it with Claude Code:
claude mcp add grafana-loki -- <command to start the server>Frequently asked questions
What does the Grafana Loki MCP server do?
Query Loki logs through the Grafana API.
Is the Grafana Loki MCP server free?
Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.
Does Grafana Loki run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add Grafana Loki to Claude Code?
Follow the install steps in the project's README at https://github.com/tumf/grafana-loki-mcp, then register it with "claude mcp add".
More monitoring & observability MCP servers
View allGrafana
itzhouq/grafana-mcp
Read-only project-level Grafana MCP: Loki logs, metrics, traces, alerts, test/prod switching
Scout Monitoring (local)
scoutapp/scout-mcp-local
Run Scout Monitoring's MCP tools locally with an API key: endpoints, traces, errors, N+1 insights.
Staygreen
phuryn/staygreen
Uptime monitoring and status pages for apps built with coding agents: status, incidents, setup.
Tideways
abuhamza/tideways-mcp-server
Read-only access to Tideways PHP performance monitoring: performance, issues, traces, history.
UniFi Gateway
pete-builds/mcp-unifi
Safe-by-default UniFi MCP: Network + Protect + Access, multi-site, dry-run, audit log.
App Metrica
pavellunev/app_metrica_mcp
AppMetrica (Yandex) analytics: reports, funnels, segments, dashboards, logs export, push