# EV Fleet Charging Optimization AI Agent Connect

> EV Fleet Charging Optimization MCP provides a deterministic engine for managing electric vehicle charging. It calculates schedules that respect your site's physical power constraints and electricity tariff structures. You can generate load profiles, diagnose why vehicles missed their target charge, and compare current schedules against theoretical minimum costs.

## Overview
- **Category:** logistics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_JnAzeJsmIt2O6MoEUnq2pppql11Xw8ThWW85xYnk/ai-agent-connect
- **Tags:** ev, fleet, charging, scheduling, power-management, optimization

## Description

Managing an electric vehicle fleet means juggling conflicting demands. You have to ensure every vehicle hits its target state of charge by its departure time, but you also have to avoid tripping breakers or hitting massive peak demand charges. This MCP handles that math for you. It builds schedules based on your specific site constraints and priority rules, such as earliest departure or first arrival. Instead of guessing if your chargers will overload your local transformer, you can run your proposed plan through the engine to see exactly how it hits your power limits. It also lets you look under the hood to see why a specific vehicle didn't get the energy it needed, or how much money you're leaving on the table by not using a more aggressive cost-optimization strategy. It turns messy fleet requirements into a predictable, mathematically sound charging plan.

## Tools

### analyze_unmet_energy_reasons
This tool identifies why specific vehicles failed to reach their target state of charge. It pinpoints the exact constraints that prevented a successful charge.

### calculate_charging_schedule
This tool generates a complete, deterministic charging schedule for every vehicle in your fleet. It produces full reports including site load profiles and total energy costs.

### estimate_cost_optimization_impact
This tool compares your current scheduling logic against a theoretical minimum cost model. It shows you the potential savings from a more efficient approach.

### validate_site_capacity_compliance
This tool checks if a proposed set of charging activities violates your site's physical power limits. It ensures your plan won't exceed available capacity.

## Prompt Examples

**Prompt:** 
```
Generate a charging schedule for a fleet of 3 vehicles with a site limit of 50kW and an earliest departure priority rule.
```

**Response:** 
```
The schedule is ready. Vehicle A charges from 08:00 to 10:00 at 20kW, Vehicle B from 09:00 to 11:00 at 20kW, and Vehicle C from 10:00 to 12:00 at 10kW. Total cost is $45.50 and peak demand is 40kW.
```

**Prompt:** 
```
Check if my proposed charging load profile violates a 100kW site limit.
```

**Response:** 
```
The profile is compliant. The maximum recorded load is 85kW, which stays under your 100kW limit.
```

**Prompt:** 
```
How much could I save if I optimized my charging schedule for lower electricity costs?
```

**Response:** 
```
Switching to a least-cost optimization strategy could save you $120.00 compared to your current priority-based schedule.
```

## Capabilities

### Deterministic Scheduling
Your agent uses this to create repeatable, predictable charging timelines for all vehicles.

### Power Limit Validation
Your agent checks proposed plans against physical site constraints to prevent overloads.

### Cost Comparison
Your agent calculates the difference between current schedules and the lowest possible energy costs.

### Failure Diagnosis
Your agent investigates why specific vehicles did not meet their required energy levels.

### Load Profiling
Your agent generates detailed reports on peak demand and total energy consumption.

## Use Cases

### Daily Fleet Planning
Create a daily charging plan that ensures all delivery vans are ready by morning without exceeding the depot's power capacity.

### Cost Reduction Audits
Compare your existing charging rules against optimized models to find specific areas for energy savings.

### Infrastructure Constraint Testing
Test if adding more vehicles to your fleet will cause your current charging setup to exceed its power limit.

### Troubleshooting Charging Failures
Identify if a vehicle missed its charge due to site power limits or insufficient charging time.

## Benefits

- Prevents site power overloads by validating every schedule against physical limits.
- Reduces energy spend by comparing current logic to theoretical minimum costs.
- Ensures vehicle readiness by calculating schedules based on departure times.
- Provides clear reasons for any failed charging attempts.

## How It Works

You connect your AI client to the Vinkius-hosted MCP to start running fleet calculations immediately.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your fleet requirements and site power limits to your agent.
3. Your agent runs the optimization engine to generate a schedule.
4. Review the resulting load profiles, costs, and compliance reports.

## Frequently Asked Questions

**How does this MCP handle site power limits?**
The engine calculates schedules that respect your specific site-wide power constraints. You can also use a specific tool to verify if a proposed plan will violate those limits.

**Can I set priorities for which vehicles charge first?**
Yes. The engine supports priority rules like earliest departure or first arrival to determine the charging order.

**What happens if a vehicle doesn't reach its target charge?**
You can use the analysis tool to find out exactly why a vehicle failed to reach its target state of charge.

**Does this work with my existing AI tools?**
Yes. This MCP works with any MCP-compatible client like Claude, Cursor, or Windsurf.

**How do I know if I am overspending on electricity?**
You can use the tool that compares your current scheduling logic against a theoretical least-cost schedule to see the potential savings.

**How does the engine handle power contention between vehicles?**
When multiple vehicles require power simultaneously and the site demand limit is reached, the engine uses the specified `priorityRule` (such as earliest departure) to decide which vehicle receives energy first.

**Can I identify why a vehicle didn't reach its target charge?**
Yes, you can use the `analyze_unmet_energy_reasons` tool to determine if a vehicle's failure to reach its target SoC was due to insufficient time or site capacity contention.

**Does this tool control physical chargers?**
No, this is a deterministic scheduling engine. It generates optimized timelines and reports, but it does not control hardware or chargers automatically.
