Bring Toll Calculation
to Vercel AI SDK
Create your Vinkius account to connect TollGuru to Vercel AI SDK and start using all 3 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the TollGuru MCP Server?
Connect your TollGuru toll calculation API to any AI agent and take full control of trip cost estimation, toll plaza tracking, route optimization, and fleet expense management across 50+ countries through natural conversation.
What you can do
- Toll Calculation — Calculate toll costs for any route with detailed plaza-by-plaza breakdown including tag and cash prices
- Fuel Cost Estimation — Get fuel cost estimates based on vehicle efficiency and current fuel prices along the route
- Driver Cost Analysis — Calculate driver costs based on hourly wage or time value for complete trip budgeting
- Multi-Stop Routes — Calculate tolls for routes with multiple waypoints and optimize waypoint order to minimize tolls
- Route Optimization — Find the most cost-effective route between origin and destination with toll-aware routing
- Polyline Toll Calculation — Calculate tolls for existing routes from Google Maps, Here Maps, or Mapbox polylines
- Vehicle-Specific Pricing — Get accurate toll costs for any vehicle type from 2-axle cars to 9-axle commercial trucks
- Multi-Currency Support — View costs in USD, CAD, MXN, EUR, GBP, INR, AUD, and 12+ other currencies
- Payment Method Breakdown — Compare toll costs by payment method (tag, cash, prepaid card, license plate)
- Global Coverage — Calculate tolls across US, Canada, Mexico, Europe, Australia, India, and 50+ countries
How it works
- Subscribe to this server
- Enter your TollGuru API key (free tier: 150 transactions/day with corporate email)
- Start calculating toll costs from Claude, Cursor, or any MCP-compatible client
No more manually checking toll authority websites or estimating trip costs. Your AI acts as a dedicated toll analyst and trip budgeting assistant.
Who is this for?
- Fleet Managers — calculate toll costs for delivery routes, optimize waypoint order, and manage trip expenses
- Road Trippers — estimate total trip costs including tolls, fuel, and driver time before heading out
- Logistics Planners — compare toll costs across route options and select the most cost-effective paths
- Travel Budgeters — get comprehensive cost breakdowns for any road trip with toll, fuel, and time costs
Built-in capabilities (3)
This is useful when you already have a route from a mapping service and need toll calculations without re-routing. Returns the same detailed toll, fuel, and cost information as the route calculation. Supports all vehicle types, currencies, and payment methods. Essential for integrating with existing mapping applications, post-trip toll reconciliation, and GPS track-based toll analysis. AI agents should use this when users have an existing route polyline from Google Maps, Here Maps, or another service and need toll costs for that specific route. Calculate tolls for a route defined by an encoded polyline from any mapping service
Returns detailed breakdown of tolls at each plaza along the complete route, fuel costs, and optional driver costs. Supports waypoint optimization to minimize total toll costs. Essential for delivery route planning, multi-stop trip budgeting, and logistics optimization. AI agents should use this when users need toll calculations for routes with multiple stops, such as "calculate tolls from Chicago to Detroit with stops in Toledo and Ann Arbor" or "what are the toll costs for my delivery route with 5 waypoints". Calculate tolls for a multi-stop route with multiple waypoints
Returns detailed toll plaza information including plaza names, tag and cash costs, payment methods accepted, and route optimization suggestions. Also calculates fuel costs based on vehicle efficiency and current fuel prices, and optional driver costs based on time value. Supports all vehicle types including 2-axle cars, EVs, motorcycles, and commercial trucks (2-9+ axles). You can request route optimization to minimize toll costs, specify currency output (USD, CAD, MXN, EUR, GBP, INR, AUD, etc.), and choose mapping service (Here Maps, Google Maps, or TollGuru internal). Essential for fleet management, trip cost estimation, route planning, toll reconciliation, and travel budgeting. AI agents should use this when users ask "what are the tolls from New York to Boston", "calculate toll costs for my truck from LA to San Francisco", or need comprehensive trip cost breakdowns including tolls, fuel, and driver time. Calculate tolls and total trip costs for a route with origin, destination, and optional waypoints
Why Vercel AI SDK?
The Vercel AI SDK gives every TollGuru tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 3 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
- —
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
- —
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same TollGuru integration everywhere
- —
Built-in streaming UI primitives let you display TollGuru tool results progressively in React, Svelte, or Vue components
- —
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
TollGuru in Vercel AI SDK
Why run TollGuru with Vinkius?
The TollGuru connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 3 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect TollGuru using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
TollGuru and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect TollGuru to Vercel AI SDK through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
TollGuru for Vercel AI SDK
Every request between Vercel AI SDK and TollGuru is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
Can my AI calculate the total toll costs for a road trip from New York to Boston?
Yes! Use the calculate_toll_route tool with origin="New York, NY" and destination="Boston, MA". You can specify your vehicle type (2AxlesAuto for regular cars, 2AxlesEV for electric vehicles, or truck types like 5AxlesTruck for commercial vehicles). The API returns detailed toll plaza names, tag and cash costs for each plaza, total toll cost, fuel cost estimate, and optional driver cost. You can also request costs in different currencies and compare payment methods (tag vs cash vs prepaid card).
How do I get toll costs for a route I already have from Google Maps?
Use the calculate_toll_from_polyline tool with the encoded polyline from Google Maps. Set source="google" and paste the polyline string. This calculates tolls for your exact route without re-routing. You can also specify vehicle type and currency. This is perfect when you have an existing route and need toll costs for trip budgeting or fleet expense tracking.
Can I optimize a multi-stop delivery route to minimize toll costs?
Absolutely! Use the calculate_toll_multi_stop tool with your origin, destination, and comma-separated waypoints. Set optimize_waypoints="true" to let TollGuru find the most cost-effective waypoint order. The API returns the optimized route with total toll costs, fuel costs, and detailed plaza-by-plaza breakdown. This is essential for logistics planning, delivery route optimization, and fleet cost management.
How does the Vercel AI SDK connect to MCP servers?
Import createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.
Can I use MCP tools in Edge Functions?
Yes. The AI SDK is fully edge-compatible. MCP connections work on Vercel Edge Functions, Cloudflare Workers, and similar runtimes.
Does it support streaming tool results?
Yes. The SDK provides streaming primitives like useChat and streamText that handle tool calls and display results progressively in the UI.
createMCPClient is not a function
Install: npm install @ai-sdk/mcp
Explore More MCP Servers
View all →
Cohere (AI Platform)
7 toolsPower enterprise AI via Cohere — generate text, perform chat completions, reorder documents, and manage embeddings directly from any AI agent.

UKG Ready
4 toolsManage employee lifecycle, HCM, payroll, and time via UKG Ready.

Apollo.io
12 toolsProspect smarter with verified contact data, enrich leads in real time, and build targeted sales sequences that convert.

ConnectWise
9 toolsEquip your AI to seamlessly manage ConnectWise PSA tickets, clients, and technical documentation via text.
