# Marginal Emissions Factor Calculator AI Agent Connect

> Marginal Emissions Factor Calculator MCP lets your AI client analyze grid dispatch data to find the carbon intensity of incremental load. It identifies the specific marginal unit responsible for meeting new demand by looking at grid imports and dispatch patterns. You can check grid headroom, compare different selection rules, and summarize emissions over time.

## Overview
- **Category:** analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_ihrzxic8LBzFRY33xhBCmuuhhpzrPCXowLGU77gD/ai-agent-connect
- **Tags:** emissions, electricity, carbon, grid, dispatch

## Description

You can use this MCP to pinpoint exactly how much carbon is added to the grid when demand increases. Instead of looking at average grid intensity, this tool focuses on the marginal unit. It looks at dispatch data and grid imports to find the specific source responsible for the next unit of load. You can use it to see if the grid can actually handle a new load increase or if you'll be forced to ramp up dirtier peaking plants. It also lets you test how different selection rules change your results, which is vital when you need to understand the sensitivity of your carbon modeling. Whether you are checking headroom or smoothing out temporal data, this MCP gives your agent the specific grid-level data needed for accurate carbon accounting.

## Tools

### aggregate_temporal_factors
This tool summarizes or smooths marginal emissions over time. It is useful for creating daily or weekly emission windows.

### analyze_dispatch_sufficiency
This tool checks if the grid can support a specific load increase. It evaluates available headroom to see if the system can meet new demand.

### calculate_marginal_emissions
This tool determines the carbon intensity of incremental demand. It finds the specific impact of adding more load to the system.

### compare_selection_rules
This tool evaluates how different methodology rules change your emissions results. It helps you understand the sensitivity of your carbon calculations.

## Prompt Examples

**Prompt:** 
```
Calculate the marginal emissions for an incremental load of 50MW using cost order.
```

**Response:** 
```
The marginal source is Natural Gas Unit 4, with an incremental emission of 25.5 kg CO2e.
```

**Prompt:** 
```
Check if the grid can support a 100MW increase.
```

**Response:** 
```
The system has 150MW of available headroom and can meet the load.
```

**Prompt:** 
```
Summarize these emission factors into daily windows.
```

**Response:** 
```
The aggregated daily emission factors are [45.2, 42.8, 48.1].
```

## Capabilities

### Incremental Load Analysis
Your agent uses this to find the carbon impact of adding specific amounts of power demand.

### Grid Headroom Verification
Your agent checks if the current grid state can handle a requested increase in load.

### Methodology Sensitivity Testing
Your agent compares different selection rules to see how they change the calculated emissions.

### Temporal Data Smoothing
Your agent aggregates emission factors into specific time windows like days or weeks.

## Use Cases

### New Load Impact Assessment
Determine the carbon cost of adding a new data center or factory to a specific grid.

### Grid Capacity Planning
Check if the existing grid can support a planned 100MW increase without failing.

### Carbon Accounting Audits
Compare different selection rules to ensure carbon reporting is robust and accurate.

### Emission Trend Reporting
Aggregate marginal emission factors into daily windows for periodic reporting.

## Benefits

- Identifies the specific marginal unit responsible for new load.
- Provides headroom checks to prevent overestimating grid capacity.
- Allows for sensitivity testing across different selection rules.
- Simplifies temporal emission data through aggregation.

## How It Works

Connect your client to Vinkius and start querying grid data immediately.

1. Connect your MCP-compatible client to the Vinkius hosted MCP.
2. Ask your agent to calculate emissions or check grid headroom.
3. The MCP pulls dispatch and import data to find the marginal unit.
4. Your agent receives the specific carbon intensity or headroom value.
5. Use the results to inform your energy or sustainability models.

## Frequently Asked Questions

**What is a marginal emissions factor?**
It is the carbon intensity of the next unit of electricity demand. This tool finds the specific unit responsible for meeting that new load.

**Which AI clients can use this MCP?**
You can use this with any MCP-compatible client like Claude, Cursor, Windsurf, or VS Code.

**How does the tool determine grid headroom?**
It uses the analyze_dispatch_sufficiency tool to check if the grid can support a specific load increase.

**Can I compare different carbon calculation methods?**
Yes, the compare_selection_rules tool lets you evaluate how different rules change your emissions results.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you. You just connect your client and start working.

**How is the marginal unit determined?**
The marginal unit is identified by applying the selected rule, such as `cost_order` or `emission_order`, to the available headroom in the system.

**What happens if the grid cannot meet the requested load?**
If the requested load exceeds available capacity, the `isInsufficientDispatch` flag will be true in the result.

**Can I compare different selection methodologies?**
Yes, use the `compare_selection_rules` tool to see how different logic changes the resulting emissions factor.
