# Blackjack Strategy Engine AI Agent Connect

> A deterministic engine for mathematically optimal blackjack actions.

## Overview
- **Category:** games
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_4zLQTSQYw1sCbjIlTVO6rAM644jen82CXYzBhhyV/ai-agent-connect
- **Tags:** blackjack, strategy, probability, gambling, math

## Description

This MCP server provides precise blackjack strategy calculations. Use `get_optimal_action` to determine the best move for any hand, `calculate_house_edge` to estimate the casino's advantage, and `analyze_hand_classification` to categorize card combinations into hard, soft, or pair hands.

## Tools

### calculate_house_edge


### analyze_hand_classification


### get_optimal_action


## Prompt Examples

**Prompt:** 
```
What is the best move for a hard total of 16 when the dealer shows a 7?
```

**Response:** 
```
Stand
```

**Prompt:** 
```
I have a pair of 8s. What should I do?
```

**Response:** 
```
Split
```

**Prompt:** 
```
What is the house edge for a 6-deck game where the dealer stands on soft 17 and doubling after split is allowed?
```

**Response:** 
```
0.5%
```

## Frequently Asked Questions

**How do I know the best move for my hand?**
You can use the `get_optimal_action` tool to receive the mathematically optimal instruction like Hit, Stand, or Double based on your current hand and the dealer's upcard.

**Can I calculate the house edge for specific rules?**
Yes, the `calculate_house_edge` tool allows you to estimate the house advantage by inputting rule variations like S17, DAS, and deck count.

**How does the engine classify my cards?**
The `analyze_hand_classification` tool takes an array of card ranks and identifies if the hand is a hard total, a soft total, or a pair.
