# Itinerary Day Count AI Agent Connect

> Itinerary Day Count MCP handles the math for your travel planning. It calculates inclusive calendar days, compares different trip lengths, and checks if your planned dates fit within specific seasonal constraints. Your AI client uses these tools to ensure your travel timelines are accurate and logically sound.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_yGvJUyE6hVroNhjlfur6kLEQsXn4srlb1xqw9dAB/ai-agent-connect
- **Tags:** itinerary, calendar, travel-planning, date-calculation, trip-duration

## Description

Planning a trip involves more than just picking a destination. You have to account for every single day to ensure your schedule actually works. This MCP takes the guesswork out of travel math. Instead of you manually counting days on a calendar, your AI client can instantly determine the exact inclusive duration of a trip. 

You can use it to verify if a proposed itinerary fits within specific seasonal windows, which is helpful when you have strict travel constraints. If you are weighing two different travel options, the MCP can compare their lengths to show you which one gives you more time on the ground. It also provides a temporal breakdown of your trip, giving you a clear view of how much time you are spending away. It's a specialized set of tools designed to keep your travel logic tight and your scheduling accurate.

## Tools

### compare_itineraries
This tool compares the lengths of two different itineraries. It tells you exactly which trip is longer.

### get_itinerary_duration
This tool calculates the total number of inclusive calendar days for a single trip.

### get_itinerary_summary
This tool provides a detailed breakdown of the temporal footprint for your planned trip.

### validate_itinerary_range
This tool checks if your chosen date range stays within a specific set of allowed travel constraints.

## Prompt Examples

**Prompt:** 
```
How many days is my trip from 2024-07-01 to 2024-07-05?
```

**Response:** 
```
Your trip is 5 days long.
```

**Prompt:** 
```
Is a trip from 2024-12-01 to 2024-12-01 valid?
```

**Response:** 
```
Yes, a trip where the start and end dates are the same is a valid 1-day itinerary.
```

**Prompt:** 
```
Give me a summary for a trip from 2024-05-10 to 2024-05-15.
```

**Response:** 
```
The trip lasts 6 days, it is not a single day trip, and there are 230 days remaining in the year after the trip ends.
```

## Capabilities

### Inclusive Day Counting
Your agent calculates the full span of a trip including both the start and end dates.

### Constraint Validation
The AI checks if your dates fall within specific seasonal or allowed travel windows.

### Trip Comparison
Your client compares two different travel plans to see which one lasts longer.

### Temporal Summaries
The MCP provides a breakdown of the time footprint for any given itinerary.

## Use Cases

### Comparing Vacation Options
Your agent compares a 7-day trip against a 10-day trip to see which fits your budget better.

### Seasonal Planning
The AI checks if your summer trip dates actually fall within the allowed summer window.

### Trip Duration Verification
You confirm the exact number of days you'll be away for a business trip.

### Itinerary Summarization
The agent creates a summary of how long a trip lasts and how much of the year remains after it ends.

## Benefits

- Eliminates manual calendar counting errors.
- Provides instant comparison between multiple travel options.
- Validates dates against specific seasonal constraints.
- Generates detailed temporal breakdowns of trip lengths.

## How It Works

Connecting this MCP to your AI client gives it immediate access to travel math tools.

1. Connect your AI client to the Vinkius hosted MCP.
2. Provide your trip dates or itinerary details to your agent.
3. The agent calls the specific tool needed for your request.
4. The MCP returns the calculated duration or validation result.
5. Your agent presents the final answer to you.

## Frequently Asked Questions

**How does the MCP count trip days?**
The MCP uses inclusive calendar day counting, meaning it counts both the start and end dates as full days.

**Can I compare two different trips?**
Yes, you can use the compare_itineraries tool to determine which of two trips is longer.

**What if my start and end dates are the same?**
The MCP treats a trip where the start and end dates are identical as a valid 1-day itinerary.

**Can this MCP check seasonal availability?**
Yes, the validate_itinerary_range tool checks if your dates fall within specific allowed travel constraints.

**Which AI clients can use this MCP?**
You can use this MCP with any compatible client like Claude, Cursor, Windsurf, or VS Code.

**How are the days counted?**
The count is inclusive of both the arrival day and the departure day. For example, arriving Monday and leaving Tuesday is a 2-day itinerary.

**What date format should I use?**
All dates must follow the standard ISO 8601 calendar format.
