FRENES

Monitoring and observability · MCP server

Loki MCP server: MCP server, setup and security

Loki MCP server is an open-source MCP server published on GitHub that lets an AI agent discover Loki labels values and series then run LogQL queries. Its repository has 7 stars and its last commit is from October 24, 2026 and it is licensed under MIT.

Actively maintained

What Loki MCP server does

According to its repository: “Query Grafana Loki directly with a discovery-first workflow: labels, values, series and LogQL queries, without requiring Grafana.”

The Model Context Protocol (MCP) is a standard plug between an AI agent and an outside service: once the server is connected, its tools show up in the agent, which decides when to call them. Loki MCP server is listed under Monitoring and observability, a category of 57 servers in the directory, where it ranks #46 by stars.

Installing and connecting Loki MCP server

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

It works with any MCP-compatible client (Claude Desktop, Claude Code, Cursor, VS Code, Codex and most recent agents). You add one entry to the client's MCP configuration: server name, start command or URL, environment variables. Project language: Go. Listed systems: macOS, Windows, Linux.

Security: what to check

Connecting an MCP server means installing software that talks straight to your agent: it runs with your rights and the model trusts its tool descriptions. The risk therefore depends on what it can touch and how far its code can be trusted.

None of the risk signals we track (system access, secrets, missing licence, abandonment) applies to Loki MCP server. 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 11, 2026, the incu6us/loki-mcp-server repository has 7 stars and 3 forks, with 0 open issues. It has more stars than 19% of the servers in the directory. It received changes this month.

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 : 261261Loki MCP serverLoki MCP server : 77
GitHub stars of the most followed servers in the category (log scale); Loki MCP server in orange. Checked October 25, 2026.

Verdict

Loki MCP server is a reasonable choice; check the points below before connecting it.

Strengths

  • Active project: recent commit
  • Permissive licence (MIT)

Limitations

  • Few visible users
  • Install from source

Frequently asked questions

How do I install Loki MCP server?

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

Is Loki MCP server free?

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

Is Loki MCP server 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 incu6us on GitHub. Check who maintains it before giving it access.

What are the alternatives to Loki MCP server?

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