Loki MCP Server
A server for querying Grafana Loki logs via the MCP protocol, supporting LogQL queries and multiple output formats
rating : 2 points
downloads : 5.8K
What is the Simple Loki MCP Server?
The Simple Loki MCP Server is a tool based on the Model Context Protocol (MCP) for directly retrieving log data from Grafana Loki. It allows users to perform flexible log queries using LogQL syntax and supports multiple output formats.How to use the Simple Loki MCP Server?
Simply install and configure the server, and then you can start querying logs. You can use LogQL syntax to filter and analyze log data.Applicable Scenarios
Suitable for developers and technical teams who need to monitor, debug, and analyze application logs in real-time.Main Features
LogQL Support
Fully supports LogQL syntax for complex log queries.
Multiple Output Formats
Provides multiple output formats such as default, raw, and JSON Lines.
Automatic Fallback Mechanism
Automatically switches to HTTP API mode when the logcli is missing in the environment.
Advantages
Supports the powerful query capabilities of LogQL
Multiple output formats meet different needs
Automatic fallback mechanism ensures compatibility
Limitations
Requires Node.js environment support
Some advanced features depend on the logcli tool
How to Use
Install Dependencies
Ensure that Node.js v16 or higher is installed and clone the project code.
Start the Server
Run npm start to start the service.
Execute Queries
Use the query-loki command to execute log queries.
Usage Examples
Query Nginx Service Logs
Filter log records of the Nginx service using LogQL syntax.
Get All Available Labels
List all label names defined in Loki.
Frequently Asked Questions
How to set the Loki address?
What if the logcli is unavailable?
Related Resources
Official Documentation
Project source code and detailed instructions.
LogQL Syntax Reference
Understand the basic usage of LogQL.
Loki Tool logcli
Detailed introduction to the logcli tool.

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
15.8K
4.5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
44.9K
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
23.8K
5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
16.7K
4.3 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
20.3K
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
45.0K
4.5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
15.0K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
63.7K
4.7 points

