# Audiobook Duration Aggregator MCP. AI Agent Connect

> Audiobook Duration Aggregator MCP handles the math for your listening libraries. It lets your AI client sum up total hours, find average book lengths, and pull specific statistics from time-stamped lists. It also checks that your duration strings follow the HH:MM:SS format so your data stays clean.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_SYWtN3QqSJtz2QQDsKxnhQLM0GsK1Hug7RDFBMWM/ai-agent-connect
- **Tags:** audiobook, time, duration, statistics, math

## Description

If you manage large collections of audiobooks, calculating how much time you'll spend listening is a chore. This MCP handles those calculations for you. Instead of manually adding up hours and minutes, you can just hand a list of durations to your AI client. It will tell you exactly how long your total queue is or what the average length of a book in your collection looks like. You can also pull specific stats, like identifying your longest or shortest titles, to better plan your listening schedule. To keep things running smoothly, the MCP includes a validation tool that ensures every time string you provide follows the standard HH:MM:SS format. This prevents errors when you're processing large datasets or messy lists of book lengths.

## Tools

### get_total_listening_time
This tool sums up the combined duration of every audiobook in your list.

### validate_duration_format
This tool checks if your time strings follow the required HH:MM:SS standard.

### get_average_book_length
This tool calculates the mean listening time for a collection of audiobooks.

### get_duration_statistics
This tool provides a breakdown of your collection, including the longest and shortest books.

## Prompt Examples

**Prompt:** 
```
What is the total listening time for books lasting 01:00:00, 02:30:00, and 00:45:00?
```

**Response:** 
```
The total listening time is 04:15:00.
```

**Prompt:** 
```
What is the average length of these audiobooks: 01:00:00, 02:00:00, and 03:00:00?
```

**Response:** 
```
The average length is 02:00:00.
```

**Prompt:** 
```
Give me the statistics for books with durations 00:30:00, 05:00:00, and 01:15:00.
```

**Response:** 
```
The longest book is 05:00:00, the shortest is 00:30:00, and the duration range is 4500 seconds.
```

## Capabilities

### Total Time Calculation
Your agent uses this to find the sum of all book durations in a list.

### Mean Duration Analysis
Your AI client uses this to find the average length of books in a set.

### Extremity Identification
Your agent uses this to find the longest and shortest books in a collection.

### Format Validation
Your AI client uses this to confirm time strings match the HH:MM:SS standard.

## Use Cases

### Queue Planning
Calculate the total time needed to finish your current audiobook queue.

### Library Auditing
Find the longest and shortest books in your collection to understand your library's variety.

### Data Cleaning
Check a list of time strings to make sure they are formatted correctly before processing.

### Listening Trends
Determine the average duration of books you typically listen to.

## Benefits

- Eliminates manual math for time-based lists.
- Ensures data consistency through format validation.
- Provides instant statistical summaries of book collections.
- Automates the calculation of total listening hours.

## How It Works

Connect the MCP to your client and start sending time data.

1. Connect the MCP to your preferred client like Claude or Cursor via Vinkius.
2. Paste or provide your list of audiobook durations in HH:MM:SS format.
3. Ask your agent to perform a specific calculation like total time or average length.
4. The MCP executes the math and returns the result to your chat interface.

## Frequently Asked Questions

**What format should I use for durations?**
You should use the HH:MM:SS standard. The MCP includes a tool to validate your strings if you aren't sure.

**Can I use this with Claude?**
Yes. You can connect this MCP to any MCP-compatible client, including Claude.

**Does this MCP handle the math itself?**
Yes. The MCP provides specific tools to calculate totals, averages, and statistics.

**How do I get the longest book in my list?**
You can ask your agent to use the duration statistics tool to identify the longest book.

**Do I need to host this myself?**
No. Vinkius hosts and manages the MCP for you, so it is ready to use immediately.

**What time format should I use?**
All durations must be provided in the HH:MM:SS format (e.g., 01:30:00 for one hour and thirty minutes).

**How can I check if my duration string is valid?**
You can use the `validate_duration_format` tool to verify if a specific time string adheres to the required standard.

**Can I get the total time for a large collection of books?**
Yes, the `get_total_listening_time` tool is designed to aggregate the total duration of any number of provided audiobook strings.
