# Economy Inflation Detector AI Agent Connect

> Analyze and balance in-game economies by measuring inflation, purchasing power, and wealth inequality.

## Overview
- **Category:** gaming
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_ISihoonKodQCTRAmtoNNknY2DW2w33P3AR942Wim/ai-agent-connect
- **Tags:** economy, inflation, gini, simulation, gaming-tools

## Description

This MCP server provides a deterministic toolset for managing virtual economies. It allows AI agents to monitor currency velocity, calculate net inflation rates, and assess wealth distribution using the Gini coefficient. Use `analyze_economy_health` to identify critical stability warnings, `calculate_equilibrium_adjustment` to find the exact sink changes needed for stability, and `simulate_price_evolution` to project future item costs based on current inflation trends.

## Tools

### analyze_economy_health
Assess the current stability of the economy and identify critical warnings

### calculate_equilibrium_adjustment
Determine the exact change needed in currency sinks to halt inflation

### simulate_price_evolution
Project the movement of item prices over a specific time period

## Prompt Examples

**Prompt:** 
```
Analyze the health of an economy with 100 players, where sources provide 500 gold/hr and sinks remove 450 gold/hr, over 24 hours.
```

**Response:** 
```
The economy shows a net inflation rate of 0.005 per hour. The purchasing power index is stable, and no critical warnings were triggered.
```

**Prompt:** 
```
What adjustment is needed if inflow is 1000 and outflow is 800?
```

**Response:** 
```
To reach equilibrium, a `requiredSinkIncrease` of 200 is needed to match the current inflow.
```

**Prompt:** 
```
Project the price of a 100 gold item with a 0.02 inflation rate over 5 hours.
```

**Response:** 
```
The final price after 5 hours will be 110.41 gold.
```

## Frequently Asked Questions

**How can I check if my game economy is stable?**
You can use the `analyze_economy_health` tool. It will return the net inflation rate and trigger warnings if the inflation rate exceeds 0.05 or the Gini coefficient exceeds 0.7.

**How do I stop inflation in my simulation?**
Use the `calculate_equilibrium_adjustment` tool. By providing the current inflow and outflow, it calculates the exact `requiredSinkIncrease` needed to reach economic equilibrium.

**Can I predict future item prices?**
Yes, the `simulate_price_evolution` tool allows you to project item price movements over a specific number of hours based on a given inflation rate.
