Samsara logo

Samsara

Live

Samsara fleet management and IoT connector for vehicles, equipment, drivers, GPS tracking, telematics, HOS compliance, safety events, and geofences.

What is Samsara?

Full-featured Samsara integration for connected fleet and operations data. Track assets, industrial gateways, and equipment GPS locations, monitor vehicle telematics (engine state, fuel, RPM, odometer, fault codes), query industrial sensor time-series data, manage drivers and HOS compliance, review safety events, inspect DVIRs, and organize resources with tags and geofences. Supports snapshot, feed (incremental polling), and history (time-range) data access patterns.

Available Tools

  • listAssets
    List all assets (vehicles, trailers, equipment) with optional tag filtering.
  • listIndustrialAssets
    List industrial assets (gateways, monitors, sensors) with location and running status.
  • getIndustrialAsset
    Get full detail for a single industrial asset including data inputs/outputs.
  • getIndustrialDataPoints
    Query time-series data points from an industrial data input.
  • listVehicles
    List fleet vehicles with VIN, make, model, year, and tags.
  • getVehicleLocations
    Current GPS snapshot for all vehicles.
  • getVehicleLocationsFeed
    Incremental feed for vehicle location updates.
  • getVehicleLocationsHistory
    Historical vehicle locations within a time range.
  • getVehicleStats
    Current vehicle telematics snapshot (gps, engine, fuel, odometer, faults).
  • getVehicleStatsFeed
    Incremental feed for vehicle stat updates.
  • getVehicleStatsHistory
    Historical vehicle stats within a time range.
  • getEquipmentStats
    Current equipment stats snapshot.
  • getEquipmentStatsFeed
    Incremental feed for equipment stat updates.
  • getEquipmentStatsHistory
    Historical equipment stats within a time range.
  • getEquipmentLocationsFeed
    Incremental feed for equipment location updates.
  • listDrivers
    List drivers with activation status, ELD settings, and carrier info.
  • getDriver
    Get a single driver by ID or external ID.
  • listAddresses
    List geofences/yards with coordinates and geofence shapes.
  • getAddress
    Get a single address/geofence by ID.
  • listTags
    List organizational tags for vehicles, drivers, and assets.
  • listContacts
    List contacts with name, email, and phone.
  • listUsers
    List users with roles and auth type.
  • listTrips
    Historical trip records within a time range.
  • getHosClocks
    Current HOS clocks: remaining drive, on-duty, cycle, and break time.
  • getHosLogs
    HOS log entries within a time range.
  • getHosDailyLogs
    Daily HOS duty-status summaries.
  • getHosViolations
    HOS violations within a time range.
  • getSafetyEvents
    Safety events (harsh braking, speeding, crashes) in a time range.
  • listDvirs
    Driver vehicle inspection reports within a time range.
  • getDriverVehicleAssignments
    Driver-vehicle assignments within a time range.
  • querySamsara
    Generic helper for any Samsara endpoint not covered above.

Requirements

  • Samsara API token
    API token issued from Samsara dashboard under Settings > API Tokens.
  • Token scopes
    Token must have appropriate granular scopes (e.g. Read Vehicles, Read Equipment Statistics).
  • Compatible AI agent
    Works with Claude, ChatGPT, and other MCP-compatible agents.

Quick Setup Guide

Follow these steps to connect your AI agents to this connector

Sign up for PatchOps to access MCP server management.

Generate an API token in Samsara Dashboard > Settings > API Tokens and store it in PatchOps.

Add the Samsara MCP server URL to your AI agent configuration.

Use listAssets, getVehicleLocations, getVehicleStats, listDrivers, getHosClocks and more for fleet operations.

Connect to Your AI Assistant

Choose your AI assistant below for specific setup instructions

Follow these steps to connect Samsara to Claude:

Step 1: Open Claude Settings

Launch Claude → Click the profile button (bottom left) → Navigate to Settings

Step 2: Access Connectors

Scroll down to the Connectors tab → Navigate to the bottom → Click “Add Custom Connector”

Step 3: Name Your Connector

Enter any name you'd like for this connector

Step 4: Get the Connector URL

Log in to PatchOps → Navigate to the /mcp page → Copy the connector URL you want to use

Step 5: Add the Connector

Paste the URL in the “Remote MCP Server URL” text box → Click Add

Step 6: Start Using

Your connector is now ready to use in Claude

Follow these steps to connect Samsara to ChatGPT:

Step 1: Enable Developer Mode

Go to Settings → Connectors → Advanced → Enable Developer mode

Step 2: Create New Connector

Go back to Connectors page → Click “Create” (top right)

Step 3: Name Your Connector

Enter any name you'd like for this connector (descriptions are optional)

Step 4: Get the Connector URL

Log in to PatchOps → Navigate to the /mcp page → Copy the connector URL you want to use

Step 5: Add the URL

Paste the URL in the “MCP Server URL” text box

Step 6: Set Authentication

Click the authentication dropdown → Select “No authentication” (PatchOps handles authentication internally)

Step 7: Create the Connector

Click “I understand and want to continue” checkbox → Press Create

Step 8: Using the Connector

Start a new chat → Click the + button (left of text box) → Open dropdown → Hover over three dots labeled “More” → Select your connector

Instructions for connecting Samsara to GitHub Copilot:

Coming Soon

Detailed setup instructions for GitHub Copilot will be added here.

For other MCP-compatible platforms:

Step 1: Get the Connector URL

Log in to PatchOps → Navigate to the /mcp page → Copy the connector URL you want to use

Step 2: Add to Configuration

Add this configuration to your MCP settings file. Replace the URL with your specific connector URL from the /mcp page:

"Samsara-MCP": {
  "url": "https://patchops.ai/api/mcp/...",
  "type": "http"
}

Example Configuration

Here’s an example using PatchOps MCP:

"PatchOps-MCP": {
  "url": "https://patchops.ai/api/mcp/...",
  "type": "http"
}