# Transit Ticket Total AI Agent Connect

> Transit Ticket Total MCP handles the math for transit fare calculations. It processes passenger counts, applies specific discounts for seniors, children, and adults, and determines volume-based savings for large groups. Your AI client uses these tools to provide precise pricing audits and group cost estimates.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_6OaZcXwdiaP442av16yUcnIvyXlyOrbmclKLwQbN/ai-agent-connect
- **Tags:** transit, fare, calculation, pricing, travel-planning

## Description

You can use this MCP to automate the complex math involved in transit pricing. Instead of manually calculating individual rates and applying various discount tiers, you let your AI agent handle the logic. It works by processing passenger classifications and group sizes to output accurate totals. You can check the cost for a single passenger, find the total for a large group, or see exactly how much a volume discount reduces the final price. If you need to verify the math for a billing audit, the tool provides a full breakdown of how the final price was reached. It is built for transit authorities and travel planners who need reliable, repeatable pricing logic without the manual spreadsheet work.

## Tools

### apply_group_discount
This tool determines the specific discount amount based on the total number of passengers in a group.

### calculate_group_total
This tool calculates the final cost for a specific set of passengers.

### get_fare_breakdown
This tool provides a detailed audit of every calculation used to reach the final total.

### get_single_ticket_price
This tool returns the specific fare for one passenger based on their classification.

## Prompt Examples

**Prompt:** 
```
How much will 2 adults and 1 child pay if the base fare is 10.00?
```

**Response:** 
```
The total cost for 2 adults and 1 child with a base fare of 10.00 is 25.00.
```

**Prompt:** 
```
What is the price for a single senior passenger with a base fare of 15.00?
```

**Response:** 
```
A single senior passenger will pay 10.50.
```

**Prompt:** 
```
How much discount is applied for a group of 10 people?
```

**Response:** 
```
A group of 10 people qualifies for a significant volume discount.
```

## Capabilities

### Individual Fare Checks
Your agent looks up specific rates for adults, children, or seniors.

### Group Costing
The AI calculates the sum of multiple passengers at once.

### Volume Discounting
Your agent identifies savings available for larger passenger counts.

### Pricing Audits
The tool generates a breakdown of how a total was calculated.

### Passenger Classification
The logic applies different rates based on passenger type.

## Use Cases

### Group Tour Planning
A planner asks the AI to calculate the total cost for a group of 20 people to find the budget.

### Fare Policy Testing
A transit official checks how different base fares affect senior discounts.

### Customer Support
An agent uses the tool to give a customer an exact price for a single ticket.

### Budget Auditing
A user requests a breakdown to confirm a group discount was applied correctly.

## Benefits

- Eliminates manual math errors in fare calculations.
- Automates the application of tiered passenger discounts.
- Provides clear audit trails for pricing totals.
- Speeds up group travel cost estimation.

## How It Works

You connect the MCP to your AI client and start asking for pricing data.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide the passenger details and base fare to your AI agent.
3. The agent calls the necessary tools to run the math.
4. The agent returns the final price or discount amount to you.

## Frequently Asked Questions

**How does the MCP handle different passenger types?**
The MCP applies specific classification discounts for adults, children, and seniors to the base fare.

**Can I see how the total price was calculated?**
Yes, you can use the get_fare_breakdown tool to see a full audit of the final price.

**Does this MCP support group discounts?**
Yes, it includes tools to calculate group totals and apply volume-based savings.

**What clients can I use with this MCP?**
You can use this with any MCP-compatible client like Claude, Cursor, Windsurf, or VS Code.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you, so it is ready to use immediately.

**How do I calculate the total for a group?**
You can use the `calculate_group_total` tool by providing the passenger counts for each type and the base fare.

**Can I see a detailed breakdown of the costs?**
Yes, the `get_fare_breakdown` tool provides a detailed audit including individual category totals and applied group discounts.

**What passenger types are supported?**
The system supports adult, child, and senior classifications for fare calculation.
