MCP Server for Axiom (JavaScript) logo

MCP Server for Axiom (JavaScript)

by ThetaBird

A JavaScript port of the official Axiom MCP server, enabling AI agents to query data using Axiom Processing Language (APL). It provides the same functionality as the original Go version but packaged as an npm module for easier integration with Node.js environments.

View on GitHub

Last updated: N/A

What is MCP Server for Axiom (JavaScript)?

This is a JavaScript implementation of the Axiom MCP server, designed to allow AI agents to query data stored in Axiom using the Axiom Processing Language (APL). It's packaged as an npm module for easy integration with Node.js projects.

How to use MCP Server for Axiom (JavaScript)?

The server can be run directly using npx or installed globally using npm. Configuration is done via environment variables or a config.json file. You'll need an Axiom API token and organization ID. Once running, you can interact with the server via its API endpoints, such as querying APL or listing datasets.

Key features of MCP Server for Axiom (JavaScript)

  • APL Query Execution

  • Dataset Listing

  • Easy Integration with Node.js

  • Configuration via Environment Variables or Config File

  • Rate Limiting

Use cases of MCP Server for Axiom (JavaScript)

  • Enabling AI agents to analyze logs stored in Axiom

  • Building custom data dashboards using APL queries

  • Automating data analysis tasks

  • Integrating Axiom data into Node.js applications

  • Providing a queryable interface to Axiom data for other services

FAQ from MCP Server for Axiom (JavaScript)

What is APL?

APL stands for Axiom Processing Language, a query language used to interact with Axiom data.

What environment variables are required?

AXIOM_TOKEN and AXIOM_ORG_ID are required. AXIOM_URL, AXIOM_QUERY_RATE, AXIOM_QUERY_BURST, AXIOM_DATASETS_RATE, AXIOM_DATASETS_BURST and PORT are optional.

How do I install the server?

You can install it globally using npm install -g mcp-server-axiom.

How do I run the server?

You can run it using mcp-server-axiom after setting the required environment variables, or by providing a config.json file: mcp-server-axiom config.json.

What API endpoints are available?

The server provides GET /, GET /tools, and POST /tools/:name/call endpoints. Available tools are queryApl and listDatasets.