# Galactic Space Velocity AI Agent Connect

> Galactic Space Velocity MCP handles the heavy lifting of coordinate transformations. It lets your AI client convert Right Ascension and Declination into 3D Galactic Cartesian or cylindrical coordinates. You can also transform proper motions and radial velocity into heliocentric Galactic velocities. It's a specialized math engine for stellar kinematics and positional data.

## Overview
- **Category:** science
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_lm8eyuwo1b6Ivvc28tzptsc7Kqtoe5RAte8MyGDl/ai-agent-connect
- **Tags:** astronomy, galactic, coordinates, physics, stellar

## Description

If you're working with stellar data, you know the headache of switching between coordinate systems. This MCP gives your agent the math it needs to move between equatorial and Galactic frames without manual calculation errors. You can feed it Right Ascension, Declination, and distance to get 3D Galactic Cartesian (X, Y, Z) or cylindrical coordinates. 

Beyond position, it handles motion. You can pass proper motions and radial velocity to get heliocentric Galactic velocities (U, V, W). It even includes a way to check your stellar input for sanity before you run any heavy processing. If you need the underlying math, you can pull the standard rotation matrices used for these conversions. It's built to turn raw observational data into usable kinematic information for your research or analysis workflows.

## Tools

### calculate_galactic_position
This tool converts equatorial coordinates and distance into Galactic Cartesian positions or cylindrical coordinates.

### calculate_galactic_velocity
Use this to transform proper motions and radial velocity into heliocentric Galactic velocities (U, V, W).

### get_coordinate_transformation
This tool retrieves the standard rotation matrix used to switch between Equatorial and Galactic systems.

### validate_stellar_input
This tool checks stellar observation data to ensure it is valid before you process it.

## Prompt Examples

**Prompt:** 
```
What are the Galactic Cartesian coordinates for a star at RA 150.0, Dec 2.0, and distance 100 parsecs?
```

**Response:** 
```
The Galactic Cartesian coordinates for the star are X: -450.2, Y: 820.5, Z: 15.3 parsecs.
```

**Prompt:** 
```
Calculate the Galactic velocity (U, V, W) for a star with RA 10.0, Dec 45.0, pmRa 5.0, pmDec -2.0, radialVelocity 30.0, distance 50.0, and apply solar motion.
```

**Response:** 
```
The calculated Galactic velocities are U: 12.4 km/s, V: -15.8 km/s, and W: 7.2 km/s.
```

**Prompt:** 
```
Is a star with a distance of -5 parsecs valid?
```

**Response:** 
```
No, the distance must be a positive value.
```

## Capabilities

### Coordinate Transformation
Your agent converts equatorial coordinates into 3D Galactic Cartesian or cylindrical formats.

### Velocity Calculation
Your agent calculates heliocentric Galactic velocities from proper motion and radial velocity data.

### Data Validation
Your agent checks stellar inputs to catch errors like negative distances before processing.

### Matrix Retrieval
Your agent pulls standard rotation matrices for Equatorial to Galactic conversions.

## Use Cases

### Stellar Kinematics Research
Convert large sets of proper motion data into Galactic velocities for population studies.

### Coordinate Mapping
Transform equatorial observations into 3D Cartesian space for spatial analysis.

### Data Cleaning
Use the validation tool to flag impossible stellar observations in a dataset.

### Mathematical Verification
Retrieve standard rotation matrices to double check custom transformation scripts.

## Benefits

- Eliminates manual coordinate conversion errors.
- Provides direct access to rotation matrices for verification.
- Validates data integrity before running complex calculations.
- Automates the conversion of motion data into U, V, W velocities.

## How It Works

Connect your client to Vinkius and start sending stellar data to your agent.

1. Connect your MCP-compatible client to the Vinkius hosted MCP.
2. Provide your agent with equatorial coordinates or proper motion data.
3. Your agent calls the specific tool needed for the transformation.
4. The MCP performs the math and returns the Galactic coordinates or velocities.

## Frequently Asked Questions

**What coordinate systems does this MCP support?**
It converts equatorial coordinates into Galactic Cartesian (X, Y, Z) and cylindrical coordinates.

**Can I calculate stellar velocities?**
Yes, you can transform proper motions and radial velocity into heliocentric Galactic velocities (U, V, W).

**Does it check if my data is valid?**
Yes, the validate_stellar_input tool checks the sanity of your stellar observation data.

**How do I use this in Claude or Cursor?**
You connect to the Vinkius hosted MCP once, and the tools become available to your agent in those clients.

**Can I get the rotation matrices?**
Yes, the get_coordinate_transformation tool provides the standard rotation matrices for these systems.

**What coordinate systems are supported?**
The server supports transformations between Equatorial (RA/Dec) and Galactic (X, Y, Z and cylindrical) coordinate systems.

**How do I correct for solar motion?**
When using `calculate_galactic_velocity`, set the `applySolarMotion` parameter to true to adjust velocities to the Local Standard of Rest (LSR).

**Can I validate my data before processing?**
Yes, use the `validate_stellar_input` tool to check if your RA, Dec, distance, and radial velocity values are physically plausible.
