Bring Toll Calculation
to Pydantic AI
Create your Vinkius account to connect TollGuru to Pydantic AI 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 Pydantic AI?
Pydantic AI validates every TollGuru tool response against typed schemas, catching data inconsistencies at build time. Connect 3 tools through Vinkius and switch between OpenAI, Anthropic, or Gemini without changing your integration code. full type safety, structured output guarantees, and dependency injection for testable agents.
- —
Full type safety: every MCP tool response is validated against Pydantic models, catching data inconsistencies before they reach your application
- —
Model-agnostic architecture. switch between OpenAI, Anthropic, or Gemini without changing your TollGuru integration code
- —
Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors
- —
Dependency injection system cleanly separates your TollGuru connection logic from agent behavior for testable, maintainable code
TollGuru in Pydantic AI
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 Pydantic AI 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 Pydantic AI
Every request between Pydantic AI 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 Pydantic AI discover MCP tools?
Create an MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.
Does Pydantic AI validate MCP tool responses?
Yes. When you define result types as Pydantic models, every tool response is validated against the schema. Invalid data raises a clear error instead of silently corrupting your pipeline.
Can I switch LLM providers without changing MCP code?
Absolutely. Pydantic AI abstracts the model layer. your TollGuru MCP integration works identically with OpenAI, Anthropic, Google, or any supported provider.
MCPServerHTTP not found
Update: pip install --upgrade pydantic-ai
Explore More MCP Servers
View all →
Applied Epic
9 toolsManage insurance clients, policies, and activities with Applied Epic — track renewals and compliance via AI.

CPSC (Consumer Product Safety Commission)
1 toolsAccess official consumer product recall data — search by product, hazard, manufacturer, or date to ensure safety and compliance.

Ocoya Social Media
9 toolsManage Ocoya social profiles, posts, workspaces, and workflows.

Shoplazza
11 toolsLaunch your cross-border e-commerce store with a platform optimized for global selling, multi-currency, and localized checkout.
