# US 401k & IRA Optimizer MCP for AI Agents AI Agent Connect

> US 401k & IRA Optimizer helps you figure out the best way to fund your retirement accounts based on your tax situation. It analyzes your current and future tax rates to tell you exactly where your next dollar should go, whether that is a 401k, HSA, or IRA. It takes the guesswork out of tax arbitrage so you can keep more of your paycheck.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_vI0IYo9TRur9mj0qaHuzPhgVEMEwgJifAsFadWz6/ai-agent-connect
- **Tags:** 401k, ira, tax-strategy, retirement-planning, hsa, wealth-management

## Description

Managing retirement accounts feels like a math problem that gets harder every year. You want to save for the future, but deciding whether to prioritize a 401k, an HSA, or an IRA can feel like a guessing game. Most people just stick to what their employer suggests, but that might not be the most tax-efficient move for your specific income bracket. This Connector changes that by acting as a dedicated tax strategy engine. It looks at your current income and your expected retirement needs to build a roadmap for your contributions. You can see the actual dollar amount you are saving in taxes each year and get a clear picture of how your portfolio will grow over the next few decades. Instead of scrolling through tax tables or using outdated spreadsheets, you can just ask your agent to run the numbers for you. It is a lot easier to stay on track when you have a clear plan for which bucket to fill first. Finding this in the Vinkius catalog makes it simple to plug into your existing setup and get professional-grade retirement logic without the high cost of a private wealth manager.

## Tools

### project_wealth_growth
Forecasts your total retirement balance over time based on your specific contribution plan. Use it to see your 30-year portfolio value.

### determine_optimal_sequence
Tells you the best order to fund your 401k, IRA, and HSA based on your tax bracket. It removes the guesswork from account prioritization.

### calculate_tax_savings
Shows you exactly how much money you are keeping in your pocket through tax-advantaged accounts. It quantifies your annual tax shield.

## Prompt Examples

**Prompt:** 
```
I make $120k now and expect to be in a lower bracket later. Should I do a Traditional 401k or a Roth?
```

**Response:** 
```
### Tax Strategy Analysis
Based on your current **24% tax bracket** and a projected **15% retirement bracket**, here is the breakdown:

| Account Type | Current Tax Benefit | Future Tax Benefit |
| :--- | :--- | :--- |
| **Traditional 401k** | Saves you 24% now | Taxed at 15% later |
| **Roth IRA** | No immediate savings | Tax-free later |

**Recommendation:**
Since your current rate is significantly higher than your expected retirement rate, you should prioritize **Traditional 401k** contributions first to capture the higher tax arbitrage.
```

**Prompt:** 
```
I have $5,000 extra this month. Where should I put it first?
```

**Response:** 
```
### Recommended Contribution Order
To maximize your tax efficiency, here is where you should put your extra funds:

1. **Employer Match** (Always do this first if available)
2. **HSA Contribution** (Highest tax advantage)
3. **Traditional 401k** (Next best for your current bracket)
4. **Roth IRA** (For long-term tax-free growth)

**Action:** Put the full **$5,000** into your **HSA** first, then any remainder into your **401k**.
```

**Prompt:** 
```
Show me my wealth growth if I put $2,000 a month into a 401k for 25 years.
```

**Response:** 
```
### 25-Year Wealth Projection
Based on an annual contribution of **$24,000** to a 401k with a standard 7% market return:

*   **Total Principal:** $600,000
*   **Estimated Interest:** $765,238
*   **Projected Portfolio Value:** **$1,365,238**

*Note: This projection assumes steady growth and does not account for inflation or specific fund fees.*
```

## Capabilities

### Determine best funding order
Get a prioritized list of which accounts to fund first based on your specific tax bracket.

### See actual tax savings
Calculate exactly how much money you are keeping in your pocket through tax-advantaged accounts.

### Forecast portfolio growth
Project your total retirement balance over time based on your specific contribution plan.

### Compare contribution scenarios
Run different funding models to see which one yields the highest long-term wealth.

### Analyze tax arbitrage
Identify the best opportunities to move money between pre-tax and post-tax accounts.

## Use Cases

### High-earner choosing between HSA and 401k
A user makes $150k and wants to know where their next $1,000 should go. They ask their agent to run determine_optimal_sequence to see which account offers the best tax shield first.

### Projecting the impact of a $10k annual contribution
A user wants to see how a $10k annual investment changes their life. They use project_wealth_growth to see the total portfolio value after 20 years of growth.

### Comparing current vs. future tax brackets
A planner wants to see if a Traditional 401k is better for a client in a 24% bracket now. They use the Connector to compare it against a 15% expected retirement rate.

### Calculating annual tax avoidance
A user wants to know the actual value of their strategy. They use calculate_tax_savings to see that their current plan saves them $2,400 in taxes every year.

## Benefits

- Stop guessing which accounts to fund first by using determine_optimal_sequence to get a clear priority list.
- See the real impact of your choices with calculate_tax_savings showing your annual tax shield in dollars.
- Get a clear view of your future with project_wealth_growth to see your 30-year portfolio balance.
- Maximize your contributions by identifying the best tax arbitrage opportunities for your specific tax bracket.
- Save hours of manual spreadsheet work by letting your agent handle the complex math of retirement modeling.
- Make informed decisions on pre-tax versus post-tax accounts by comparing your current and future tax rates.

## How It Works

The bottom line is you get a clear, data-backed priority list for your retirement savings.

1. Provide your current tax rate and expected retirement age.
2. Input your annual contribution goals and the types of accounts you have available.
3. Get a prioritized list of where to put your money first and see your projected growth.

## Frequently Asked Questions

**What does the US 401k & IRA Optimizer do?**
It helps you determine the most tax-efficient way to fund your retirement accounts. It analyzes your income and tax brackets to tell you which accounts to prioritize.

**Can the US 401k & IRA Optimizer help with tax arbitrage?**
Yes. It specifically looks for opportunities to save you more money by comparing your current tax rates against your projected future rates.

**How do I know which account to fund first?**
The Connector provides a prioritized list. It takes into account factors like employer matches, HSA eligibility, and your specific marginal tax rate.

**Can I see my projected retirement balance?**
Yes. You can use the tool to forecast how your total portfolio will grow over several decades based on your specific contribution plan.

**Does the US 401k & IRA Optimizer work for HSAs?**
Yes. It includes HSAs as a core part of the optimization logic because they offer significant tax advantages for retirement planning.

**How much tax can I actually save?**
The tool calculates your specific annual tax shield. It turns complex tax laws into a clear dollar amount you will save each year.

**How does the optimizer decide which account to fund first?**
The engine follows a strict hierarchy: it always prioritizes Employer Match first, followed by HSA eligibility. Then, it uses `determine_optimal_sequence` to compare your current and future tax rates to decide between Traditional or Roth vehicles.

**Can I use this for HSA planning?**
Yes. The tool checks your `hasHsaEligibility` and prioritizes HSA contributions due to their triple tax advantage.

**What inputs do I need for wealth projection?**
For `project_wealth_growth`, you will need your annual contribution amount, years until retirement, expected return rate, and a breakdown of how much to allocate to each account.