log-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| log_overviewA | Quick scan of a log file: size, line count, time range, level distribution, and head/tail samples. Use this as the first step when investigating a log file. |
| search_logsB | Search log entries by regex pattern, log level, and/or time range. Returns matching entries (up to max_results). Combine filters to narrow results. |
| get_log_segmentA | Extract a segment of a log file by line range or time range. Use line ranges for precise extraction (e.g., around a known error line). Use time ranges to get all entries within a time window. |
| analyze_errorsB | Analyze error entries: deduplicate by fingerprint, count frequencies, extract stack traces. Groups similar error messages together even when they differ in numbers, IDs, or timestamps. |
| log_statsA | Compute log statistics: volume histogram over time, level breakdown, and top repeated message patterns. Useful for spotting traffic spikes, error bursts, or noisy log sources. |
| compare_logsA | Compare multiple log files and find entries unique to each file. Normalises variable parts (numbers, UUIDs, hex) so that messages differing only in IDs or timestamps are treated as the same pattern. Returns patterns that appear in some files but not in others, helping you focus on what is different rather than what is common. Also shows shared patterns and frequency outliers where the same pattern appears with very different counts across files. |
| classify_linesA | Classify log lines as LOOK (interesting) or SKIP (routine) using a trained ML model. Uses a logistic regression model trained on 17 loghub datasets (345M lines). Lines classified as LOOK include errors, warnings, security events, resource exhaustion, hardware anomalies, and other operationally significant entries. Args: file_path: Path to the log file to classify. threshold: Probability threshold for LOOK classification (0.0-1.0, default 0.5). Lower values capture more lines but with more false positives. max_lines: Maximum number of lines to process (0 = all lines). max_look_lines: Maximum number of LOOK lines to return in detail (default 200). output: Output format - "summary" for overview stats + sample LOOK lines, "look_only" for all captured LOOK lines with probabilities. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ascii766164696D/log-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server