FRENES

Monitoring and observability · MCP server

Grafana loki MCP: MCP server, setup and security

Grafana loki MCP is an open-source MCP server that lets an AI agent query logs stored in Loki using the Grafana API. Its repository has 29 stars and its last commit is from January 5, 2026 and it is licensed under MIT.

Last commit 10 months ago

What Grafana loki MCP does

According to its repository: “Query Loki logs through the Grafana API.”

An MCP server gives an AI agent extra tools it calls during the conversation: the agent reads their description, decides to use them and gets the result back. Grafana loki MCP is listed under Monitoring and observability, a category of 57 servers in the directory, where it ranks #25 by stars.

Installing and connecting Grafana loki MCP

No package or remote server is declared in the official MCP registry: you install it from source, following the repository README.

Like any MCP server, you declare it in your client's configuration (Claude Desktop, Claude Code, Cursor, VS Code, Codex…): a name, the command that starts it or its URL, and any environment variables. The client then starts it and lists its tools. Project language: Python.

Security: what to check

An MCP server runs code with the rights you give it, and the model reads its tool descriptions: a malicious or compromised server can hijack the agent. Read the code, or pick a maintained and widely used server, before connecting it.

None of the risk signals we track (system access, secrets, missing licence, abandonment) applies to Grafana loki MCP. That does not replace reading the code.

Good practice: grant only the rights needed (least privilege), require human approval for irreversible actions, and run the AI agent security check.

Project activity and maintenance

Created on March 10, 2025, the tumf/grafana-loki-mcp repository has 29 stars and 6 forks, with 0 open issues. It has more stars than 44% of the servers in the directory. Last change 10 months ago.

Stars measure attention, not quality: a recent, heavily promoted project can collect them fast, while a useful but niche server will have few.

NetdataNetdata : 81.1K81.1KOpenstatusOpenstatus : 9.2K9.2KOneUptimeOneUptime : 7.8K7.8KMCP grafanaMCP grafana : 3.6K3.6KMarmot Data CatalogMarmot Data Catalog : 623623Watch skillWatch skill : 520520HomebutlerHomebutler : 305305Zabbix MCP serverZabbix MCP server : 261261Grafana loki MCPGrafana loki MCP : 2929
GitHub stars of the most followed servers in the category (log scale); Grafana loki MCP in orange. Checked October 25, 2026.

Verdict

Grafana loki MCP is still a modest project: read its code and compare it with the alternatives before using it.

Strengths

  • Permissive licence (MIT)

Limitations

  • No commit for 10 months
  • Install from source

Frequently asked questions

How do I install Grafana loki MCP?

No package is declared in the MCP registry: clone the tumf/grafana-loki-mcp repository, follow its README, then declare the start command in your client's MCP configuration.

Is Grafana loki MCP free?

The code is published under the MIT licence and can be used free of charge.

Is Grafana loki MCP safe?

No risk signal found (system access, secrets, licence, abandonment). As with any MCP server, keep rights minimal and read the code before sensitive use.

Is it an official server?

Nothing says so: it is a project published by tumf on GitHub. Check who maintains it before giving it access.

What are the alternatives to Grafana loki MCP?

In the same category: Netdata, MCP grafana, Openstatus, and OneUptime. Netdata and MCP grafana score higher on our grid.

Related articles

Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score