Skip to main content
Glama
Cariot MCP Server

Cariot MCP Server

Official
by CariotInc

Cariot MCP Server

A Model Context Protocol (MCP) server with cariot APIs.

Quick Start

Prerequisites

  • Node.js v22+ (ES modules support)

  • Cariot API credentials (one of the following):

    • API Access Key and Secret

    • ID Token (from Cariot authentication)

Configuration

Add the following configuration to your MCP-enabled client (e.g., Claude Desktop) settings.

{
  "mcpServers": {
    "cariot": {
      "command": "npx",
      "args": ["@cariot-labs/cariot-mcp-server"],
      "env": {
        "API_ACCESS_KEY": "your-api-access-key",
        "API_ACCESS_SECRET": "your-api-access-secret"
      }
    }
  }
}

Option 2: ID Token Authentication

{
  "mcpServers": {
    "cariot": {
      "command": "npx",
      "args": ["@cariot-labs/cariot-mcp-server"],
      "env": {
        "ID_TOKEN": "your-id-token"
      }
    }
  }
}

Environment Variables

Authentication (one of the following is required):

Variable

Description

API_ACCESS_KEY

Cariot API access key (used with API_ACCESS_SECRET)

API_ACCESS_SECRET

Cariot API access secret (used with API_ACCESS_KEY)

ID_TOKEN

Cariot ID token for authentication

Note: If both API key credentials and ID token are provided, API key authentication takes priority.

Optional:

Variable

Description

Default

CARIOT_LOG_LEVEL

Logging level (debug, info, warn, error)

info

No Installation Required

npx automatically downloads and runs the server.

Related MCP server: mcp-samsara

Available Tools

Cariot Tools

  • analyze_alcohol_checks: Analyze alcohol check results from daily reports to monitor compliance and identify violations.

  • get_daily_report: Get a specific daily report by daily report number.

  • get_daily_reports: List daily reports.

  • get_drivers: List drivers.

  • get_vehicles: List vehicles.

  • get_realtime: Get realtime snapshots for devices.

Development

Local Development

# Clone repository
git clone https://github.com/CariotInc/cariot-mcp-server.git
cd cariot-mcp-server
npm install

# Test
npm test

# Build
npm run build

Local Configuration

Using API Key:

{
  "mcpServers": {
    "cariot": {
      "command": "node",
      "args": ["/path/to/cariot-mcp-server/dist/index.js"],
      "env": {
        "API_ACCESS_KEY": "your-access-key",
        "API_ACCESS_SECRET": "your-access-secret",
        "CARIOT_LOG_LEVEL": "debug"
      }
    }
  }
}

License

MIT

Available Tools

7 tools
analyze_alcohol_checksAnalyze Alcohol Checks / アルコールチェック分析A

Analyzes alcohol check results from daily reports. Shows check status (before/middle/after), violations, check rate, and check statistics for drivers within a specified date range. Check rate is calculated based on whether both before and after checks are performed when driving (for past dates) or at least before check is performed (for current date). / 日報からアルコールチェック結果を分析します。指定された日付範囲内のドライバーのチェック状況(前/中/後)、違反、チェック率、およびチェック統計を表示します。チェック率は、運転時に乗車前と乗車後の両方のチェックが実施されているか(前日以前)、または少なくとも乗車前チェックが実施されているか(当日)に基づいて計算されます。

Inputs: driverName, dateFrom, dateTo, limit.

generate_chart_configGenerate Chart.js Configuration / Chart.js設定データ生成A

Generates Chart.js configuration data based on input data. Supports bar, line, pie, doughnut, radar, and polarArea chart types. Returns a ChartConfiguration object that can be used directly with Chart.js. IMPORTANT: When using this tool, you MUST embed the EXACT generated ChartConfiguration object in your final response WITHOUT any code block markers (no json, javascript, or any other formatting). Output the raw JSON object directly so the client can parse and use it. / 入力データに基づいてChart.js設定データを生成します。bar、line、pie、doughnut、radar、polarAreaのグラフタイプをサポートします。Chart.jsで直接使用できるChartConfigurationオブジェクトを返します。重要:このツールを使用した場合、生成されたChartConfigurationオブジェクトを、コードブロックマーカー(json、javascript等)を一切付けずに、そのまま生のJSONオブジェクトとして返答の末尾に含めてください。クライアントがパースして使用できるようにしてください。

Inputs: chartType (required), labels (required), datasets (required), title, +2 more.

get_daily_reportGet Daily Report / 運転報告詳細取得C

Retrieves a detailed daily report for a specific date and driver. / 指定された日付とドライバーの日報詳細を取得します。

Inputs: dailyReportNo (required).

get_daily_reportsGet Daily Reports / 運転報告一覧取得B

Retrieves a list of daily reports for all drivers within a specified date range. / 指定された日付範囲内の全ドライバーの日報をリストで取得します。

Inputs: driverName, dateFrom, dateTo, limit.

get_driversGet Drivers / ドライバー一覧取得C

Retrieves a list of all drivers' information. / 全ドライバーの情報をリストで取得します。

Inputs: driverName, limit.

get_realtimeGet Realtime / リアルタイム情報取得C

Retrieves real-time information for the specified driver or vehicle. / 指定したドライバーまたは車両のリアルタイム情報を取得します。

Inputs: deviceUids (required).

get_vehiclesGet Vehicles / 車両一覧取得C

Retrieves a list of all vehicles' information. / 全車両の情報をリストで取得します。

Inputs: vehicleName, limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 7 tools

    Disambiguation4/5

    Each tool targets a distinct aspect of fleet management: drivers, vehicles, daily reports (singular/plural), real-time info, alcohol check analysis, and chart generation. The only potential confusion is between get_daily_report and get_daily_reports, but the singular/plural distinction is clear.

    Naming Consistency3/5

    Most tools use the 'get_' prefix consistently, but 'analyze_alcohol_checks' and 'generate_chart_config' break the pattern with different verbs. While readable, the mix of verb styles is inconsistent.

    Tool Count5/5

    With 7 tools, the server is well-scoped for a fleet data retrieval and analysis domain. Each tool serves a clear purpose without being excessive or insufficient.

    Completeness3/5

    The tool set covers core read operations (drivers, vehicles, reports, real-time) and adds analysis (alcohol checks, chart config). However, there are no write operations (e.g., create/update drivers, submit reports), which may limit agents performing management tasks.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers