# Occultation Chord Calculator AI Agent Connect

> Occultation Chord Calculator MCP handles the heavy lifting for astronomical geometry. It calculates ingress, egress, and totality durations while validating the mathematical feasibility of your celestial alignment models. You can quickly classify events as grazing or central based on angular radii and impact parameters.

## Overview
- **Category:** science
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_iSHSaoXckpKPFno1pgXbW3AGDoiIAJQSgKRQEpiZ/ai-agent-connect
- **Tags:** astronomy, occultation, transit, geometry, physics

## Description

You can use this MCP to solve the complex geometry involved in astronomical occultations and transits. Instead of manually calculating timing and obscuration, you provide your agent with angular radii, impact parameters, and relative velocities to get immediate results. It handles the math for determining how long an event lasts and how deep the obscuration goes. You can also use it to check if your proposed parameters actually make sense physically, preventing errors in your astronomical models. It is a specialized tool for anyone modeling how one celestial body passes in front of another.

## Tools

### calculate_event_geometry
This tool computes the physical and temporal characteristics of an occultation or transit. It provides specific data on ingress, egress, and totality durations.

### compare_obscuration_depth
This tool compares the calculated maximum obscuration against a threshold you define. It helps determine if the obscuration meets your specific criteria.

### get_event_classification
This tool identifies the qualitative nature of an event. It uses the geometric relationship to tell you if an occultation is grazing, central, or neither.

### validate_geometric_feasibility
This tool checks if your input parameters represent a mathematically possible alignment. It prevents you from working with impossible celestial configurations.

## Prompt Examples

**Prompt:** 
```
Calculate the geometry for an event where the foreground radius is 5, background radius is 10, impact parameter is 2, and relative velocity is 0.5.
```

**Response:** 
```
The event is a central occultation with an ingress duration of 12.0 seconds, egress duration of 12.0 seconds, and a totality duration of 24.0 seconds.
```

**Prompt:** 
```
Is an event with foreground radius 2, background radius 5, and impact parameter 6 possible?
```

**Response:** 
```
No, the event is not possible because the impact parameter is greater than the sum of the radii.
```

**Prompt:** 
```
Classify an event with foreground radius 1, background radius 10, and impact parameter 5.
```

**Response:** 
```
The event is classified as a grazing occultation.
```

## Capabilities

### Temporal Calculations
Your agent calculates the exact duration of ingress, egress, and totality.

### Event Classification
The MCP identifies whether an event is central or grazing.

### Model Validation
Your agent checks if your celestial parameters are mathematically sound.

### Obscuration Analysis
The tool compares obscuration depth against your specific thresholds.

## Use Cases

### Transit Modeling
Calculate how long a planet will take to cross a star based on velocity and radii.

### Occultation Verification
Check if a specific impact parameter results in a grazing or central event.

### Data Validation
Ensure your astronomical datasets contain mathematically possible alignments.

### Obscuration Thresholding
Compare calculated obscuration depths to specific scientific requirements.

## Benefits

- Eliminates manual geometric calculations for transit durations.
- Prevents errors by validating the feasibility of celestial parameters.
- Provides instant classification of occultation types.

## How It Works

You connect the MCP to your AI client and start asking for calculations.

1. Connect your client to the Vinkius hosted MCP.
2. Provide the necessary radii, impact parameters, and velocities to your agent.
3. Your agent calls the specific tool to process the geometry.
4. You receive the calculated durations or classifications immediately.

## Frequently Asked Questions

**What can this MCP calculate?**
It calculates ingress, egress, and totality durations, as well as event classifications and obscuration depths.

**How do I know if my celestial model is valid?**
You can use the validate_geometric_feasibility tool to check if your parameters represent a possible alignment.

**Can I use this with Claude or Cursor?**
Yes, you can connect this MCP to any MCP-compatible client like Claude, Cursor, or Windsurf.

**What defines a grazing occultation?**
The tool uses the geometric relationship between the radii and the impact parameter to classify an event as grazing.

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

**What kind of astronomical events can I calculate?**
You can calculate the geometry and duration for both occultations and transits by using the `calculate_event_geometry` tool with the appropriate angular radii and velocity.

**How do I know if an event is a grazing or central occultation?**
You can use the `get_event_classification` tool, which analyzes the impact parameter relative to the radii of the celestial bodies to classify the event.

**Can I verify if my input parameters are physically possible?**
Yes, the `validate_geometric_feasibility` tool checks if your provided radii and impact parameter represent a mathematically valid celestial alignment.
