Coralogix MCP by usefulapi

v1.1.1
io.usefulapi/coralogix Checked 2 days ago Published 1 day ago

Run 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.

ParameterTypeDescription
end_time *stringEnd of the time window (exclusive), ISO 8601.
query *stringThe DataPrime or Lucene query text.
start_time *stringStart of the time window (inclusive), ISO 8601, for example 2026-11-26T09:00:00Z.
limitintegerMaximum rows to return (default 100, max 1000).
syntaxstringQuery language (default dataprime).
tierstringSearch 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.

ParameterTypeDescription
query *stringThe PromQL expression, for example sum by (service) (rate(http_requests_total[5m])).
endstringRange query end: Unix seconds or RFC 3339.
startstringRange query start: Unix seconds or RFC 3339. Needs end and step.
stepstringRange query resolution step, for example 60 or 1m.
timestringInstant 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.

ParameterTypeDescription
application_namestringFilter by application name (case sensitive).
from_timestampstringOnly alerts created at or after this ISO 8601 time.
idstringAlert UUID. Returns that alert only.
severitystringFilter by severity.
subsystem_namestringFilter by subsystem name (case sensitive).
unique_identifierstringAlert 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>.

ParameterTypeDescription
alert_id *stringAlert 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.

ParameterTypeDescription
end_timestringWindow end, ISO 8601. Send with start_time. At most 7 days after start_time.
start_timestringWindow start, ISO 8601. Send with end_time.
tag_namestringA saved insight tag name. Send alone, not with the dates.
typestringInsight type (default top).