# Relative Vigor Index (RVI) Calculator MCP for AI Agents AI Agent Connect

> Relative Vigor Index (RVI) Calculator MCP for technical momentum analysis. It lets your AI agent calculate RVI values, track signal lines, and spot momentum shifts like zero-line crosses or price divergences directly from OHLC data.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_71orRl2vaO18hezuCBejxg8cM35O9RMWPqQyk14q/ai-agent-connect
- **Tags:** rvi, momentum, trading, ohlc, indicators

## Description

Calculating momentum indicators usually means jumping between spreadsheets and charting software to manually check for crossovers or divergences. This MCP changes that by giving your AI agent the ability to perform deterministic technical analysis on any price data you provide. Instead of asking your agent to guess if a trend is strengthening, you can have it run precise calculations on open, high, low, and close data. It handles the heavy lifting of identifying zero-line crosses and signal line shifts, turning raw market data into actionable momentum signals. Whether you're looking for a quick statistical snapshot of current volatility or trying to isolate specific divergence events between price and momentum, this tool provides the mathematical certainty your agent needs to be useful. By connecting to the Vinkius catalog, you gain a direct line to these specialized financial calculations without having to write a single line of math-heavy code yourself.

## Tools

### calculate_rvi_metrics
Computes RVI, signal lines, and momentum signals from price data. It provides the core mathematical foundation for momentum analysis.

### detect_divergence_patterns
Finds and describes instances where price and RVI move in different directions. This helps identify potential trend reversals.

### get_rvi_summary
Generates a statistical overview of the current RVI state. It's useful for getting a quick sense of trend and volatility.

## Prompt Examples

**Prompt:** 
```
Calculate the RVI metrics for this OHLC data: [{"open": 100, "high": 105, "low": 95, "close": 102}, {"open": 102, "high": 108, "low": 101, "close": 107}]
```

**Response:** 
```
Based on the provided OHLC data, here are the momentum metrics:

| Metric | Value |
| :--- | :--- |
| **RVI** | 0.142 |
| **Signal Line** | 0.085 |
| **Trend** | Bullish |

The RVI is currently above the signal line, suggesting strengthening upward momentum.
```

**Prompt:** 
```
Is there a current trend in these RVI values: [0.1, 0.2, 0.15, 0.3, 0.4] and signal line values: [0.0, 0.1, 0.1, 0.2, 0.3]?
```

**Response:** 
```
The current trend is **Bullish**. 

* **Momentum:** Increasing
* **Signal Status:** The RVI is trending above the signal line.
* **Observation:** The widening gap between the RVI and the signal line indicates accelerating momentum.
```

**Prompt:** 
```
Check for divergences in this price and RVI data.
```

**Response:** 
```
I analyzed the relationship between the price action and the RVI values. 

**Result:** No significant divergence patterns were detected in this dataset. The price and momentum indicators are currently moving in relative synchronization.
```

## Capabilities

### Calculate momentum metrics
Get precise RVI and signal line values from raw OHLC price data.

### Spot price divergences
Identify when price movement and momentum indicators are moving in opposite directions.

### Summarize market state
Get a high-level statistical overview of current trend and volatility.

### Detect signal crossovers
Find specific moments where the RVI crosses the signal line or the zero line.

## Use Cases

### Detecting momentum exhaustion
A trader notices a price rally and asks their agent to check if the RVI is diverging to see if the move is losing steam.

### Automating trend confirmation
An analyst provides recent OHLC data to confirm if a zero-line cross has actually occurred.

### Scanning for volatility shifts
A quant uses a summary tool to quickly assess if current market vigor is increasing or decreasing.

### Validating technical setups
A user checks if a recent price spike is backed by strong RVI momentum or just noise.

## Benefits

- Eliminate manual math by using calculate_rvi_metrics to process price data instantly.
- Catch trend reversals faster by using detect_divergence_patterns to find price/RVI mismatches.
- Get instant trend snapshots using get_rvi_summary instead of scanning long data tables.
- Identify precise entry and exit points through automated signal line crossover detection.
- Reduce errors in technical analysis by relying on deterministic calculations rather than LLM estimation.

## How It Works

The bottom line is you turn raw price lists into professional-grade momentum signals.

1. Feed your OHLC (Open, High, Low, Close) price data to your AI client.
2. The agent uses the RVI tools to process the numbers and identify patterns.
3. You receive a clear breakdown of momentum trends, signal crosses, or divergences.

## Frequently Asked Questions

**How can I use the Relative Vigor Index (RVI) Calculator MCP for my trading?**
You can use it to automate the calculation of momentum indicators and signal line crossovers. Instead of manual math, your agent can process price data to find specific RVI trends.

**Can this Relative Vigor Index (RVI) Calculator MCP detect trend reversals?**
Yes. By identifying divergences between price and RVI, the tool helps you spot when a trend is losing its strength and might be about to reverse.

**Does the Relative Vigor Index (RVI) Calculator MCP work with any price data?**
It works with any standard OHLC (Open, High, Low, Close) data you provide to your AI client.

**Is the Relative Vigor Index (RVI) Calculator MCP accurate for technical analysis?**
Yes, it provides deterministic mathematical calculations, which is much more reliable than asking an AI to estimate indicators based on visual charts.

**How do I find signal line crossovers with the Relative Vigor Index (RVI) Calculator MCP?**
Your agent can use the calculation tools to monitor the relationship between the RVI and the signal line, alerting you whenever a crossover occurs.

**What signals can this tool identify?**
The tool identifies zero-line crosses, signal crossovers, and bullish or bearish divergences using `calculate_rvi_metrics` and `detect_divergence_patterns`.

**How is the RVI smoothed?**
RVI components are smoothed using a Simple Moving Average (SMA) over a user-defined period, which defaults to 10.

**What data format is required?**
The tools require JSON arrays of OHLC (Open, High, Low, Close) price data or arrays of RVI/Signal Line float values.