Sheet noteHow AI connects to Samsara: the official read-only MCP server, scoped API tokens, OAuth apps, rate limits, webhooks, and where dispatch keeps a human yes.
Sheet SY-038 · Fleet telematics and operations
Connecting AI to Samsara
Dispatch wants to know which drivers can legally take a load tonight, the shop wants yesterday's DVIR defects, and the safety manager is reviewing harsh braking clips one by one. Samsara has all of it, and it has an official MCP server an AI assistant can connect to today.
Samsara is a connected operations platform for fleets: vehicle gateways and dash cams report location, engine data, fuel and driver behavior, and the driver app handles hours of service, DVIRs, documents and routes. Trucking carriers, movers, distributors, and contractors with service trucks and heavy equipment use it for dispatch, ELD compliance, maintenance and safety coaching. Samsara offers a REST API with webhooks, an app marketplace, and an official MCP server.
How access works
Samsara MCP is generally available for supported Samsara organizations at regional endpoints (mcp.samsara.com/v2/mcp in the US). Each person signs in with their own Samsara login, and the server applies that user's dashboard role and tag scope, so a user limited to one terminal's tag sees only that terminal. The MCP tools are read-only: the Samsara Assistant plus a catalog of 44 approved queries covering vehicles and assets, drivers and safety, hours of service and DVIRs, routes, dispatch, fuel and locations. For integrations that write data or run at volume, an admin creates an API token under Settings, API Tokens, choosing which tags it can reach and which granular scopes (read or write per data type) it gets; the plaintext token is shown once. Marketplace apps use OAuth 2.0 instead. Webhooks cover alert webhooks (geofence, speeding) and event subscriptions (document submitted, vehicle updated). Samsara's docs say MCP is available for supported organizations without listing plans, so confirm eligibility with your Samsara rep. A community Samsara MCP server also appears in the official MCP registry and is unofficial.
Vendor docs: https://developers.samsara.com/docs/mcp
Once Samsara is connected.
Hours of service check before dispatch
Before loads are assigned, the agent reads each driver's remaining drive and duty time and current location, and lists who can legally take which load. Dispatch makes the assignment.
DVIR defects into work orders
Every morning the agent reads yesterday's inspection reports with unresolved defects and drafts work orders in your maintenance system (or a list for the shop) with unit number, defect and driver notes.
Customer ETA updates
When a truck is running behind on a route stop, the agent drafts an ETA update to the receiving customer or the moving client with the new window. The dispatcher approves it, and routine updates can later send on their own.
Weekly safety coaching list
The agent reads safety events by driver (harsh braking, speeding and other behaviors the dash cam flags) and drafts the week's coaching list with the events worth reviewing first.
Fuel and idle report
Combining Samsara fuel and idle data with fuel card transactions, the agent flags units with unusual idle time and purchases that do not match where the truck was.
What to watch.
- API rate limits are 150 requests per second per token and 200 per second per organization, and many endpoints have tighter limits (some writes are 100 requests per minute). Bulk history pulls need pacing.
- An API token defaults to the whole organization. Restrict it with tags and granular scopes, give each integration its own token, and start with read scopes only.
- Driver location, dash cam video and hours of service are sensitive employee data. Keep the agent's access to what the workflow needs and tell drivers how the data is used.
- Editing HOS logs, changing driver assignments, or messaging drivers while they are moving should stay with dispatch and the safety manager. The MCP server is read-only by design, and write workflows through the API wait for a person.
Samsara and AI: questions.
Q.01Does Samsara have an official MCP server?
Yes. Samsara MCP is generally available for supported organizations. It is read-only, signs in with each user's Samsara login, and follows the same permissions and tag scope as that user's dashboard.
Q.02Why would we need more than the MCP server?
The MCP server answers questions in an assistant like Claude. Scheduled jobs, writing work orders into your maintenance system, or sending customer updates run through the REST API and webhooks, which we set up with a scoped token.
Q.03Can the AI see every truck and driver?
Only what the connecting user or token can see. Samsara tags let you limit access to a terminal, a region or a division, and granular scopes limit which data types a token can read or change.
Q.04Who creates the API token?
An admin on your Samsara account, in the dashboard under Settings. We tell them exactly which scopes and tags to choose, and they can regenerate or delete the token at any time.
Run Samsara? Tell us what else you run.
Samsara is rarely the only system. List the others and the job that eats the most time, and we'll reply with what we'd connect first.