# Horse Stall Capacity Planner AI Agent Connect

> Horse Stall Capacity Planner MCP handles the math and logistics of equine facility management. It maps out how horses fit into your stalls by accounting for horse size, required separation, and necessary cleaning gaps. Your AI client can now handle complex scheduling, find empty stalls, and report on how well you're using your space.

## Overview
- **Category:** agriculture
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_a5a0YbciIDfME9yYSuq5dCuai0fASezePfzLuRZQ/ai-agent-connect
- **Tags:** equine, stalls, capacity-planning, scheduling, facility-management

## Description

Managing a horse facility means juggling constant changes in occupancy, stall sizes, and cleaning needs. This MCP takes that complexity and hands it to your AI client. Instead of manually checking spreadsheets to see if a new horse fits, you can ask your agent to calculate assignments based on specific dimensions and separation requirements. It tracks the timeline of each stall, ensuring you account for the time needed between occupants for cleaning and maintenance. You can use it to spot gaps in your schedule, generate efficiency reports, or find alternative stall configurations if your first plan doesn't work. It turns your facility's spatial and temporal data into actionable schedules that respect the needs of both the horses and your staff.

## Tools

### get_deterministic_alternatives
This tool provides a different valid stall allocation if your primary schedule doesn't work. It's useful when you need to adjust plans without breaking facility rules.

### get_empty_intervals
This tool identifies specific gaps in your schedule. It shows exactly when stalls are vacant and ready for new occupants.

### get_occupancy_schedule
This tool provides a detailed timeline of your facility. It shows which horses are in which stalls over a specific period.

### get_stall_utilization_report
This tool evaluates how efficiently you are using your facility. It generates reports on stall usage and occupancy rates.

## Prompt Examples

**Prompt:** 
```
Show me the occupancy schedule for these horses and stalls with a 1-day cleaning buffer.
```

**Response:** 
```
The occupancy schedule shows Horse A in Stall 1 from June 1st to June 5th, and Horse B in Stall 2 from June 7th to June 10th, respecting the 1-day cleaning buffer.
```

**Prompt:** 
```
What is the current utilization of my facility for the month of July?
```

**Response:** 
```
The facility utilization for July is 75%, with 22.5 stall-days used out of 30 available stall-days.
```

**Prompt:** 
```
Find any empty stalls available for next week.
```

**Response:** 
```
Stall 4 is available from Monday to Thursday, and Stall 7 is available from Wednesday to Sunday.
```

## Capabilities

### Occupancy Tracking
Your agent uses this to maintain a clear timeline of horse locations.

### Efficiency Reporting
Your agent calculates how much of your stall capacity is actually being used.

### Gap Identification
Your agent finds available time slots and vacant stalls for new arrivals.

### Alternative Planning
Your agent generates new valid stall layouts if your initial plan fails.

### Constraint Management
Your agent respects horse dimensions and cleaning turnaround periods during scheduling.

## Use Cases

### New Arrival Planning
Ask your agent to find a stall that fits a specific horse's size and the current schedule.

### Facility Auditing
Request a utilization report to see how many stall-days were used over a month.

### Cleaning Management
Use your agent to ensure each horse move includes the necessary cleaning buffer.

### Schedule Adjustments
When a horse needs to move early, ask for a different valid allocation that still follows facility rules.

## Benefits

- Calculates stall assignments based on horse size and separation needs.
- Accounts for cleaning turnaround periods automatically.
- Identifies available gaps in the schedule for new horses.
- Provides alternative stall configurations when primary plans change.

## How It Works

Connect your preferred AI client to Vinkius to start managing your facility.

1. Connect your AI client to the MCP via Vinkius.
2. Provide your horse and stall data to your agent.
3. Ask your agent to perform specific tasks like finding empty stalls or checking utilization.
4. Your agent uses the MCP tools to process the data and give you direct answers.

## Frequently Asked Questions

**How does this MCP handle cleaning between horses?**
The MCP considers cleaning turnaround periods when calculating stall assignments and schedules.

**Can I find available stalls for a specific timeframe?**
Yes, you can ask your agent to find empty intervals or available gaps in the schedule.

**What if my first stall assignment doesn't work?**
You can use the tool to get deterministic alternatives, which provides a different valid configuration.

**How do I know if my facility is being used efficiently?**
You can request a stall utilization report to see how many stall-days are being used versus available.

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

**How does the planner handle cleaning between horses?**
The planner respects a mandatory cleaning turnaround period. When using `get_occupancy_schedule` or `get_empty_intervals`, the specified cleaning duration is treated as a buffer where the stall is unavailable.

**Can I find alternative stall arrangements?**
Yes, you can use the `get_deterministic_alternatives` tool to generate a different valid allocation that still satisfies all physical and temporal constraints.

**How is stall utilization calculated?**
Utilization is calculated by comparing the total stall-days used by horses against the total available stall-days in the requested period via `get_stall_utilization_report`.
