Axiom
Query and analyze your Axiom logs, traces, and all other event data in natural language
mcp-server-axiom
A Model Context Protocol server implementation for Axiom that enables AI agents to query your data using Axiom Processing Language (APL).
Status
Works with Claude desktop app. Implements six MCP tools:
- queryApl: Execute APL queries against Axiom datasets
- listDatasets: List available Axiom datasets
- getDatasetSchema: Get dataset schema
- getSavedQueries: Retrieve saved/starred APL queries
- getMonitors: List monitoring configurations
- getMonitorsHistory: Get monitor execution history
Note: All tools require an API token for authentication. Use your API token as the token
parameter.
No support for MCP resources or prompts yet.
Installation
Releases
Download the latest built binary from the releases page.
Source
go install github.com/axiomhq/axiom-mcp@latest
Configuration
Configure using one of these methods:
Config File Example (config.txt):
token xaat-your-api-token
url https://api.axiom.co
query-rate 1
query-burst 1
datasets-rate 1
datasets-burst 1
monitors-rate 1
monitors-burst 1
Command Line Flags:
axiom-mcp \
-token xaat-your-api-token \
-url https://api.axiom.co \
-query-rate 1 \
-query-burst 1 \
-datasets-rate 1 \
-datasets-burst 1 \
-monitors-rate 1 \
-monitors-burst 1
Environment Variables:
export AXIOM_TOKEN=xaat-your-api-token
export AXIOM_URL=https://api.axiom.co
export AXIOM_QUERY_RATE=1
export AXIOM_QUERY_BURST=1
export AXIOM_DATASETS_RATE=1
export AXIOM_DATASETS_BURST=1
export AXIOM_MONITORS_RATE=1
export AXIOM_MONITORS_BURST=1
Usage
- Create a config file:
echo "token xaat-your-api-token" > config.txt
- Configure the Claude app to use the MCP server:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"axiom": {
"command": "/path/to/your/axiom-mcp-binary",
"args" : ["--config", "/path/to/your/config.txt"],
"env": { // Alternatively, you can set the environment variables here
"AXIOM_TOKEN": "xaat-your-api-token",
"AXIOM_URL": "https://api.axiom.co"
}
}
}
}
License
MIT License - see LICENSE file
Related Servers
CData YouTube Analytics
An MCP server for accessing YouTube Analytics data, powered by the CData JDBC Driver.
Shared Memory MCP
An example project for deploying a remote MCP server on Cloudflare Workers without authentication.
QuickBooks MCP Server
Query QuickBooks data using natural language.
JupiterOne MCP Server
Interact with JupiterOne's data and tools through an MCP server, enabling AI assistants to access your JupiterOne account.
Speckle
Interact with Speckle, the collaborative data hub that connects with your AEC tools.
K8s MCP Server
A server for Kubernetes CLI tools like kubectl, istioctl, helm, and argocd, supporting multi-cluster management via dynamic kubeconfig.
MCP Prometheus
Access Prometheus metrics and queries through standardized MCP interfaces.
AWS MCP
Interact with your AWS environment using natural language. Requires local AWS credentials.
Concordia MCP
Provides comprehensive analytics for Solana wallets, including real-time portfolio insights and detailed DeFi activity tracking.
Crypto MCP Server
Fetches real-time cryptocurrency prices from the CoinGecko API.