Axiom MCP by usefulapi
Run APL queries; read datasets, monitors and dashboards; add chart annotations in Axiom.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"axiom": {
"url": "https://axiom.usefulapi.io/mcp"
}
}
}Remote endpoints
https://axiom.usefulapi.io/mcpstreamable-httpWhat it can do
Tool inventory
Tools (12)
🟢axiom_list_datasets
List the datasets this token can read, with their edge deployment, retention and labels. Good first call to find dataset names and ids. Axiom API: GET /v2/datasets.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢axiom_get_dataset(dataset_id)
Get one dataset: its name, kind, retention, edge deployment and labels. Axiom API: GET /v2/datasets/{dataset_id}.
Input Schema
{
"type": "object",
"properties": {
"dataset_id": {
"type": "string",
"minLength": 1,
"description": "Dataset id (from axiom_list_datasets)."
}
},
"required": [
"dataset_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢axiom_list_dataset_fields(dataset_id)
List the fields (columns) of one dataset with their types. Use it before writing an APL query. Axiom API: GET /v2/datasets/{dataset_id}/fields.
Input Schema
{
"type": "object",
"properties": {
"dataset_id": {
"type": "string",
"minLength": 1,
"description": "Dataset id (from axiom_list_datasets)."
}
},
"required": [
"dataset_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢axiom_query(apl, startTime, endTime)
Run an APL (Axiom Processing Language) query on this account's edge deployment and return the rows as a table. Example: ['app-logs'] | where status >= 500 | summarize count() by bin_auto(_time). Results over 150,000 characters are cut. Axiom API: POST /v1/query/_apl?format=tabular on the edge host.
Input Schema
{
"type": "object",
"properties": {
"apl": {
"type": "string",
"minLength": 1,
"description": "APL query text. Quote dataset names in brackets, for example ['app-logs'] | limit 20."
},
"startTime": {
"type": "string",
"description": "Start of the time range, RFC 3339 or relative such as now-1h."
},
"endTime": {
"description": "End of the time range (default now).",
"type": "string"
}
},
"required": [
"apl",
"startTime"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢axiom_list_monitors
List the monitors (alerts) in this organization with their queries, thresholds and state. Axiom API: GET /v2/monitors.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢axiom_get_monitor(monitor_id)
Get one monitor: its query, thresholds, schedule and notifiers. Axiom API: GET /v2/monitors/{id}.
Input Schema
{
"type": "object",
"properties": {
"monitor_id": {
"type": "string",
"minLength": 1,
"description": "Monitor id (from axiom_list_monitors)."
}
},
"required": [
"monitor_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢axiom_get_monitor_history(monitor_id, startTime, endTime, kind)
List the notifications sent or the runs of one monitor in a time range. Axiom API: GET /v2/monitors/{id}/history.
Input Schema
{
"type": "object",
"properties": {
"monitor_id": {
"type": "string",
"minLength": 1,
"description": "Monitor id (from axiom_list_monitors)."
},
"startTime": {
"type": "string",
"description": "Start of the range, RFC 3339 (required by Axiom)."
},
"endTime": {
"type": "string",
"description": "End of the range, RFC 3339 (required by Axiom). Must not be before startTime."
},
"kind": {
"description": "Item kind to list (default notification).",
"type": "string",
"enum": [
"notification",
"run"
]
}
},
"required": [
"monitor_id",
"startTime",
"endTime"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢axiom_list_dashboards
List the dashboards in this organization. Axiom API: GET /v2/dashboards.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢axiom_get_dashboard(uid)
Get one dashboard by its uid, including its charts and queries. Axiom API: GET /v2/dashboards/uid/{uid}.
Input Schema
{
"type": "object",
"properties": {
"uid": {
"type": "string",
"minLength": 1,
"description": "Dashboard uid (from axiom_list_dashboards)."
}
},
"required": [
"uid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢axiom_list_saved_queries
List the saved (starred) APL queries of this organization. Axiom API: GET /v2/apl-starred-queries.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢axiom_list_annotations(datasets, start, end)
List chart annotations (deployments, incidents and other marked events), optionally by dataset and time range. Axiom API: GET /v2/annotations.
Input Schema
{
"type": "object",
"properties": {
"datasets": {
"description": "Only annotations on these dataset names.",
"type": "array",
"items": {
"type": "string"
}
},
"start": {
"description": "Only events after this RFC 3339 time (needs end; range up to 100 days).",
"type": "string"
},
"end": {
"description": "Only events before this RFC 3339 time (needs start).",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴axiom_create_annotation(datasets, type, title, description, time, ...)
Mark an event (for example a production deployment) on the charts of the given datasets. Adds a new annotation each call; it does not change existing ones. Axiom API: POST /v2/annotations.
Input Schema
{
"type": "object",
"properties": {
"datasets": {
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"description": "Dataset names where the annotation appears on charts."
},
"type": {
"type": "string",
"maxLength": 256,
"pattern": "^[a-z0-9-]+$",
"description": "Event type, for example production-deployment."
},
"title": {
"description": "Short title shown on the chart.",
"type": "string",
"maxLength": 256
},
"description": {
"description": "What the event is.",
"type": "string",
"maxLength": 512
},
"time": {
"description": "When the event happened (default: now). Cannot be in the future.",
"type": "string"
},
"endTime": {
"description": "End of the event, if it has a duration.",
"type": "string"
},
"url": {
"description": "Related link, for example a pull request.",
"type": "string",
"maxLength": 512
}
},
"required": [
"datasets",
"type"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Evidence