Summary
Let your AI read your Motive fleet: where every truck and driver is, Hours of Service clocks and violations, inspection reports, safety events, fault codes, IFTA mileage and fuel purchases. Read-only, with a company API key.
Guided setup
Connect Motive to Meta Muse in 2 minutes
Start a free trial on AnythingMCP Cloud, connect Motive in the guided setup, then add your MCP URL to Meta Muse. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
Try asking
Example prompts for Motive
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Motive, paste your credentials, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
Motive + Meta Muse
Let your AI read your Motive fleet: where every truck and driver is, Hours of Service clocks and violations, inspection reports, safety events, fault codes, IFTA mileage and fuel purchases. Read-only, with a company API key.
Prerequisites
See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:
MOTIVE_API_KEY
Step 1 — Get credentials
Setting up takes about 3 minutes. You need an admin role in Motive (formerly KeepTruckin) to create a company API key in the Motive dashboard.
- In the Motive dashboard open Admin → Developers → API Access and create a company API key. Give it read access and the scopes for the data the AI should see: vehicles, locations, users, HOS, IFTA, fuel, inspections, safety events, fault codes, assets and groups. A key can also be limited to some groups; the AI then sees only those.
- Copy the key from the one-time dialog, because the full key is shown only once, and paste it into
MOTIVE_API_KEY: the key alone, without spaces or a header name such asX-Api-Key. AnythingMCP sends it as theX-Api-Keyheader. - Install the connector and run
motive_list_vehiclesto check the connection.
Cloud and self-hosted work the same way: the API key is the only setting.
Keys expire and cannot be edited: a key expires on the schedule chosen when it was created, and Motive warns admins a week before. Its scopes cannot be changed later: to reach more data, create a new key and paste it into MOTIVE_API_KEY.
Ids: vehicles, users and assets have numeric Motive ids. The unit number a dispatcher uses ("Truck 12") is the vehicle number; motive_lookup_vehicle turns it into an id. Drivers are users with the role driver.
Dates, time zones and units: date filters are YYYY-MM-DD, and most reports default to the last 7 days; updated_after takes an ISO 8601 timestamp. Most tools let the AI choose the time zone of the timestamps (sent as X-Time-Zone, for example America/New_York) and metric or imperial units (sent as X-Metric-Units: kilometres and litres, or miles and gallons). Name the time zone and the units in your prompt when they matter. Hours of Service durations in motive_list_available_time are in seconds.
Paging: lists return 25 records per page by default and at most 100 (per_page), and page with page_no. Each answer carries pagination with per_page, page_no and total; the AI asks for the next page while there are more records than it has seen.
Location history: motive_get_vehicle_location_history reads one vehicle over at most 3 months; keep the range short for a readable answer. Motive accepts at most 10 simultaneous requests on this endpoint.
Some data needs hardware or a plan: AI dashcam safety events (cell phone use, seat belt, tailgating and so on), Vehicle Gateway locations (motive_list_vehicle_gateway_locations; vehicles on other ELDs answer through motive_list_vehicle_locations) and the locations of trailers with an asset gateway.
EU accounts are not covered: the connector calls https://api.gomotive.com; accounts on Motive's EU platform use a different host.
Common errors: a 401 means Motive refused the key: it was not copied in full, has expired or was revoked, or was pasted with the X-Api-Key header name. A 403 means the key is valid but lacks the scope for that data: create a new key with that scope. A 404 means there is no record with that id: use the numeric id, not the vehicle number or the driver's name. When Motive rate limits the key, wait a minute, ask for fewer pages and try again.
What it reads: vehicles with VIN, make, model, plate, fuel type, ELD device and driver; the current location of every vehicle and driver, and the route of a vehicle over a period; drivers, fleet users and admins; Hours of Service clocks (who can still drive and for how long), daily logs and violations; IFTA trips and mileage per state or province; fuel purchases; inspection reports (DVIRs) with their defects; safety events with coaching status and media links; engine fault codes; driving periods, including personal conveyance, yard moves and unidentified driving; trailers and other assets with their last location; and the groups the fleet is split into.
Read-only: every tool only reads, and none is switched off at install. Nothing is changed in Motive: creating or editing vehicles, users, groups, geofences, fuel purchases or inspection reports, messaging drivers, dispatches and engine immobilizer commands are left out.
Step 2 — Install the adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Add the connector in Muse
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
Muse adds remote MCP servers as custom connectors and signs in to them with OAuth.
- In Muse, open Settings → Connectors and choose Add custom connector.
- Paste the MCP server URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID. - Muse opens the AnythingMCP sign-in page: sign in and approve access.
- In a chat, ask Muse for something that needs the
Motivetools.
You can also set it up from a chat, on the web, in the iOS and Android apps or in WhatsApp. Send Muse this message:
Create a Custom Connector for a new remote MCP server, then connect to it:
Name: AnythingMCP
Transport: remote streamable HTTP
URL: https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID
Auth: OAuth
Self-hosting? Use your instance's public HTTPS address instead of https://cloud.anythingmcp.com. Muse connects from Meta's cloud, so localhost does not work.
Available tools
| Tool | What it does |
|---|---|
motive_list_vehicles | List the company vehicles in Motive: id, number (the fleet unit name), status, VIN, make, model, year, license plate, fuel type, IFTA flag… |
motive_get_vehicle | Read one vehicle by its Motive id: number, status, VIN, make, model, year, plate, fuel type, groups, ELD device and assigned driver |
motive_lookup_vehicle | Find a vehicle by its fleet unit number (the "number" shown in the Motive dashboard, for example "Truck 12") and return its full record… |
motive_list_vehicle_locations | Current location of every vehicle (v2): for each vehicle its id, number, VIN and current_location with latitude, longitude, a place… |
motive_list_vehicle_gateway_locations | Current location of vehicles fitted with the Motive Vehicle Gateway (v3), with richer telemetry than v2 and, on request, the auxiliary… |
motive_get_vehicle_location_history | Location breadcrumbs of one vehicle between two dates (v2): each point with latitude, longitude, description, located_at, speed, bearing… |
motive_list_driver_locations | Drivers with their last known location and the vehicle they are in: user id, name, current_location (lat, lon, description, located_at) and… |
motive_list_users | List the users of the Motive account (drivers, fleet users and admins): id, first and last name, email, phone, role, status, duty status… |
motive_get_user | Read one user (driver or fleet user) by Motive id: name, contact details, role, status, duty status, licence, cycle and exceptions settings |
motive_list_available_time | Hours of Service clocks per driver: current duty status and the time still available on the drive, shift, cycle and break clocks (in… |
motive_list_hos_logs | Daily Hours of Service logs (records of duty status) of the drivers: per driver and day the duty status events with start time and… |
motive_list_hos_violations | Hours of Service violations of the drivers, for example exceeding the 11-hour drive or 14-hour shift limit or a missed 30-minute break… |
motive_list_ifta_trips | IFTA trip report: distance driven per vehicle and jurisdiction (state or province) with dates, start and end odometer and location |
motive_get_ifta_mileage_summary | IFTA mileage summary: total distance per vehicle and jurisdiction over a period (default the last 7 days), the figure that goes on a… |
motive_list_fuel_purchases | Fuel purchases recorded in Motive (entered by drivers, imported or from a fuel card integration): date, vehicle, driver, jurisdiction, fuel… |
motive_list_inspection_reports | Driver vehicle inspection reports (DVIRs, v2) for vehicles and trailers: date, driver, vehicle or asset, inspection type, location… |
motive_list_driver_performance_events | Safety events detected by Motive (v2): harsh acceleration, braking and cornering, crashes, and with AI dashcams events such as cell phone… |
motive_list_fault_codes | Engine fault codes (diagnostic trouble codes) reported by the vehicles: code, label, description, source, status (open or closed), type… |
motive_list_driving_periods | Driving periods of the vehicles: each stretch of driving with start and end time, duration, distance, origin and destination, vehicle and… |
motive_list_assets | List the non-powered assets (trailers, containers, equipment): id, name, type, status, make, model, year, VIN, plate, groups and the asset… |
motive_list_asset_locations | Last known location of the assets that carry a Motive asset gateway: asset id and name, latitude, longitude, place description, located_at… |
motive_list_groups | List the groups of the account (the way the fleet is split into terminals, regions or teams): id, name, parent group, status and member… |
Example prompts
- "Where is Truck 12 right now, and who is driving it?"
- "Which drivers can still drive today, and for how long?"
- "Which drivers had hard braking or cell phone events last week?"
- "Which vehicles have inspection reports with defects or open fault codes?"
- "How many miles did each truck drive per state last quarter for the IFTA return?"
FAQ
Where is Muse available? Meta currently offers Muse in the US and Canada, on the web, in the iOS and Android apps and in WhatsApp.
Does Meta review this connector? No. Meta doesn't review custom connectors. Muse sees only the tools you switched on for this MCP server in AnythingMCP, and you can disconnect it anytime under Settings → Connectors.
Next steps
Was this guide helpful?