# Nash Game Theory Prover MCP

> Nash Game Theory Prover forces any strategic decision through five game-theoretic axes: payoff mapping, equilibrium analysis, information structure, mechanism design, and repeated dynamics. It catches single-player thinking by modeling what rational opponents will actually do, validating if your proposed strategy holds up against real counter-play or market shifts.

## Overview
- **Category:** strategy
- **Price:** Free
- **Tags:** nash, game-theory, equilibrium, mechanism-design, strategy, payoff-matrix, decision-theory

## Description

You're not playing a solo mission; you're dealing with other people who are trying to beat you up. That's why this server, **`validate_nash_game_theory`**, forces your entire strategy through five distinct game-theoretic axes so you know if your play survives real opposition. It’s built for when the outcome depends on what a rational opponent is actually gonna do.

First off, it handles the raw data: **Map Payoffs**. You'll list every single player involved, all of their possible actions, and the exact payoff that results from every combination of choices. This establishes your foundational matrix. Next, you check for stability by running the equilibrium analysis. The tool identifies if a strategy profile is stable—meaning no single opponent can get better by deviating alone. If it finds an unstable point, you know immediately where your plan falls apart.

When things get murky, **Analyze Information Gaps** comes into play. It determines the information structure of the game itself, modeling hidden facts and how players update their beliefs based on signals—that's Bayesian reasoning right there. You don't just assume everyone knows everything; you figure out what they know (or think they know). The system then helps you **Redesign Rules (Mechanisms)**. Instead of just playing the game with its existing rules, it lets you change the game itself. You can design better incentives, like adjusting an auction type or adding binding commitments to shift what people are motivated to do.

Finally, for any long-term play, you use **Model Repeated Interactions**. This calculates if cooperation is stable over multiple rounds by factoring in things like reputation and long-term value (NPV). It doesn't just check the next move; it checks whether sticking together or competing will actually pay off over time. Running this structured analysis gives you a complete picture of how your strategy profile holds up against every possible counter-play, market shift, or opponent deviation.

## Tools

### validate_nash_game_theory
Runs a structured analysis of any multi-player strategy across five axes: payoff mapping, equilibrium finding, information structure, mechanism design, and repeated dynamics.

## Prompt Examples

**Prompt:** 
```
Our strategy is to dominate the market. We will outperform competitors with our unique position. The market will respond predictably under existing rules. Maximize this deal for short-term gain.
```

**Response:** 
```
SINGLE_PLAYER_DELUSION — Five failures: no opponent mapping, unstable strategy, naive assumptions, passive mechanism, one-shot thinking.
```

**Prompt:** 
```
Players: Us (enter/wait), Incumbent (accommodate/price-war). Payoffs: (enter,accommodate)=(8,5), (enter,war)=(-3,2), (wait,any)=(0,10). NE: (enter,accommodate) — stable, no unilateral deviation improves either. Info: incomplete — cost structure hidden, signal via pricing. Bayesian: accommodate → P(high-cost)=0.7. Mechanism: price-match guarantee changes best response. Repeated: quarterly for 5yr, δ=0.9, NPV cooperation $2M vs defection $400K.
```

**Response:** 
```
EQUILIBRIUM_PROVEN — Game-theoretic strategy validated. All five axes pass. Execute.
```

**Prompt:** 
```
Two competitors are in a pricing standoff. We charge $49/mo, they charge $45/mo. If we drop to $39, they will likely match. Market has 10K potential customers, currently split 55/45 in our favor. Switching costs are low.
```

**Response:** 
```
Classic Prisoner Dilemma with price war dynamics. NE analysis: (drop, match) = both lose margin with no share gain. Mechanism design needed — differentiate on value, not price. Add switching costs through long-term commitments. Convert to repeated game: multi-year contracts with loyalty pricing break the one-shot race to the bottom.
```

## Capabilities

### Map Payoffs
It forces you to list every player, their available actions, and the resulting payoff for every combination.

### Find Stable Equilibria
The tool identifies if a strategy profile is stable—meaning no single opponent can improve their outcome by deviating alone.

### Analyze Information Gaps
It determines the information structure, modeling hidden facts and how players update their beliefs based on signals (Bayesian reasoning).

### Redesign Rules (Mechanisms)
Instead of playing the game, it helps you design better rules—like changing an auction type or adding commitments to shift incentives.

### Model Repeated Interactions
It calculates if cooperation is stable over multiple rounds by factoring in reputation and long-term value (NPV).

## Use Cases

### Stopping the Price War Trap
You plan to drop your price because a competitor is undercutting you. The agent runs `validate_nash_game_theory`. It identifies that dropping alone creates an unstable, exploitable equilibrium (a race to the bottom). Instead, it suggests shifting focus to value-add commitments, turning the single pricing game into a repeated cooperation model.

### Structuring a Complex Auction
A procurement team needs bids for custom hardware. They start with a standard sealed bid auction, but the agent runs `validate_nash_game_theory` and spots a potential loophole (Mechanism Passivity). It suggests switching to a Vickrey auction format—changing the rules fixes the incentive problem.

### Negotiating High-Stakes Contracts
You're negotiating with a vendor where their true cost structure is hidden. The agent runs `validate_nash_game_theory` to analyze the incomplete information structure, advising you on how to signal your own high value while determining their private costs through inferred signals.

### Designing Long-Term Partnerships
You need a relationship that lasts five years. The agent runs `validate_nash_game_theory` for repeated dynamics, proving that short-term defection leads to negative NPV because the reputation loss outweighs the immediate gain.

## Benefits

- Prevents single-player thinking. The `validate_nash_game_theory` tool forces you to map out every opponent's payoff, stopping you from assuming the market will react predictably just because you think it should.
- Find stable points instead of temporary advantages. It validates if your strategy profile is truly an equilibrium—meaning no single player can profitably change their move alone.
- Handles hidden information. When negotiating, it moves beyond simple best guesses by applying Bayesian reasoning to model what players *believe* about each other's private facts.
- Redesigns the game. If a market structure or auction process is flawed, the tool shows how changing the rules (a mechanism design) can create better incentives for all parties.
- Considers long-term reputation. For partnerships, it shifts focus from one-shot wins to sustained cooperation by modeling reputation effects and discount factors over multiple cycles.

## How It Works

The bottom line is that it forces you to think like the market, not just yourself.

1. Define the game: You input all players, their actions, and the associated payoff matrix.
2. The server runs a five-axis analysis: It checks for stable equilibria, analyzes hidden information, determines if the rules need changing, and models long-term effects.
3. You get back a verdict—either 'EQUILIBRIUM_PROVEN' with all axes passing, or a specific failure code (e.g., SINGLE_PLAYER_DELUSION) showing exactly where your strategy breaks.

## Frequently Asked Questions

**How does Nash Game Theory Prover handle pricing? Is it good for price wars?**
Yes, it’s built for this. When you enter a pricing standoff, the tool runs equilibrium analysis to determine if your optimal drop is stable or if it just triggers an endless matching cycle that hurts both margins.

**What's the difference between 'mechanism design' and 'payoff mapping' in Nash Game Theory Prover?**
Payoff mapping defines *who* plays and what their potential outcomes are. Mechanism design is about changing the underlying rules—like switching from a standard bid auction to a second-price auction—to change those payoffs.

**Does Nash Game Theory Prover require me to know complex math?**
No, you just need to define the players and actions. The tool handles the mathematical rigor; it forces the strategic reasoning process without requiring deep expertise in game theory itself.

**Can I use Nash Game Theory Prover for internal product decisions?**
Yes, if the decision involves resource allocation between competing internal teams or departments. You can model them as players with differing 'payoffs' (e.g., department A gains revenue, but department B loses bandwidth).

**What structured input format does `validate_nash_game_theory` require for payoffs?**
You must provide a clear, delimited matrix listing all players, their mutually exclusive actions, and the resulting payoff tuple. The tool needs to map every combination explicitly, not just imply them. If you structure this data as key-value pairs defining outcomes (e.g., Player A action/Player B action = Payoff), the prover can process it accurately.

**If my game is highly complex or large, what are the performance limitations of `validate_nash_game_theory`?**
The tool handles multi-agent systems, but excessive variables or non-finite games may exceed token limits. For extreme complexity, break your strategy into sequential phases—solve one dynamic axis (like Equilibrium Analysis) before moving to the next. This manages computational load.

**Is the sensitive strategic data I submit using `validate_nash_game_theory` secure?**
Vinkius handles all submitted inputs according to strict privacy standards; your proprietary strategy remains confidential and is not used for model training. We process the input purely to run the game-theoretic analysis requested by your agent.

**Does `validate_nash_game_theory` support custom API or webhook integrations?**
Yes, because it's an MCP server, you can connect it via standard webhooks to almost any external system. You don't have to stick to one AI client; your agent sends the request, and we return the structured strategic verdict.

**Why is single-player thinking a mathematical error?**
Nash (1950): every finite game with n players has at least one equilibrium. If your strategy does not account for every other player's best response, it is not in equilibrium — any rational opponent can exploit it. 'Our competitive advantage' without mapping the opponent's counter-move is a wish, not a proof.

**What does 'design the game' mean?**
Mechanism design (Myerson, 2007 Nobel): instead of playing the game as given, change the rules, incentive structure, or information revelation so the DESIRED equilibrium becomes dominant. Add contracts, commitments, auctions, or public information that makes cooperation rational and defection costly.

**Why do repeated games change everything?**
Axelrod (1984): in repeated Prisoner's Dilemma, tit-for-tat — cooperate first, then mirror opponent's last move — wins. Cooperation emerges when: (1) interaction repeats, (2) reputation has value, (3) discount factor is high enough. One-shot defection gains $X. Repeated cooperation gains NPV of $10X. Reputation is the mechanism.