An MCP server for querying Grafana Loki directly with a discovery-first workflow — labels, values, series, and LogQL queries without requiring Grafana.
MCPpedia last refreshed this data
Loki MCP Server is an MCP server that an MCP server for querying Grafana Loki directly with a discovery-first workflow — labels, values, series, and LogQL queries without requiring Grafana. Its tool list has not been published yet over stdio and http, requires no API key, and scores 69/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"loki-mcp-server": {
"env": {
"LOKI_URL": "http://loki:3100",
"LOKI_PASSWORD": "secret",
"LOKI_USERNAME": "admin"
},
"args": [],
"type": "stdio",
"command": "/path/to/loki-mcp-server"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Query Grafana Loki logs directly from AI agents using the Model Context Protocol (MCP).
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in devops / analytics
MCP server for using the GitLab API
MCP Server for GCP environment for interacting with various Observability APIs.
MCP server for Komodo - manage Docker containers, servers, stacks, and deployments via AI
💫 Tachyon MCP Runtime for Java and Kotlin - Model Context Protocol (MCP) server with Streamable HTTP, native Netty transports, tools, tasks, resources, prompts, completions, resumable sessions, and stateless deployment support.
MCP Security Weekly
Get CVE alerts and security updates for Loki Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.