# Negative Volume Index Calculator MCP for AI Agents AI Agent Connect

> Negative Volume Index Calculator MCP identifies smart money movement in financial markets. It calculates NVI and PVI indices to help you spot institutional accumulation or distribution by analyzing the relationship between price action and trading volume.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_MFymiIgJBHvoHNiCjaegKgYAIFxd3kL4dro8fkN7/ai-agent-connect
- **Tags:** nvi, pvi, trading, volume, sentiment

## Description

Trading often feels like trying to read a map in a storm. You see price moving, but you can't tell if it's driven by genuine institutional interest or just retail noise. This MCP changes that by giving your AI client the ability to look directly at volume-price relationships. Instead of guessing if a price breakout is real, you can use these tools to see if smart money is actually backing the move. 

By connecting this to your agent via Vinkius, you move away from lagging indicators and toward a more deterministic way of reading market sentiment. You can generate time-series data for volume indices, detect whether the market is in a bull or bear regime, and spot the specific moments where price and volume stop moving in sync. It turns your AI from a simple chatbot into a technical analyst that can spot divergence and confirm trends based on how volume flows through the market.

## Tools

### analyze_market_sentiment
Detects bull or bear regimes and confirms smart money activity. It helps you understand the current market direction.

### calculate_divergence
Finds discrepancies between price movement and volume indices. This identifies when a trend might be losing steam.

### calculate_volume_indices
Generates raw NVI and PVI time-series data. It provides the foundation for all volume-based analysis.

## Prompt Examples

**Prompt:** 
```
Here is my data: Prices [150, 152, 151, 155] and Volumes [1000, 1100, 950, 1300]. Calculate the volume indices.
```

**Response:** 
```
I've processed your data. Here are the calculated indices:

| Period | Price | Volume | **NVI** | **PVI** |
| :--- | :--- | :--- | :--- | :--- |
| 1 | 150 | 1000 | 100.0 | 100.0 |
| 2 | 152 | 1100 | 101.2 | 101.1 |
| 3 | 151 | 950 | 100.5 | 100.8 |
| 4 | 155 | 1300 | 102.8 | 102.4 |
```

**Prompt:** 
```
Is the smart money buying this current trend?
```

**Response:** 
```
Based on the recent data, **yes, there is smart money confirmation**. 

The NVI is trending upward alongside the price, which suggests that institutional players are accumulating positions during these moves. This indicates a healthy, high-conviction trend rather than retail-driven volatility.
```

**Prompt:** 
```
Does this price move look like a fakeout?
```

**Response:** 
```
There is a **significant divergence** detected. 

While the price has reached a new local high, the volume indices are trending lower. This mismatch suggests that the current upward momentum lacks the volume support typically seen in strong trends, increasing the risk of a reversal.
```

## Capabilities

### Generate volume index series
Creates raw NVI and PVI time-series data from your provided price and volume history.

### Detect market regimes
Identifies whether the current market environment is in a bull or bear state based on index trends.

### Spot smart money movement
Confirms institutional accumulation or distribution by checking index alignment with price.

### Identify price-volume divergence
Finds discrepancies where price action and volume indices are moving in opposite directions.

## Use Cases

### Confirming a breakout
A trader sees a price spike and uses analyze_market_sentiment to see if the NVI is rising, confirming institutional backing.

### Spotting a trend reversal
An analyst uses calculate_divergence to find when price is making new highs but the NVI is falling, signaling a weak trend.

### Regime switching
A quant uses the volume indices to detect when the market has shifted from a bull to a bear regime to adjust risk.

### Validating low-volume moves
A user checks if a price move is just retail noise by comparing it against the PVI and NVI series.

## Benefits

- Identify institutional accumulation by using analyze_market_sentiment to confirm smart money trends.
- Catch failing breakouts early by using calculate_divergence to find price and volume mismatches.
- Automate technical analysis by using calculate_volume_indices to process raw market data instantly.
- Determine market regimes quickly to decide whether to stay long or move to cash.
- Remove guesswork from volume analysis by relying on deterministic NVI and PVI calculations.

## How It Works

The bottom line is you get deterministic volume-based insights instead of manual calculations.

1. Provide your historical price and volume data to your AI client.
2. The agent runs the calculations to generate NVI and PVI series.
3. You receive a clear analysis of market sentiment and potential divergences.

## Frequently Asked Questions

**How can I use the Negative Volume Index Calculator to find trends?**
You can use it to see if price increases are happening on low volume (suggesting smart money accumulation) or if price moves are being driven by retail noise.

**Can I use this Negative Volume Index Calculator with Claude or Cursor?**
Yes, you can connect this MCP to any compatible client like Claude, Cursor, or Windsurf to perform volume analysis directly within your chat interface.

**What is the difference between NVI and PVI in this tool?**
The Negative Volume Index (NVI) helps identify institutional trends, while the Positive Volume Index (PVI) tracks trends driven by high-volume days. This tool calculates both to give you a full picture.

**Will the Negative Volume Index Calculator help me spot market reversals?**
Yes, by identifying divergences where price continues to move in one direction while the volume indices move in the other, you can spot potential trend exhaustion.

**Do I need to provide my own market data to the Negative Volume Index Calculator?**
Yes, you provide the price and volume history to your AI agent, and the tool performs all the mathematical heavy lifting for you.