# Carpool Emissions & Cost Splitter AI Agent Connect

> Carpool Emissions & Cost Splitter MCP handles the math for shared rides. It calculates how much each person owes in cash and how much CO2 they are responsible for based on distance, fuel use, and specific pickup detours. Your AI client uses this data to settle accounts and track environmental impact without manual spreadsheets.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_w8lsTGdF1BuMbahpREnaeh89graQrMfSEiLBjnpQ/ai-agent-connect
- **Tags:** carpool, emissions, carbon-footprint, cost-splitting, logistics

## Description

You can stop arguing over who owes what after a shared ride. This MCP gives your AI client the logic needed to split carpool expenses and emissions based on the actual distance each person travels. If one rider requires a detour that adds five miles to the trip, the math reflects that specific impact. You can use it to determine individual carbon footprints or to divide fuel costs fairly among a group. It works by analyzing route distance, fuel consumption, and the specific pickup requirements of every passenger. Instead of guessing, you get precise numbers for every rider in the vehicle.

## Tools

### calculate_emissions_distribution
This tool determines the specific carbon footprint assigned to each rider.

### get_trip_summary
This tool provides a high level overview of the trip's environmental efficiency.

### calculate_detour_impact
This tool calculates the extra distance added to a trip because of a specific rider's pickup or drop-off.

### calculate_cost_split
This tool divides the total trip expenses among the passengers.

## Prompt Examples

**Prompt:** 
```
How much CO2 is each rider responsible for if the total emissions are 5.0kg, rider A traveled 10km, and rider B traveled 15km?
```

**Response:** 
```
Rider A is responsible for 2.0kg of CO2 and Rider B is responsible for 3.0kg of CO2.
```

**Prompt:** 
```
Calculate the cost split for a $20 trip where Rider A traveled 5km and Rider B traveled 15km.
```

**Response:** 
```
Rider A's allocated cost is $5.00 and Rider B's allocated cost is $15.00.
```

**Prompt:** 
```
What was the environmental impact of a trip with 4 riders, 40km total distance, and 8.0kg total emissions?
```

**Response:** 
```
The per-person emissions were 2.0kg, and you saved 6.0kg of CO2 compared to single-occupancy trips.
```

## Capabilities

### Carbon Accounting
Your agent calculates individual CO2 responsibility for every passenger.

### Expense Division
Your AI client splits fuel and trip costs based on distance traveled.

### Detour Analysis
The MCP quantifies the extra mileage caused by specific pickup requests.

### Efficiency Reporting
Your agent generates summaries of the trip's environmental impact.

## Use Cases

### Daily Commuter Carpools
Split fuel costs between coworkers based on how far each person lives from the office.

### Event Shuttle Logistics
Calculate the total CO2 impact of a shuttle service used for a large event.

### Ride-Sharing Groups
Determine the cost penalty for riders who require pickups far off the main route.

### Corporate Sustainability Tracking
Use trip summaries to quantify carbon savings from employee carpooling initiatives.

## Benefits

- Removes manual math for splitting fuel costs.
- Accounts for extra mileage caused by rider detours.
- Provides clear carbon footprint data per person.
- Automates trip efficiency reporting.

## How It Works

Setting up this MCP takes seconds, and once connected, your AI client handles all the math.

1. Connect the MCP to your AI client through Vinkius.
2. Provide trip details like total distance, fuel use, and rider locations.
3. Ask your agent to calculate costs or emissions.
4. Receive precise, itemized breakdowns for every rider.

## Frequently Asked Questions

**How does this MCP handle detours?**
The calculate_detour_impact tool calculates the specific extra distance added to a trip due to a rider's pickup or drop-off requirements.

**Can I use this with Claude?**
Yes, you can connect this MCP to any MCP-compatible client like Claude, Cursor, or Windsurf.

**Does it calculate both money and carbon?**
Yes, it has specific tools to calculate both financial cost splits and carbon emission distributions.

**How are costs divided?**
Costs are divided based on the distance and specific impact of each rider's journey.

**Where is the data hosted?**
Vinkius hosts the MCP, so you don't need to manage any local setup or credentials.

**How are emissions distributed among riders?**
Emissions are distributed proportionally based on the distance each rider travels, including any detours required for their pickup or drop-off, relative to the total distance.

**Can I calculate the extra distance caused by a detour?**
Yes, you can use the `calculate_detour_impact` tool to find the specific distance penalty added to the primary route for each rider.

**Does this tool account for the number of people in the car?**
Yes, occupancy is a key factor in calculating the `get_trip_summary` and determining the proportional distribution of emissions.
