Samsara fleet management โ vehicles, routes, drivers, HOS compliance. Unofficial, bring your token.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Complete Samsara Fleet Management integration for Claude AI
21 tools | Expert knowledge built-in | Beta
UNOFFICIAL INTEGRATION: This is an unofficial third-party MCP server. It is:
Samsaraยฎ is a registered trademark of Samsara Inc.
See NOTICE for the full third-party disclaimer. Licence: MIT.
Connects Claude AI to the Samsara Fleet Management API with:
โ
21 tools across vehicles, routes, drivers, addresses, webhooks and contacts
โ
Expert knowledge built into every tool description
โ
Automatic state preservation (stop IDs, route data)
โ
Smart rate limiting (won't hit API limits)
โ
Route optimization (built-in efficiency algorithms)
โ
Production best practices (error handling, retries)
Vehicle Management (4 tools)
Route Management (6 tools) โญ Our specialty
Driver Management (4 tools)
Address & Location (2 tools)
Webhook Integration (3 tools)
Contact Management (2 tools)
Note: the npm package
@automationsquad/mcp-samsarais not published yet, so clone-and-build is the only install path that works today. When it ships, annpxone-liner will replace the steps above.
Add to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Replace /absolute/path/to/mcp-samsara with wherever you cloned the repo. The path must
be absolute โ Claude Desktop does not resolve ~ or relative paths.
EU customers: Use https://api.eu.samsara.com for SAMSARA_BASE_URL
Quit and reopen Claude Desktop. You should see the Samsara tools available!
Claude will:
| Feature | Direct API | This MCP |
|---|---|---|
| Setup time | Days | Minutes |
| Stop state preservation | Manual | Automatic |
| Rate limiting | DIY | Built-in |
| Error handling | Custom | Production-tested |
| Route optimization | Build yourself | Included |
| Best practices | Research needed | Built-in |
| Feature | Hypothetical Official | Automation Squad |
|---|---|---|
| Tool count | ~8-12 basic | 21 |
| API coverage | ~10% | Fleet, routes, drivers, HOS, webhooks |
| Expert knowledge | โ | โ Built-in |
| Route optimization | โ | โ Included |
| State preservation | Manual | Automatic |
| Updates | Sporadic | Continuous |
Conservative 5 requests/second with automatic throttling and retry logic.
Critical feature: When updating routes, we automatically:
This is a best practice that prevents losing arrival/departure times.
| Variable | Required | Default | Description |
|---|---|---|---|
SAMSARA_API_TOKEN | โ Yes | - | Your Samsara API token |
SAMSARA_BASE_URL | No | https://api.samsara.com | API base URL (use EU endpoint if needed) |
All tools are prefixed with samsara_ for clarity:
samsara_list_vehiclessamsara_create_routesamsara_get_driver_hosUse externalIds in routes/vehicles/drivers to link with your TMS:
Then query by external ID:
Set your API token in the Claude config file (see Configuration above).
Your API token is invalid or expired. Generate a new one in Samsara dashboard.
The MCP will automatically retry. If you see this often, you may have other integrations hitting the API.
Beta Users:
MIT License - See LICENSE file for details
Built with โค๏ธ by Automation Squad
Not affiliated with Samsara Inc. This is an independent integration using Samsara's public API.
Docs, install steps and what this server does not do: automationsquad.com/mcp/samsara
The AI Five โ five things worth knowing about AI and automation, weekly. Subscribe free โ
Ready to automate your fleet management? Let's go! ๐
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/samsara-mcp)<a href="https://allmcps.com/mcp/samsara-mcp"><img src="https://allmcps.com/api/badge/samsara-mcp?style=directory" alt="Samsara MCP on AllMCPs" /></a>