Coralogix MCP by usefulapi
v1.1.1Run log, span and PromQL queries, and read alerts and error insights in Coralogix.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
coralogix_run_query Run a DataPrime or Lucene query
Run a DataPrime (default) or Lucene query over logs or spans and return the matching rows. DataPrime: start the query with `source logs` or `source spans`, for example: source logs | filter $d.level == 'ERROR' | limit 50. Lucene (syntax lucene): write the query text only, for example: applicationname:checkout AND level:ERROR. The time window is required. Use tier archive only for archived data. Results are capped at 1000 rows and about 150 KB. Coralogix API: POST /api/v1/dataprime/query.
| Parameter | Type | Description |
|---|---|---|
end_time * | string | End of the time window (exclusive), ISO 8601. |
query * | string | The DataPrime or Lucene query text. |
start_time * | string | Start of the time window (inclusive), ISO 8601, for example 2026-11-26T09:00:00Z. |
limit | integer | Maximum rows to return (default 100, max 1000). |
syntax | string | Query language (default dataprime). |
tier | string | Search tier: frequent (default) for frequent-search data, archive for archived data. |
coralogix_query_metrics Query metrics (PromQL)
Run a PromQL query against Coralogix metrics. Without start, it runs an instant query at time (default now). With start, end and step, it runs a range query. Coralogix API: GET /metrics/api/v1/query or /query_range.
| Parameter | Type | Description |
|---|---|---|
query * | string | The PromQL expression, for example sum by (service) (rate(http_requests_total[5m])). |
end | string | Range query end: Unix seconds or RFC 3339. |
start | string | Range query start: Unix seconds or RFC 3339. Needs end and step. |
step | string | Range query resolution step, for example 60 or 1m. |
time | string | Instant query time: Unix seconds or RFC 3339. Default now. |
coralogix_list_alerts List alerts
List Coralogix alert definitions, or one alert by id or unique identifier. Filter by severity, application, subsystem or creation time. Coralogix API: GET /api/v2/external/alerts.
| Parameter | Type | Description |
|---|---|---|
application_name | string | Filter by application name (case sensitive). |
from_timestamp | string | Only alerts created at or after this ISO 8601 time. |
id | string | Alert UUID. Returns that alert only. |
severity | string | Filter by severity. |
subsystem_name | string | Filter by subsystem name (case sensitive). |
unique_identifier | string | Alert unique identifier. Returns that alert only. |
coralogix_get_alert_status Get alert status
Get the current status of one alert by its id (for example whether it is triggered). Coralogix API: GET /api/v2/external/alerts/alert-status/<id>.
| Parameter | Type | Description |
|---|---|---|
alert_id * | string | Alert UUID. |
coralogix_get_insights Get error insights
Get the top, new or suspected error templates for a time window (at most 7 days), or for a saved tag. Top lists the most common errors, new lists errors not seen before the window, suspected lists errors above their normal rate. Coralogix API: POST /api/v1/external/insights.
| Parameter | Type | Description |
|---|---|---|
end_time | string | Window end, ISO 8601. Send with start_time. At most 7 days after start_time. |
start_time | string | Window start, ISO 8601. Send with end_time. |
tag_name | string | A saved insight tag name. Send alone, not with the dates. |
type | string | Insight type (default top). |