# Foreign Currency Sensitivity Calculator AI Agent Connect

> Foreign Currency Sensitivity Calculator lets your AI client run stress tests on foreign exchange exposure. It calculates how currency fluctuations affect your assets, liabilities, and forecasted transactions. You can determine net sensitivity, hedge offsets, and tax effects by connecting this MCP to your preferred AI agent.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_E1M4b872hc2W0MMKugoTG7oDfbQXHtXlgta4HHz3/ai-agent-connect
- **Tags:** fx-risk, accounting, currency, sensitivity, forex

## Description

Managing FX risk shouldn't involve manual spreadsheets and constant recalculations. This MCP gives your AI client the ability to perform precise stress tests on your monetary exposure. You can feed your agent lists of foreign assets and liabilities to see exactly how a sudden shift in exchange rates would hit your bottom line. It handles the heavy lifting of determining net sensitivity and tax implications for specific currency shocks. Instead of guessing how a volatile market affects your forecasted transactions, you can use this tool to get hard numbers on potential losses or gains. It works by pulling historical rates and validating your data before running the core math, ensuring your risk assessments are based on clean, accurate inputs.

## Tools

### get_historical_exchange_rates
Fetches the historical exchange rates required to convert local currency amounts.

### get_supported_currencies
Returns a list of all ISO 4217 currency codes the engine can process.

### validate_exposure_data
Checks your exposure and forecast lists for completeness and data integrity.

### calculate_sensitivity
Runs the core stress test to find the impact of currency fluctuations on your specific exposures.

## Prompt Examples

**Prompt:** 
```
Calculate the FX sensitivity for a 5% shock on a 1000 USD asset and 500 EUR liability, with a 20% tax rate.
```

**Response:** 
```
The net sensitivity after a 5% shock is 75.00 USD, with a tax effect of 15.00 USD.
```

**Prompt:** 
```
What currencies can I use for this calculation?
```

**Response:** 
```
The supported currencies are USD, EUR, GBP, JPY, CAD, AUD, CHF, and CNY.
```

**Prompt:** 
```
Check if my exposure data is valid: [{'currency': 'USD', 'amount': 100, 'type': 'asset'}]
```

**Response:** 
```
The exposure data is valid.
```

## Capabilities

### FX Stress Testing
Your agent uses this to model how specific percentage shifts in exchange rates change your net position.

### Data Validation
Your agent checks your lists of assets and liabilities to ensure they are formatted correctly before running math.

### Currency Verification
Your agent can check which ISO 4217 codes are supported to avoid processing errors.

### Tax Effect Modeling
The tool calculates the impact of tax rates on your currency sensitivity results.

### Historical Rate Retrieval
Your agent pulls the necessary base rates to convert your local currency amounts.

## Use Cases

### Portfolio Risk Assessment
Run a shock test on a portfolio of foreign assets to see the potential USD impact.

### Budget Forecasting
Model how exchange rate shifts might change the cost of forecasted foreign transactions.

### Audit Preparation
Use the validation tool to ensure exposure data is complete and accurate for reporting.

### Hedge Effectiveness Testing
Calculate how much a specific hedge offsets your total currency exposure.

## Benefits

- Automates the math for net sensitivity and hedge offsets.
- Reduces errors by validating exposure data before calculations run.
- Provides immediate tax effect analysis for currency shocks.
- Connects directly to your existing AI workflow in Claude or Cursor.

## How It Works

You connect the MCP to your AI client and start querying it with your financial data.

1. Connect the MCP to your client via Vinkius.
2. Verify supported currencies using the get_supported_currencies tool.
3. Submit your exposure or forecast data for validation.
4. Run the calculate_sensitivity tool with your desired shock percentage and tax rate.

## Frequently Asked Questions

**How do I use this MCP with Claude?**
You connect to the MCP through the Vinkius platform. Once connected, your AI client can call the tools directly through the Model Context Protocol.

**What currencies are supported?**
The engine supports major currencies including USD, EUR, GBP, JPY, CAD, AUD, CHF, and CNY. You can use the get_supported_currencies tool to see the full list.

**Can I include tax rates in my sensitivity calculations?**
Yes, the calculate_sensitivity tool allows you to include a tax rate to determine the specific tax effects of a currency shock.

**Does this tool handle forecasted transactions?**
Yes, the MCP is designed to perform stress tests on both existing monetary items and forecasted transactions.

**How does the tool ensure my data is correct?**
You can use the validate_exposure_data tool to check the integrity and completeness of your lists before you run any calculations.

**How does the tool handle hedges?**
The `calculate_sensitivity` tool accounts for hedge offset by calculating how much of the shock-induced gain or loss is neutralized by your identified hedges.

**Which currencies are supported?**
You can use `get_supported_currencies` to retrieve the full list of valid ISO 4217 currency codes supported by the engine.

**Can I validate my data before running a full calculation?**
Yes, use `validate_exposure_data` to check the integrity and completeness of your monetary exposures and forecasted transactions.
