# Variable Star Period Analyzer AI Agent Connect

> Variable Star Period Analyzer MCP gives your AI agent the mathematical tools needed to process stellar light curve data. It handles the heavy lifting of frequency analysis, helping you identify periodic signals, detect sampling artifacts, and ensure your astronomical research is reproducible.

## Overview
- **Category:** science
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_6E72E253f4bcx5xCmsPWT4qeGYIwlH8T3YF4CSRa/ai-agent-connect
- **Tags:** astronomy, light-curve, periodicity, lomb-scargle, stellar-physics

## Description

If you work with stellar variability, you know that unevenly sampled light curves are a headache. This MCP gives your AI client the specific mathematical functions required to pull meaningful periodic signals out of messy data. Instead of manually running scripts, you can ask your agent to perform frequency analysis using standard methods like Lomb-Scargle, PDM, or BLS. 

Your agent can go beyond simple detection. It can check if a period is a real signal or only a sampling artifact, calculate the precision of a search, and generate the exact parameter grids needed to make your results reproducible. It turns your AI client into a specialized tool for stellar physics, moving from raw data to identified periods without the manual overhead of traditional analysis pipelines.

## Tools

### detect_aliases
This tool identifies potential false signals created by the specific sampling pattern of a light curve.

### analyze_periodicity
This tool runs core frequency analysis on light curve data using chosen mathematical methods.

### calculate_resolution
This tool determines the exact precision of a frequency search.

### generate_parameter_grid
This tool produces a reproducible set of mathematical parameters to recreate your analysis results exactly.

## Prompt Examples

**Prompt:** 
```
Analyze this light curve for periodicity using the Lomb-Scargle method.
```

**Response:** 
```
The analysis identified a significant period of 1.24 days with a power of 45.2 and a False Alarm Probability of 0.001.
```

**Prompt:** 
```
Check if the detected period of 5.5 days has any aliases due to the sampling pattern.
```

**Response:** 
```
The primary period of 5.5 days shows potential aliases at 0.82 days and 1.45 days due to the observation gaps.
```

**Prompt:** 
```
What is the frequency resolution for a search between 0.1 and 10 cycles per day with 500 points?
```

**Response:** 
```
The frequency resolution is 0.0198 cycles per day, and the corresponding period resolution is 0.0505 days.
```

## Capabilities

### Frequency Analysis
Your agent uses this to find repeating patterns in stellar data.

### Artifact Detection
Your agent checks for false signals caused by observation gaps.

### Precision Calculation
Your agent determines how accurate a frequency search actually is.

### Research Reproducibility
Your agent generates parameter grids to replicate specific analysis runs.

## Use Cases

### Stellar Variability Detection
Identify the period of a variable star from a set of unevenly spaced observations.

### Signal Validation
Check if a detected period is a true physical signal or an alias from the sampling pattern.

### Search Precision Audits
Determine the limits of your frequency search resolution before committing to a full analysis.

### Analysis Replication
Generate a parameter grid to ensure your AI agent's findings can be perfectly recreated.

## Benefits

- Automates frequency analysis using Lomb-Scargle, PDM, and BLS.
- Identifies sampling artifacts that mimic real stellar signals.
- Provides exact mathematical parameters for research reproducibility.
- Calculates frequency and period resolution for data sets.

## How It Works

Connect your AI client to Vinkius and start analyzing light curves immediately.

1. Connect your AI client to the Vinkius catalog.
2. Provide your light curve data to your AI agent.
3. Instruct your agent to run specific periodicity or alias detection tools.
4. Receive the mathematical results and parameter grids directly in your chat interface.

## Frequently Asked Questions

**What mathematical methods does this MCP support?**
The MCP supports Lomb-Scargle, PDM, and BLS methods for frequency analysis.

**How does it handle unevenly sampled data?**
It is specifically designed to find periodic signals in light curves that have uneven sampling intervals.

**Can I use this with any AI client?**
Yes, it works with any MCP-compatible client like Claude, Cursor, Windsurf, or VS Code.

**How do I ensure my results are reproducible?**
You can use the generate_parameter_grid tool to get the exact mathematical parameters used in your analysis.

**What is an alias in this context?**
An alias is a false signal that appears in the analysis because of the way the data was sampled over time.

**What methods are supported for periodicity detection?**
The server supports Lomb-Scargle for sinusoidal variations, Phase Dispersion Minimization (PDM) for arbitrary shapes, and Box-Least-Squares (BLS) for detecting periodic dips like planetary transits.

**How can I ensure my analysis is reproducible?**
You can use the `generate_parameter_grid` tool to obtain a specific reproducibility hash and the exact parameter grid used for your analysis.

**Can this tool handle unevenly sampled data?**
Yes, the tools are specifically designed to handle unevenly sampled time-series data, which is common in astronomical observations.
