Graylog MCP Server
Query logs from Graylog: get streams, search messages, aggregate, and get full data.
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.3.0
- Listing updated
- 6 days ago
About Graylog MCP Server
Graylog MCP Server is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add graylog-mcp --env GRAYLOG_BASE_URL_INSTANCE_1='<GRAYLOG_BASE_URL_INSTANCE_1>' --env GRAYLOG_API_TOKEN_INSTANCE_1='<GRAYLOG_API_TOKEN_INSTANCE_1>' -- npx -y @jperelli/graylog-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"graylog-mcp": {
"command": "npx",
"args": [
"-y",
"@jperelli/graylog-mcp"
],
"env": {
"GRAYLOG_BASE_URL_INSTANCE_1": "<GRAYLOG_BASE_URL_INSTANCE_1>",
"GRAYLOG_API_TOKEN_INSTANCE_1": "<GRAYLOG_API_TOKEN_INSTANCE_1>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"graylog-mcp": {
"command": "npx",
"args": [
"-y",
"@jperelli/graylog-mcp"
],
"env": {
"GRAYLOG_BASE_URL_INSTANCE_1": "<GRAYLOG_BASE_URL_INSTANCE_1>",
"GRAYLOG_API_TOKEN_INSTANCE_1": "<GRAYLOG_API_TOKEN_INSTANCE_1>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"graylog-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@jperelli/graylog-mcp"
],
"env": {
"GRAYLOG_BASE_URL_INSTANCE_1": "<GRAYLOG_BASE_URL_INSTANCE_1>",
"GRAYLOG_API_TOKEN_INSTANCE_1": "<GRAYLOG_API_TOKEN_INSTANCE_1>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"graylog-mcp": {
"command": "npx",
"args": [
"-y",
"@jperelli/graylog-mcp"
],
"env": {
"GRAYLOG_BASE_URL_INSTANCE_1": "<GRAYLOG_BASE_URL_INSTANCE_1>",
"GRAYLOG_API_TOKEN_INSTANCE_1": "<GRAYLOG_API_TOKEN_INSTANCE_1>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"graylog-mcp": {
"command": "npx",
"args": [
"-y",
"@jperelli/graylog-mcp"
],
"env": {
"GRAYLOG_BASE_URL_INSTANCE_1": "<GRAYLOG_BASE_URL_INSTANCE_1>",
"GRAYLOG_API_TOKEN_INSTANCE_1": "<GRAYLOG_API_TOKEN_INSTANCE_1>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
GRAYLOG_BASE_URL_INSTANCE_1Base URL of the first Graylog instance, e.g. http://graylog.example.com:9000RequiredGRAYLOG_API_TOKEN_INSTANCE_1API token for the first Graylog instance (used as the HTTP Basic username).RequiredGRAYLOG_LABEL_INSTANCE_1Optional human-readable label for the first instance (default: instance_1).
Pricing
Open source
Graylog MCP Server FAQ
Is Graylog MCP Server free?
Yes. Graylog MCP Server is open source, so you can use and self-host it for free.
How do I add Graylog MCP Server to Claude Code?
Run this command in your terminal: claude mcp add graylog-mcp --env GRAYLOG_BASE_URL_INSTANCE_1='<GRAYLOG_BASE_URL_INSTANCE_1>' --env GRAYLOG_API_TOKEN_INSTANCE_1='<GRAYLOG_API_TOKEN_INSTANCE_1>' -- npx -y @jperelli/graylog-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.