# FMEA Risk Priority Calculator AI Agent Connect

> FMEA Risk Priority Calculator MCP gives your AI agent a specialized engine for evaluating process and product failures. It handles the heavy lifting of computing Risk Priority Numbers (RPN) using your specific weighting rules and ranking logic. Instead of manual math, your agent uses this tool to score severity, occurrence, and detection ratings instantly.

## Overview
- **Category:** quality-assurance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_ANA5pUXqF5jEp8nVC0P0UjqS1y06RjaCdFVJAQE2/ai-agent-connect
- **Tags:** fmea, risk-management, quality-control, reliability, safety-analysis

## Description

You can use this MCP to bring mathematical rigor to your Failure Mode and Effects Analysis (FMEA) workflows. Rather than manually calculating scores in a spreadsheet, you hand your raw failure data to your AI client and let it execute the logic. It applies your organization's specific weighting schemes to determine Risk Priority Numbers (RPN) and ranks them based on your defined priority rules. 

Your agent can check the quality of your input data to ensure no critical ratings are missing before it starts the math. Once the scores are generated, your agent can summarize how risk is spread across different failure modes or pinpoint exactly which factors, like severity or occurrence, are driving your highest risks. It turns a tedious manual process into a fast, data-driven conversation with your agent.

## Tools

### analyze_risk_distribution
This tool summarizes how risk is spread across your various failure modes. It helps your agent see the big picture of your risk landscape.

### calculate_rpn_metrics
This tool computes primary risk metrics for failure modes. Your agent uses it to generate specific RPN scores and rankings.

### get_recommended_fields
This tool identifies the most significant risk drivers. It tells your agent which factors are actually pushing your risk scores up.

### validate_data_integrity
This tool assesses the quality of your input data. It ensures your failure mode ratings are complete and ready for calculation.

## Prompt Examples

**Prompt:** 
```
Calculate the RPN metrics for these failure modes: [{'id': 'FM01', 's': 8, 'o': 3, 'd': 2}, {'id': 'FM02', 's': 5, 'o': 5, 'd': 5}] using a multiplicative weighting scheme.
```

**Response:** 
```
The calculated RPN for FM01 is 48 and for FM02 is 125. FM02 is ranked 1st and FM01 is ranked 2nd.
```

**Prompt:** 
```
Analyze the risk distribution for these metrics: [{'failureModeId': 'FM01', 'rpnScore': 100, 'rank': 1, 'contributingFactors': ['S'], 'isDataComplete': true}]
```

**Response:** 
```
The risk distribution shows 1 total mode, with 1 high risk mode and 0 medium or low risk modes. The average RPN is 100.
```

**Prompt:** 
```
What are the primary risk drivers for these metrics: [{'failureModeId': 'FM01', 'rpnScore': 120, 'rank': 1, 'contributingFactors': ['S', 'O'], 'isDataComplete': true}]
```

**Response:** 
```
The primary driver for the high risk profile is Severity (S).
```

## Capabilities

### Automated RPN Scoring
Your agent calculates Risk Priority Numbers using custom weighting schemes.

### Risk Distribution Summaries
Your agent aggregates data to show how many high or low risk modes exist.

### Data Quality Checks
Your agent verifies that all required severity, occurrence, and detection ratings are present.

### Driver Identification
Your agent points out which specific factors are causing the highest risk scores.

## Use Cases

### New Product Development
Run an FMEA on a new design to rank potential failure modes before production starts.

### Process Optimization
Analyze existing manufacturing processes to find where risk is most concentrated.

### Safety Audits
Use your agent to verify that all critical safety risks have been properly scored and ranked.

### Risk Reporting
Generate summaries of risk distribution to present to management or stakeholders.

## Benefits

- Eliminates manual RPN math by letting your agent handle the calculations.
- Standardizes risk scoring using your specific organizational weighting rules.
- Reduces errors by validating data integrity before processing scores.
- Speeds up decision making by identifying primary risk drivers automatically.

## How It Works

You connect the MCP to your AI client and start feeding it failure data.

1. Connect your preferred client like Claude or Cursor to the Vinkius hosted MCP.
2. Provide your failure mode data, including severity, occurrence, and detection ratings.
3. Your agent uses the MCP tools to calculate RPNs and validate the data.
4. Review the ranked results and risk driver analysis provided by your agent.

## Frequently Asked Questions

**How does this MCP calculate RPN?**
The MCP uses the weighting and ranking rules you provide to calculate Risk Priority Numbers for each failure mode.

**Can I use my own weighting schemes?**
Yes, the engine is designed to apply specific organizational weighting schemes to your data.

**Which AI clients can use this MCP?**
You can use this with any MCP-compatible client, including Claude, Cursor, and Windsurf.

**Does it check for missing data?**
Yes, the validate_data_integrity tool allows your agent to check the quality and completeness of your input data.

**Do I need to host this myself?**
No, Vinkius hosts and manages the MCP for you, so it is ready to use immediately after connection.

**How does the tool handle missing data?**
The calculation behavior is determined by the `missingRatingPolicy`. You can choose to use `default_to_max` to treat missing values as the highest possible risk, or `strict_flag` to flag the record as incomplete.

**Can I customize the RPN calculation method?**
Yes. Using `calculate_rpn_metrics`, you can specify a `weightingScheme` such as 'multiplicative' or 'weighted_sum' to match your organization's specific mathematical convention.

**How are ties in risk scores handled?**
You can control tie-breaking via the `rankingPriority` parameter. Setting it to `severity_first` ensures that if two modes have the same RPN, the one with the higher Severity rating is ranked higher.
