# EASA FTL Calculator (MCP) (`conradvukovic/easa-ftl`) Actor

Deterministic EASA flight and duty time limitation calculator (ORO.FTL / CS FTL.1) for AI agents: max FDP, acclimatisation, extensions, in-flight rest, commander's discretion, rest, cumulative limits.

- **URL**: https://apify.com/conradvukovic/easa-ftl.md
- **Developed by:** [Rémi Dubois](https://apify.com/conradvukovic) (community)
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 ftl calculations

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## EASA FTL Calculator (MCP)

**Stop letting your AI assistant guess flight time limitations.** This Actor is a remote MCP server that gives Claude, ChatGPT, Cursor or any MCP-compatible agent a deterministic calculator for EASA flight and duty time limitations (Regulation (EU) 965/2012, Annex III, Subpart FTL and CS FTL.1, commercial air transport by aeroplane).

Every answer cites the rule it applies (for example `ORO.FTL.205(b)(1) Table 2`) and carries a disclaimer.

### Who it is for

Line pilots and cabin crew checking a duty, crew controllers and roster planners, FTL scheme and compliance managers, aviation consultants and training organisations — and the AI assistants they already use.

### Tools

| Tool | What it computes | Rule |
|---|---|---|
| `ftl_plan_fdp` | Full picture of one FDP: basic limit, 1-hour extension, in-flight rest, commander's discretion, latest end, margin on a planned FDP | ORO.FTL.205, CS FTL.1.205 |
| `ftl_acclimatisation_state` | B / D / X state | ORO.FTL.105(1) Table 1 |
| `ftl_max_daily_fdp` | Basic max daily FDP | ORO.FTL.205(b) Tables 2, 3, 4 |
| `ftl_extension_check` | Is the 1-hour extension allowed? Sector caps from WOCL encroachment, rest conditions | ORO.FTL.205(d), CS FTL.1.205(b) |
| `ftl_in_flight_rest` | Max FDP for augmented crew (1 or 2 extra pilots, rest facility class 1/2/3) | CS FTL.1.205(c) |
| `ftl_commanders_discretion` | Discretion ceiling and obligations | ORO.FTL.205(f) |
| `ftl_minimum_rest` | Minimum rest at home base / away, 4-hour time difference, extension increase | ORO.FTL.235, CS FTL.1.235 |
| `ftl_cumulative_limits` | 60 h/7 d, 110 h/14 d, 190 h/28 d, 100 h flight time/28 d, 900 h/year, 1000 h/12 months | ORO.FTL.210 |
| `ftl_classify_duty` | Night duty (and subtype), early start, late finish, WOCL encroachment | ORO.FTL.105(8), CS FTL.1.205(a) |

Times of day are `HH:MM` in the reference time (time zone to which the crew member is acclimatised).

#### Example

> "Report 22:30, 1 sector, one additional pilot, class 1 bunk, 11:40 flight time: max FDP?"

`ftl_plan_fdp` returns **17:00** (16:00 + 1 h for one sector of more than 9 h), latest end 15:30, commander's discretion up to 20:00, minimum in-flight rest 1:30 per pilot and 2:00 for the landing crew — with references.

### How to connect

Endpoint (Streamable HTTP): `https://<username>--easa-ftl.apify.actor/mcp`, with your Apify API token in the `Authorization: Bearer <token>` header.

Claude Code:

```bash
claude mcp add --transport http easa-ftl https://<username>--easa-ftl.apify.actor/mcp --header "Authorization: Bearer <APIFY_TOKEN>"
```

Cursor / other clients:

```json
{ "mcpServers": { "easa-ftl": { "url": "https://<username>--easa-ftl.apify.actor/mcp",
  "headers": { "Authorization": "Bearer <APIFY_TOKEN>" } } } }
```

Through Apify's hosted MCP server (`https://mcp.apify.com`, sign-in with OAuth), ask your assistant to call the tools of the `easa-ftl` Actor.

### Pricing

Pay per event: **$0.02** per successful calculation, **$0.10** per `ftl_plan_fdp` or `ftl_cumulative_limits` call. Calls rejected for invalid input are not charged.

### Coverage and limits

Covered: the tables and rules listed above (CAT aeroplanes, scheduled and charter), consolidated with ED Decision 2023/023/R. Not yet covered: split duty, standby and reserve, delayed reporting, reduced rest, home-base local nights after time-zone changes, cabin crew in-flight rest, non-CAT schemes. EASA Opinion 02/2026 proposes FTL changes that are not yet adopted.

Also by the same developer: [FAA Part 117 Duty & Rest Calculator (MCP)](https://apify.com/conradvukovic/faa-117) for US operators, and [EU261 & UK261 Flight Compensation Calculator (MCP)](https://apify.com/conradvukovic/eu261) for passenger rights.

### Disclaimer and sources

Planning aid, not an official source. The operator's approved FTL scheme (OM Part A chapter 7) and any collective agreement may be more restrictive and prevail. Source: EASA Easy Access Rules for Air Operations, © European Union; reproduction authorised provided the source is acknowledged.

# Actor input Schema

## Actor input object example

```json
{}
```

# Actor output Schema

## `results` (type: `string`):

Self-test FTL calculation stored by a normal (non-Standby) run.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("conradvukovic/easa-ftl").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("conradvukovic/easa-ftl").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call conradvukovic/easa-ftl --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,conradvukovic/easa-ftl"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/eZdp4t2zUVlU8o21g/builds/utEww7voXqzLF2bp3/openapi.json
