# Soccer Formation Analyzer AI Agent Connect

> Calculate team geometry, player spacing, and tactical coverage.

## Overview
- **Category:** analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_4GgEgji6IAt1GuJSjnf1yPW8qIrnXtdhfWYocLjY/ai-agent-connect
- **Tags:** soccer, football, tactics, geometry, analytics

## Description

This MCP server provides deterministic tactical analysis for soccer formations. It allows AI agents to calculate team width, depth, and line spacing using `get_formation_geometry`. It also determines field control via `get_coverage_metrics` and identifies passing corridors or high-pressure zones with `analyze_tactical_lanes`.

## Tools

### analyze_tactical_lanes
Identifies available passing corridors and potential high-pressure zones

### get_coverage_metrics
Determines how much of the field is effectively controlled by the players movement radii

### get_formation_geometry
Calculates the physical footprint and structural spacing of a team on the pitch

## Prompt Examples

**Prompt:** 
```
Calculate the team width and depth for a 4-4-2 formation with these player positions: [{"role":"DF","x":0.2,"y":0.2}, {"role":"DF","x":0.8,"y":0.2}, {"role":"MF","x":0.5,"y":0.5}, {"role":"FW","x":0.5,"y":0.8}] on a 105x68m field.
```

**Response:** 
```
The team width is 40.8 meters and the team depth is 39.6 meters.
```

**Prompt:** 
```
How much of the field is covered by these players with a 12m radius on a 100x64m pitch?
```

**Response:** 
```
The total field coverage is 24.5%.
```

**Prompt:** 
```
Check for passing lanes and pressing triggers for this setup.
```

**Response:** 
```
The passing lane from MF to FW is clear, and a pressing trigger is detected at coordinates (0.5, 0.6) due to high player density.
```

## Frequently Asked Questions

**What kind of data does this tool analyze?**
It analyzes player coordinates, field dimensions, and movement radii to provide spacing and coverage metrics.

**Can I calculate passing lanes?**
Yes, the `analyze_tactical_lanes` tool identifies available passing corridors and potential pressing triggers.

**What field dimensions are supported?**
The tool supports standard pitch dimensions, typically between 100-110m in length and 64-75m in width.
