# Mcp Server Axiom Js

> MCP server from ThetaBird/mcp-server-axiom-js.

- **Type:** MCP server
- **Install:** `agentstack add mcp-thetabird-mcp-server-axiom-js`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [ThetaBird](https://agentstack.voostack.com/s/thetabird)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [ThetaBird](https://github.com/ThetaBird)
- **Source:** https://github.com/ThetaBird/mcp-server-axiom-js

## Install

```sh
agentstack add mcp-thetabird-mcp-server-axiom-js
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# MCP Server for Axiom

A JavaScript port of the [official Axiom MCP server](https://github.com/axiomhq/mcp-server-axiom) that enables AI agents to query data using Axiom Processing Language (APL).

  

This implementation provides the same functionality as the original Go version but packaged as an npm module for easier integration with Node.js environments.

## Installation & Usage

### MCP Configuration

You can run this MCP server directly using npx. Add the following configuration to your MCP configuration file:

```json
{
  "axiom": {
    "command": "npx",
    "args": ["-y", "mcp-server-axiom"],
    "env": {
      "AXIOM_TOKEN": "",
      "AXIOM_URL": "https://api.axiom.co",
      "AXIOM_ORG_ID": ""
    }
  }
}
```

### Local Development & Testing

#### Installation

```bash
npm install -g mcp-server-axiom
```

#### Environment Variables

The server can be configured using environment variables:

- `AXIOM_TOKEN` (required): Your Axiom API token
- `AXIOM_ORG_ID` (required): Your Axiom organization ID
- `AXIOM_URL` (optional): Custom Axiom API URL (defaults to https://api.axiom.co)
- `AXIOM_QUERY_RATE` (optional): Queries per second limit (default: 1)
- `AXIOM_QUERY_BURST` (optional): Query burst capacity (default: 1)
- `AXIOM_DATASETS_RATE` (optional): Dataset list operations per second (default: 1)
- `AXIOM_DATASETS_BURST` (optional): Dataset list burst capacity (default: 1)
- `PORT` (optional): Server port (default: 3000)

#### Running the Server Locally

1. Using environment variables:

```bash
export AXIOM_TOKEN=your_token
mcp-server-axiom
```

2. Using a config file:

```bash
mcp-server-axiom config.json
```

Example config.json:

```json
{
  "token": "your_token",
  "url": "https://custom.axiom.co",
  "orgId": "your_org_id",
  "queryRate": 2,
  "queryBurst": 5,
  "datasetsRate": 1,
  "datasetsBurst": 2
}
```

## API Endpoints

- `GET /`: Get server implementation info
- `GET /tools`: List available tools
- `POST /tools/:name/call`: Call a specific tool
  - Available tools:
    - `queryApl`: Execute APL queries
    - `listDatasets`: List available datasets

### Example Tool Calls

1. Query APL:

```bash
curl -X POST http://localhost:3000/tools/queryApl/call \
  -H "Content-Type: application/json" \
  -d '{
    "arguments": {
      "query": "['logs'] | where ['severity'] == \"error\" | limit 10"
    }
  }'
```

2. List Datasets:

```bash
curl -X POST http://localhost:3000/tools/listDatasets/call \
  -H "Content-Type: application/json" \
  -d '{
    "arguments": {}
  }'
```

## License

MIT

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [ThetaBird](https://github.com/ThetaBird)
- **Source:** [ThetaBird/mcp-server-axiom-js](https://github.com/ThetaBird/mcp-server-axiom-js)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-thetabird-mcp-server-axiom-js
- Seller: https://agentstack.voostack.com/s/thetabird
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
