2,500+ MCP servers ready to use
Vinkius

Road511 Trucking MCP Server for Mastra AI 10 tools — connect in under 2 minutes

Built by Vinkius GDPR 10 Tools SDK

Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Road511 Trucking through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.

Vinkius supports streamable HTTP and SSE.

typescript
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";

async function main() {
  // Your Vinkius token. get it at cloud.vinkius.com
  const mcpClient = await createMCPClient({
    servers: {
      "road511-trucking": {
        url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
      },
    },
  });

  const tools = await mcpClient.getTools();
  const agent = new Agent({
    name: "Road511 Trucking Agent",
    instructions:
      "You help users interact with Road511 Trucking " +
      "using 10 tools.",
    model: openai("gpt-4o"),
    tools,
  });

  const result = await agent.generate(
    "What can I do with Road511 Trucking?"
  );
  console.log(result.text);
}

main();
Road511 Trucking
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

About Road511 Trucking MCP Server

Connect your Road511 Trucking API to any AI agent and take full control of North American truck route planning, bridge clearance verification, weigh station awareness, truck stop discovery, and weight restriction monitoring through natural conversation.

Mastra's agent abstraction provides a clean separation between LLM logic and Road511 Trucking tool infrastructure. Connect 10 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

What you can do

  • STAA Truck Routes — Access 479,000+ STAA-designated truck route segments and NHFN freight corridors
  • Bridge Clearances — Query 621,000+ National Bridge Inventory records for vertical clearance heights
  • Weight Restrictions — Monitor seasonal and permanent weight restrictions across all jurisdictions
  • Truck Stops — Find truck stops and travel plazas with fuel, amenities, and parking information
  • Truck Parking — Locate truck parking facilities with availability data for HOS compliance planning
  • Weigh Stations — Track weigh station locations, hours, and bypass program participation
  • Rest Areas — Find rest areas and driver facilities along major highway corridors
  • Truck Incidents — Monitor traffic incidents, construction, and closures affecting truck routes
  • System Health — Check API health and data source status across 65 jurisdictions

The Road511 Trucking MCP Server exposes 10 tools through the Vinkius. Connect it to Mastra AI in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

How to Connect Road511 Trucking to Mastra AI via MCP

Follow these steps to integrate the Road511 Trucking MCP Server with Mastra AI.

01

Install dependencies

Run npm install @mastra/core @mastra/mcp @ai-sdk/openai

02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token

03

Run the agent

Save to agent.ts and run with npx tsx agent.ts

04

Explore tools

Mastra discovers 10 tools from Road511 Trucking via MCP

Why Use Mastra AI with the Road511 Trucking MCP Server

Mastra AI provides unique advantages when paired with Road511 Trucking through the Model Context Protocol.

01

Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Road511 Trucking without touching business code

02

Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

03

TypeScript-native: full type inference for every Road511 Trucking tool response with IDE autocomplete and compile-time checks

04

One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

Road511 Trucking + Mastra AI Use Cases

Practical scenarios where Mastra AI combined with the Road511 Trucking MCP Server delivers measurable value.

01

Automated workflows: build multi-step agents that query Road511 Trucking, process results, and trigger downstream actions in a typed pipeline

02

SaaS integrations: embed Road511 Trucking as a first-class tool in your product's AI features with Mastra's clean agent API

03

Background jobs: schedule Mastra agents to query Road511 Trucking on a cron and store results in your database automatically

04

Multi-agent systems: create specialist agents that collaborate using Road511 Trucking tools alongside other MCP servers

Road511 Trucking MCP Tools for Mastra AI (10)

These 10 tools become available when you connect Road511 Trucking to Mastra AI via MCP:

01

get_bridge_clearances

Returns bridge location coordinates, clearance height in feet/meters, bridge identifier, road name, and jurisdiction. Supports filtering by jurisdiction, bounding box, and radius search. Essential for truck height compliance planning, low bridge avoidance, oversized load routing, and fleet safety management. AI agents should use this when users ask "find low bridges under 14 feet on I-95", "what bridge clearances exist in this area", or need vertical clearance data for truck route planning. Get bridge clearance heights from the National Bridge Inventory for truck route planning

02

get_rest_areas

Returns facility names, locations, available amenities (restrooms, vending, picnic areas, pet areas, RV/truck parking), operating hours, and jurisdiction. Supports filtering by jurisdiction, bounding box, and radius search. Essential for driver rest planning, HOS compliance stops, facility identification along routes, and driver comfort services. AI agents should reference this when users ask "show rest areas along I-90 in Montana", "find rest stops with truck parking near this point", or need rest area data for driver scheduling and route planning. Get rest areas and driver facilities along highways across US and Canada

03

get_truck_incidents

Returns incident type, severity, affected roads, start and end times, descriptions, detour information, and geometry. Supports filtering by jurisdiction, road name, severity, status, and geographic area. Essential for route disruption awareness, detour planning, delivery time estimation, and freight safety. AI agents should use this when users ask "show incidents affecting truck routes in Illinois", "is there construction on I-80 in Pennsylvania", or need current traffic incident data for truck route planning. Get traffic incidents affecting truck routes including closures, construction, and advisories

04

get_truck_parking

Returns parking facility names, locations, capacity information, real-time availability (where available), amenity details, and jurisdiction. Supports filtering by jurisdiction, bounding box, and radius search. Essential for Hours of Service (HOS) compliance planning, rest stop scheduling, parking shortage awareness, and safe stopping location identification. AI agents should reference this when users ask "where can I park my truck near Chicago", "show truck parking availability along I-70", or need parking location data for HOS-compliant route planning. Get truck parking availability and locations across US and Canada

05

get_truck_routes

Returns route geometry, jurisdiction, route designation, and descriptive information. Supports filtering by jurisdiction (state/province), bounding box, and radius search from coordinates. Essential for truck route planning, freight corridor analysis, compliance verification, and logistics routing. AI agents should use this when users ask "show me STAA truck routes in California", "find NHFN corridors in Texas", or need official truck-designated highway data for route planning and compliance. Get STAA truck routes and NHFN freight corridors across US and Canada

06

get_truck_stops

Returns stop names, addresses, coordinates, available services (fuel, food, showers, repair), and operating hours. Supports filtering by jurisdiction, bounding box, and radius search. Essential for trip planning, fuel stop scheduling, driver rest planning, and freight corridor services identification. AI agents should use this when users ask "find truck stops along I-80 in Iowa", "show travel plazas within 50 miles of this point", or need truck stop locations for route planning and driver scheduling. Get truck stops and travel plazas across US and Canada for trip planning

07

get_trucking_health

Returns API availability, response times, data source connectivity per jurisdiction, last update timestamps, and system alerts. Essential for monitoring API reliability, verifying data freshness, troubleshooting integration issues, and ensuring production system uptime. AI agents should use this as a diagnostic tool when users report missing trucking data, when debugging integration issues, or as a periodic health check before making complex trucking data queries. Check API health and trucking data source status

08

get_trucking_summary

Returns counts of truck routes, bridge clearances, weigh stations, truck stops, parking facilities, active incidents, and data source status. Essential for data coverage awareness, system health monitoring, and understanding data availability by region. AI agents should use this when users ask "how many truck stops are in the system", "is the Texas weigh station data current", or need a system-wide overview of trucking data quality and coverage. Get summary statistics and data source health for trucking data across all jurisdictions

09

get_weigh_stations

Returns station names, locations, operating hours, bypass program participation (PrePass, Drivewyze, NORPASS), open/closed status, and jurisdiction. Supports filtering by jurisdiction, bounding box, and radius search. Essential for compliance planning, bypass program routing, weigh stop scheduling, and weight inspection awareness. AI agents should use this when users ask "show weigh stations on I-5 in Oregon", "are there open weigh stations near this location", or need weigh station data for route planning and compliance management. Get weigh station locations and status across US and Canada

10

get_weight_restrictions

Returns restriction details including affected roads, weight limits, effective dates, restriction type (seasonal, permanent, temporary), severity, and jurisdiction. Supports filtering by jurisdiction, road name, severity, and geographic area. Essential for weight compliance verification, seasonal route planning, load planning, and avoiding weight violation fines. AI agents should reference this when users ask "are there seasonal weight restrictions in Minnesota right now", "show weight limits on this route", or need current weight restriction data for freight planning. Get truck weight restrictions including seasonal restrictions across US and Canada

Example Prompts for Road511 Trucking in Mastra AI

Ready-to-use prompts you can give your Mastra AI agent to start working with Road511 Trucking immediately.

01

"Show me all weigh stations on I-5 in Oregon and their current status."

02

"Find truck stops with parking within 30 miles of Des Moines, Iowa."

03

"Show me STAA truck routes and any active incidents affecting trucking in Illinois."

Troubleshooting Road511 Trucking MCP Server with Mastra AI

Common issues when connecting Road511 Trucking to Mastra AI through the Vinkius, and how to resolve them.

01

createMCPClient not exported

Install: npm install @mastra/mcp

Road511 Trucking + Mastra AI FAQ

Common questions about integrating Road511 Trucking MCP Server with Mastra AI.

01

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
02

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
03

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

Connect Road511 Trucking to Mastra AI

Get your token, paste the configuration, and start using 10 tools in under 2 minutes. No API key management needed.