# Ride-Hail Surge Estimator AI Agent Connect

> Predict ride-hailing surge multipliers and total fares based on weather and peak hours.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_oIGYIHT8jjHe1RAqSdh1em51cXJETFLw5EAUAkz2/ai-agent-connect
- **Tags:** ride-hailing, surge-pricing, fare-estimation, weather-impact, logistics

## Description

This MCP server provides deterministic surge multiplier and fare estimation for ride-hailing services. It calculates price adjustments by analyzing rain intensity, peak commuting windows, and CBD location status. Use `estimate_surge_multiplier` to get a full breakdown of factors and the final estimated fare, or `get_peak_status` to check if a specific time falls within high-demand periods.

## Tools

### get_peak_status


### estimate_surge_multiplier


### validate_environmental_inputs


## Prompt Examples

**Prompt:** 
```
What will the total fare be for a 15 SGD base fare if it is raining at 10mm/hr at 18:30 in the CBD?
```

**Response:** 
```
The rain factor is 0.4, the peak factor is 1.2, and the CBD factor is 1.1. The final multiplier is capped at 2.5, resulting in an estimated total fare of 37.5 SGD.
```

**Prompt:** 
```
Is 08:15 considered a peak hour?
```

**Response:** 
```
Yes, 08:15 is within the morning peak window.
```

**Prompt:** 
```
Calculate the surge for a 10 SGD fare with no rain at 12:00 in a non-CBD area.
```

**Response:** 
```
The final multiplier is 1.0, and the estimated total fare is 10.0 SGD.
```

## Frequently Asked Questions

**How is the surge multiplier calculated?**
The multiplier starts at 1.0 and increases based on rain intensity, peak hour timing, and whether the location is in a CBD during peak hours, up to a maximum cap of 2.5.

**Can I check if it is currently peak hour?**
Yes, you can use the `get_peak_status` tool to determine if a specific time falls within the high-demand morning or evening windows.

**Does rain affect the price?**
Yes, the `estimate_surge_multiplier` tool adds a factor of 0.2 for every 5mm/hr of rainfall intensity.
