# Currency Basket Normalizer AI Agent Connect

> Currency Basket Normalizer handles the heavy lifting for multi-currency financial math. It processes entire collections of amounts using your specific exchange rates, percentage spreads, and fixed transaction fees. Your AI client can manage rounding rules and verify rate availability to ensure each conversion is precise and audit-ready.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_JBkNFn1wJ5f7uef2M7r1E2v9FE8gP4esQstktt6v/ai-agent-connect
- **Tags:** currency, exchange-rates, finance, conversion, accounting

## Description

You can stop manually calculating currency spreads and rounding errors. This MCP gives your AI client the ability to process entire baskets of financial data at once. Instead of converting one line at a time, you provide a set of amounts in various currencies and tell your agent how to normalize them into a target currency. It handles the math for custom exchange rates, applies percentage-based spreads, and subtracts fixed transaction fees. If you need to ensure your rate map is complete before starting, your agent can check for missing pairs. It also provides a high-level summary of all costs incurred during the process. This is built for scenarios where you need exactness, such as accounting reconciliations or multi-currency expense reporting, where specific rounding rules and rate provenance matter.

## Tools

### get_conversion_summary
This tool provides a high-level summary of the total conversion costs incurred during the process.

### lookup_rate_metadata
This tool retrieves descriptive labels or provenance information for a specific currency pair.

### normalize_basket
This tool performs the primary conversion of a complete set of currency amounts into your chosen target currencies.

### validate_rate_availability
This tool checks your provided exchange rate map to ensure all necessary currency pairs are present.

## Prompt Examples

**Prompt:** 
```
Convert a basket of 100 USD and 50 EUR into GBP using a rate of 0.85 for USD_GBP and 0.88 for EUR_GBP, with a 1% spread.
```

**Response:** 
```
The converted amounts are 84.15 GBP for the 100 USD item and 43.56 GBP for the 50 EUR item.
```

**Prompt:** 
```
Check if I have enough exchange rates to convert USD and JPY to EUR.
```

**Response:** 
```
The rate availability check is complete. All necessary pairs (USD_EUR and JPY_EUR) are present in your rate map.
```

**Prompt:** 
```
What was the total fixed fee cost for my last conversion?
```

**Response:** 
```
The total fixed fee cost for the processed line items is 5.00.
```

## Capabilities

### Bulk Conversion
Your agent processes entire sets of currency amounts in a single operation.

### Custom Rate Logic
Your agent applies specific exchange rates, spreads, and fixed fees to each calculation.

### Rate Validation
Your AI client verifies that all required currency pairs exist in your rate map before converting.

### Cost Summarization
Your agent calculates and reports the total costs and fees from a conversion run.

### Precise Rounding
The tool applies specific rounding rules based on the target currency requirements.

## Use Cases

### Expense Reconciliation
Convert a list of international employee expenses into a single functional currency for reimbursement.

### Portfolio Valuation
Normalize a collection of diverse currency holdings into a base currency using custom rates.

### Audit Preparation
Use rate metadata and conversion summaries to document the provenance of financial calculations.

### Fee Modeling
Test how different percentage spreads and fixed fees affect the total cost of a currency basket.

## Benefits

- Eliminates manual rounding errors by using programmed currency rules.
- Reduces calculation time by processing entire baskets of data at once.
- Ensures rate completeness through automated availability checks.
- Provides clear cost breakdowns including spreads and fixed fees.

## How It Works

Connect the MCP to your client and start sending financial data for processing.

1. Connect the MCP to your preferred client like Claude or Cursor via Vinkius.
2. Provide your exchange rate map and the basket of amounts to your agent.
3. Your agent validates that all required currency pairs are available.
4. Your agent executes the conversion using your specified spreads and fees.
5. Your agent returns the normalized amounts and a summary of the costs.

## Frequently Asked Questions

**How does this MCP handle currency spreads?**
You can define percentage-based spreads that your agent applies during the conversion process.

**Can I use my own exchange rates?**
Yes, the MCP uses the specific rate map you provide to perform all calculations.

**Does it support fixed transaction fees?**
Yes, the tool can apply fixed fees to the conversion logic for each item or the whole basket.

**What happens if a required rate is missing?**
You can use the validation tool to check your rate map first, which identifies if any necessary pairs are missing.

**Which AI clients can use this MCP?**
Any MCP-compatible client like Claude, Cursor, or Windsurf can use this tool once connected via Vinkius.

**How are spreads applied to the conversion?**
The spread is a percentage-based cost that reduces the effective exchange rate used for the conversion.

**Can I specify rounding rules for different target currencies?**
Yes, you can provide a map of rounding rules to ensure each target currency is rounded to the correct number of decimal places.

**What happens if a required exchange rate is missing?**
If a rate is missing, the `normalize_basket` tool will skip that specific conversion and return a warning in the results.
