# Gravitational Lens Calculator AI Agent Connect

> Gravitational Lens Calculator MCP provides your AI client with the mathematical tools needed to model point-mass gravitational lensing. It handles the heavy lifting for calculating angular scales, image positions, magnification, and time delay components like Shapiro delays.

## Overview
- **Category:** science
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_XLtUpMyAAXDRJXyK9FEExns1ZQJylKQ9HW0ehEwU/ai-agent-connect
- **Tags:** lensing, gravity, einstein, astronomy, physics

## Description

You can now bring precise gravitational lensing physics directly into your agent-driven research workflow. This MCP gives your agent the ability to solve the complex geometry of point-mass lensing systems without you having to manually run scripts or solve differential equations. You can use it to find the Einstein radius for a specific mass and distance configuration, or to determine exactly where lensed images will appear and how much they will be magnified. It also handles time delay analysis, covering both geometric and gravitational delays. If you are working with specific telescope constraints, the MCP can check if your predicted images will actually be resolved based on your observer's angular resolution. It turns your AI client into a specialized astrophysics tool capable of validating lensing scenarios and calculating fundamental scales on demand.

## Tools

### calculate_image_properties
This tool computes the specific positions and magnification levels for each lensed image produced by the mass.

### calculate_lens_geometry
Use this to find the fundamental angular scales of a lensing system.

### calculate_time_delays
This tool calculates the various time delay components, including geometric and Shapiro delays, for lensed images.

### classify_lensing_scenario
This tool determines if images are resolved based on angular resolution and validates your model assumptions.

## Prompt Examples

**Prompt:** 
```
Calculate the Einstein radius for a lens with mass 1e12 solar masses, observer-lens distance of 500 Mpc, and lens-source distance of 1000 Mpc.
```

**Response:** 
```
The calculated Einstein radius is 1.45 arcseconds.
```

**Prompt:** 
```
What are the image positions and total magnification if the Einstein radius is 2.0 arcseconds and the source offset is 0.5 arcseconds?
```

**Response:** 
```
The images are located at 2.5 arcseconds and -1.5 arcseconds from the lens center, with a total magnification of 2.5.
```

**Prompt:** 
```
Are the images resolved if the separation is 4.0 arcseconds and my telescope resolution is 1.0 arcsecond?
```

**Response:** 
```
Yes, the images are resolved.
```

## Capabilities

### Angular Scale Calculation
Your agent calculates the fundamental geometry of a lensing system.

### Image Property Modeling
Your agent determines the exact position and magnification of individual images.

### Time Delay Analysis
Your client computes geometric and Shapiro delay components.

### Resolution Validation
The MCP checks if predicted images meet specific angular resolution requirements.

## Use Cases

### Mass Modeling
Calculate the Einstein radius for a given mass and distance setup.

### Observational Planning
Determine if a specific lensing event will produce resolvable images for a given telescope.

### Time Delay Studies
Analyze the components of time delays to study lens mass distributions.

### Image Mapping
Find the exact angular positions and magnification of lensed images.

## Benefits

- Moves complex lensing math from manual scripts to direct AI prompts.
- Calculates both geometric and Shapiro delays in one workflow.
- Validates model assumptions against observer resolution limits.
- Provides immediate image position and magnification data.

## How It Works

Connect your AI client to Vinkius and start running physics calculations immediately.

1. Connect your preferred client like Claude or Cursor to the Vinkius platform.
2. Provide the mass, distance, or radius parameters in a natural language prompt.
3. Your agent invokes the specific tool needed for the calculation.
4. Receive the calculated positions, delays, or magnification directly in your chat.

## Frequently Asked Questions

**What kind of lensing models does this MCP support?**
This MCP is specifically designed for modeling point-mass gravitational lensing.

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

**Does it calculate Shapiro delays?**
Yes, the calculate_time_delays tool handles both geometric and gravitational (Shapiro) delays.

**How do I know if my images will be resolvable?**
You can use the classify_lensing_scenario tool to check if images are resolved based on your observer's angular resolution.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you. You connect and use it.

**What kind of lensing models are supported?**
The server specifically supports point-mass gravitational lensing models, calculating Einstein radii, image properties, and time delays.

**How do I know if my images are resolved?**
You can use the `classify_lensing_scenario` tool by providing the image separation and the angular resolution of your instrument.

**Does this include Shapiro delay?**
Yes, the `calculate_time_delays` tool provides both the geometric delay and the gravitational delay (Shapiro delay).
