# Magnetic Circuit Reluctance Calculator MCP. AI Agent Connect

> Magnetic Circuit Reluctance Calculator MCP gives your AI client the ability to solve complex electromagnetic problems. It handles everything from basic linear circuit calculations to non-linear modeling using B-H curve data. You can determine magnetic flux, reluctance, and energy stored in air gaps without manual math, letting your agent act as a specialized engineering consultant.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_lK3ACgY3sSxyXs1O4g4NNhomESa4FVlKofYsc83L/ai-agent-connect
- **Tags:** magnetism, electromagnetism, reluctance, inductance, physics-engine

## Description

You can use this MCP to bring high-level electromagnetic physics into your AI-driven design workflow. Instead of manually calculating reluctance or flux density, you tell your agent what the circuit parameters are, and it handles the math. It works for standard linear models, but it also handles the messy reality of material saturation by using B-H curve data for non-linear analysis. Whether you are looking at series or parallel topologies, the MCP accounts for leakage factors and material behavior. It is built for engineers who need to quickly validate magnetic properties, check energy storage in air gaps, or compare impedance across different circuit segments. Your agent can now act as a technical partner that understands the nuances of magnetic flux and magnetomotive force.

## Tools

### analyze_linear_circuit
This tool calculates magnetic parameters for circuits operating within a linear range.

### calculate_gap_energy
Use this to find the specific amount of magnetic energy stored in air gap regions.

### get_circuit_impedance_summary
This tool provides a comparison of the reluctance contributed by the core versus the air gaps.

### solve_nonlinear_circuit
This tool handles magnetic parameter calculations for circuits involving non-linear material behaviors.

## Prompt Examples

**Prompt:** 
```
Calculate the reluctance for a series circuit with a core segment of length 0.1m, area 0.01m2, and permeability 1200, and an air gap of length 0.002m and area 0.01m2.
```

**Response:** 
```
The total reluctance for the series circuit is 1.25e5 Henrys/Weber.
```

**Prompt:** 
```
What is the inductance of a circuit with 500 turns and 2 Amperes of current, given a total reluctance of 5000 H/Wb?
```

**Response:** 
```
The inductance of the circuit is 0.5 Henrys.
```

**Prompt:** 
```
Find the energy stored in an air gap with length 0.005m and area 0.002m2 when the total flux is 0.05 Weber.
```

**Response:** 
```
The magnetic energy stored in the air gap is 0.000625 Joules.
```

## Capabilities

### Linear Modeling
Your agent calculates basic magnetic parameters when the circuit stays in the linear region.

### Non-linear Analysis
The MCP solves for magnetic parameters in circuits where material saturation occurs using B-H curves.

### Energy Calculation
Your agent determines the magnetic energy specifically held within air gaps.

### Impedance Comparison
The tool compares how much reluctance comes from the core versus the air gaps.

### Topology Support
The math accounts for both series and parallel circuit arrangements.

## Use Cases

### Inductor Design
Calculate inductance and energy storage for specific core and air gap geometries.

### Saturation Analysis
Model how non-linear material behavior affects the magnetic circuit as current increases.

### Air Gap Optimization
Determine the energy stored in air gaps to optimize magnetic circuit performance.

### Circuit Validation
Compare core and air gap reluctance to ensure the magnetic circuit meets design specs.

## Benefits

- Removes manual calculation errors by letting your agent handle the physics math.
- Handles material saturation through non-linear B-H curve modeling.
- Provides quick comparisons between core reluctance and air gap reluctance.
- Supports complex topologies including series and parallel configurations.

## How It Works

You connect the MCP to your client and then provide the physical parameters to your agent.

1. Connect your AI client to the Vinkius hosted MCP.
2. Provide the circuit dimensions, material permeability, or B-H curve data to your agent.
3. Your agent calls the appropriate tool, such as analyze_linear_circuit or solve_nonlinear_circuit.
4. The MCP performs the calculation and returns the results to your agent.
5. Your agent presents the final magnetic parameters or energy values to you.

## Frequently Asked Questions

**How do I use this MCP with Claude or Cursor?**
You connect to the Vinkius hosted MCP once, and it becomes available as a tool within any MCP-compatible client like Claude, Cursor, or Windsurf.

**Can this MCP handle magnetic saturation?**
Yes, you use the solve_nonlinear_circuit tool to account for non-linear material behaviors and B-H curve data.

**Does it support different circuit types?**
The MCP supports various topologies, including both series and parallel arrangements.

**What kind of data do I need to provide?**
You typically provide dimensions like length and area, permeability, number of turns, or current, depending on the specific calculation.

**Is there a way to compare core and air gap reluctance?**
Yes, the get_circuit_impedance_summary tool provides a high-level comparison of reluctance contributed by the core versus the air gaps.

**How do I model a material that saturates?**
To model saturation, use the `solve_nonlinear_circuit` tool and provide the `bhCurveData` for your specific material instead of a constant permeability.

**Can I calculate the energy stored in the air gap?**
Yes, you can use the `calculate_gap_energy` tool by providing the total magnetic flux and the geometry of the air gaps.

**Does this support parallel circuit topologies?**
Yes, both `analyze_linear_circuit` and `solve_nonlinear_circuit` support 'series' and 'parallel' topologies.
