MCP Server Graylog
M

MCP Server Graylog

An MCP server for Graylog log search that supports searching for logs by absolute/relative timestamps and filtering by data streams. It can be used to debug production problems directly in Claude Desktop.
2 points
6.5K

What is the Graylog Log Search Server?

This is a Model Context Protocol (MCP) server specifically designed for Claude Desktop. It allows you to search and analyze log data in the Graylog log system directly within the Claude chat interface. You can think of it as a 'log search engine' that enables you to query production environment log information without leaving Claude.

How to use the Graylog Log Search Server?

It's very simple to use: First, configure the server connection in Claude Desktop, and then you can use natural language instructions to ask Claude to search for logs. For example, you can say 'Help me find the error logs of the API registration interface between 10:00 and 11:00 this morning', and Claude will automatically call this server to obtain the relevant logs.

Applicable Scenarios

It is most suitable for scenarios such as troubleshooting production environment failures, analyzing monitoring system alarms, verifying after deployment, and investigating user issues. When you receive a monitoring alarm or user feedback about a problem, you can directly search for logs in the relevant time period in Claude to quickly locate the cause of the problem.

Main Features

Precise Time Search
Supports searching for logs by a precise time range. You can specify the exact start and end times, which is very suitable for troubleshooting problems at known time points.
Relative Time Search
Supports searching for logs within a recent period, such as 'last 15 minutes' or 'last 1 hour', which is suitable for real-time monitoring and quick checks.
Application Stream Filtering
You can filter logs by different applications or services (referred to as 'streams' in Graylog) to view only the log information of specific applications.
System Health Check
Provides a system connection status check function to ensure that the connection to the Graylog server is normal and the versions are compatible.
Intelligent Error Prompt
Provides clear and understandable error messages to help quickly locate configuration or connection problems.
Timeout Protection
Automatically sets a 30-second timeout to prevent long waiting times and ensure timely query responses.
Advantages
No need to switch tools: Search for logs directly in Claude, improving work efficiency
Natural language interaction: Describe your requirements in natural language, and Claude will automatically convert them into queries
Precise time control: Supports the ISO 8601 standard time format for accurate search
Production-ready: Verified by 54 test cases, with a code quality score of 9.2/10
Simple configuration: Only need to set the Graylog address and API token to use
Limitations
Requires a Graylog instance: You must have a deployed Graylog log system
Requires API permissions: You need to configure an API token with read permissions
Depends on network connection: You need to be able to access the Graylog server
Limited query complexity: Supports basic Elasticsearch syntax, but complex queries may be restricted

How to Use

Get a Graylog API Token
Log in to the Graylog management interface, go to 'System → Users', select your user, click 'Edit Tokens', and create a new read-only permission token.
Configure Claude Desktop
Edit the Claude Desktop configuration file and add the server configuration. The configuration file location: On macOS, it is in ~/Library/Application Support/Claude/, and on Windows, it is in %APPDATA%\Claude\.
Restart Claude Desktop
After saving the configuration file, restart the Claude Desktop application for the configuration to take effect.
Start Using
In the Claude chat interface, describe your log query requirements in natural language, such as 'Help me find all the error logs in the last 1 hour'.

Usage Examples

Troubleshoot Production Environment Errors
When the monitoring system alarm indicates that an error occurred at a specific time point in an API interface, use the precise time search to quickly locate the problem.
Monitor the Status After Deployment
After completing the application deployment, check if there are any new errors in the recent period to ensure that the deployment did not introduce any problems.
Investigate User Feedback Issues
When a user reports a problem at a specific time, search for the log records of the relevant user operations during that period.

Frequently Asked Questions

What kind of Graylog permissions do I need to use this tool?
How should I write the time format?
Why isn't the search returning any results?
What query syntax is supported?
How can I verify if the configuration is correct?
How many logs can be returned at most?

Related Resources

GitHub Repository
Source code, issue feedback, and contribution guidelines
npm Package Page
Download the latest version and view the version history
Model Context Protocol Official Website
Official documentation and specifications of the MCP protocol
Graylog Official Documentation
Guide for using and configuring the Graylog log system

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "graylog": {
      "command": "npx",
      "args": ["-y", "mcp-server-graylog"],
      "env": {
        "BASE_URL": "https://graylog.example.com",
        "API_TOKEN": "your_api_token_here"
      }
    }
  }
}

{
  "mcpServers": {
    "graylog": {
      "command": "node",
      "args": ["/path/to/mcp-server-graylog/src/index.js"],
      "env": {
        "BASE_URL": "https://graylog.example.com",
        "API_TOKEN": "your_api_token_here"
      }
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

R
Rsdoctor
Rsdoctor is a build analysis tool specifically designed for the Rspack ecosystem, fully compatible with webpack. It provides visual build analysis, multi - dimensional performance diagnosis, and intelligent optimization suggestions to help developers improve build efficiency and engineering quality.
TypeScript
6.5K
5 points
T
Testkube
Testkube is a test orchestration and execution framework for cloud-native applications, providing a unified platform to define, run, and analyze tests. It supports existing testing tools and Kubernetes infrastructure.
Go
5.8K
5 points
N
Netdata
Netdata is an open-source real-time infrastructure monitoring platform that provides second-level metric collection, visualization, machine learning-driven anomaly detection, and automated alerts. It can achieve full-stack monitoring without complex configuration.
Go
6.7K
5 points
U
Uniprof
Uniprof is a tool that simplifies CPU performance analysis. It supports multiple programming languages and runtimes, does not require code modification or additional dependencies, and can perform one-click performance profiling and hotspot analysis through Docker containers or the host mode.
TypeScript
7.1K
4.5 points
H
Haiku.rag
Haiku RAG is an intelligent retrieval - augmented generation system built on LanceDB, Pydantic AI, and Docling. It supports hybrid search, re - ranking, Q&A agents, multi - agent research processes, and provides local - first document processing and MCP server integration.
Python
4.8K
5 points
C
Claude Context
Claude Context is an MCP plugin that provides in - depth context of the entire codebase for AI programming assistants through semantic code search. It supports multiple embedding models and vector databases to achieve efficient code retrieval.
TypeScript
14.0K
5 points
A
Acemcp
Acemcp is an MCP server for codebase indexing and semantic search, supporting automatic incremental indexing, multi-encoding file processing, .gitignore integration, and a Web management interface, helping developers quickly search for and understand code context.
Python
13.5K
5 points
M
MCP
The Microsoft official MCP server provides search and access functions for the latest Microsoft technical documentation for AI assistants
14.0K
5 points
N
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
18.4K
4.5 points
M
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
31.4K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
61.4K
4.3 points
G
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
21.6K
4.3 points
U
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#
28.0K
5 points
F
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
55.8K
4.5 points
G
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
19.3K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
40.1K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase