# Crew Duty Time Scheduler AI Agent Connect

> Crew Duty Time Scheduler MCP handles the heavy lifting of aviation scheduling. It maps qualified personnel to flight segments while enforcing strict duty limits and mandatory rest requirements. Your AI client uses this to generate rosters, audit existing schedules for violations, and check if crew members are legally available for new assignments.

## Overview
- **Category:** scheduling
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_rA5J5vXrmymdXts0qJCXvc5MHlzJHmTvnpTkePml/ai-agent-connect
- **Tags:** crew, roster, aviation, scheduling, compliance, logistics

## Description

Managing flight crews requires balancing complex logistics with rigid safety regulations. This MCP acts as a specialized scheduling engine for your aviation operations. Instead of manually checking duty hours against rest requirements, you let your AI agent handle the math. You can assign crew members to specific flight segments or positioning tasks while the engine ensures every assignment stays within your defined duty limits. If you have an existing roster, you can run a deep audit to find compliance gaps before they become operational issues. It also helps you manage workload by calculating duty metrics over specific time windows, ensuring no single crew member is overextended. It's a direct way to move from raw flight data to a legally compliant crew schedule.

## Tools

### calculate_duty_metrics
This tool calculates a crew member's total workload and duty impact. It helps you see how much time someone has spent on duty over a set period.

### check_crew_availability
Use this to see if a specific crew member is legally able to take on a new duty. It checks their current status against your rules.

### generate_roster
This tool builds a complete crew roster based on the constraints you provide. It maps personnel to segments while respecting all limits.

### validate_compliance
This tool performs a deep audit of your current rosters. It flags any violations of duty or rest rules.

## Prompt Examples

**Prompt:** 
```
Generate a crew roster for 3 crew members and 5 flight segments with a 12-hour duty limit and 10-hour rest rule.
```

**Response:** 
```
The roster is ready. Crew Member A is assigned to segments 1 and 2, Crew Member B to segments 3 and 4, and Crew Member C to segment 5. All duty limits and rest gaps meet your requirements.
```

**Prompt:** 
```
Check if Crew ID 'C123' is available for a duty from 2024-10-01T08:00:00Z to 2024-10-01T20:00:00Z.
```

**Response:** 
```
Crew Member C123 is available for this duty period.
```

**Prompt:** 
```
Calculate the total duty duration for Crew Member 'C123' between 2024-10-01 and 2024-10-07.
```

**Response:** 
```
The total duty duration for Crew Member C123 during this period is 34 hours across 4 segments.
```

## Capabilities

### Automated Rostering
Your agent creates full crew schedules by matching people to flight segments.

### Compliance Auditing
The AI scans existing rosters to find duty or rest rule violations.

### Availability Verification
Your agent checks if a crew member can legally accept a new assignment.

### Workload Analysis
The tool calculates duty metrics to track how much work a crew member has performed.

## Use Cases

### New Roster Creation
You provide flight segments and crew counts, and the AI builds a compliant schedule.

### Safety Audits
You run an existing roster through the compliance tool to catch rest rule violations.

### Crew Assignment
You ask the AI if a specific person is available before assigning them a new flight.

### Fatigue Management
You use duty metrics to monitor if any crew members are hitting their duty limits too quickly.

## Benefits

- Enforces duty limits and rest rules automatically during roster generation.
- Identifies compliance violations in existing schedules through deep audits.
- Provides real-time availability checks for crew members.
- Tracks workload impact through duty metric calculations.

## How It Works

Connect your AI client to Vinkius to start managing aviation schedules.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your flight segments and crew constraints to your AI agent.
3. The agent uses the MCP tools to process the data and check rules.
4. Receive a completed roster or a compliance report directly in your chat interface.

## Frequently Asked Questions

**What can this MCP do for aviation scheduling?**
It generates crew rosters, audits them for compliance, checks crew availability, and calculates duty metrics based on your specific rules.

**How does it handle rest requirements?**
The engine uses your defined rest rules to ensure every crew assignment maintains the necessary gaps between duties.

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

**Does it help with compliance?**
Yes, the validate_compliance tool performs deep audits on existing rosters to find violations of duty or rest rules.

**How do I check if a crew member is overworked?**
You can use the calculate_duty_metrics tool to see the total workload and duty impact for any crew member over a specific time period.

**How does the engine handle rest requirements?**
The engine uses the `rest_rules` provided in the input to ensure a sufficient rest gap exists between duty periods before a crew member is assigned to a new segment.

**Can I check for regulatory violations in an existing roster?**
Yes, you can use the `validate_compliance` tool to perform a deep audit of any roster to identify specific duty limit or rest rule violations.

**Does the scheduler account for crew movement?**
Yes, the `generate_roster` tool incorporates positioning requirements, ensuring crew members are moved to the correct locations for their assigned segments.
