# Site-Grid Coordinate Transformer AI Agent Connect

> Site-Grid Coordinate Transformer MCP handles high-precision geometric transformations for surveying and construction projects. Your AI client can move spatial points between local construction grids, project-specific coordinate systems, and custom reference frames. It manages the math for translations, rotations, and scaling while providing the quality control needed for field accuracy.

## Overview
- **Category:** construction
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_4ddKDL09Zm7qRYZ2ELxatlqK7xUbLReQcctQGTyC/ai-agent-connect
- **Tags:** coordinates, surveying, transformation, spatial, precision

## Description

You can use this MCP to bridge the gap between different spatial data sets on a job site. Instead of manually calculating shifts between a local site grid and a global reference system, you let your AI agent handle the heavy lifting. It performs the math required to translate, rotate, and scale coordinates without losing the precision your project demands. 

When you're moving between a project-specific coordinate system and a standard reference frame, the math gets messy. This MCP keeps things tight by allowing your agent to validate control points and check for errors. You can run residual checks to ensure the transformation is stable before you ever send data to the field. It's built for the rigorous quality control required in heavy civil and commercial construction, where a small coordinate error can lead to massive site issues. Your agent can audit the entire transformation process, providing a clear summary of the parameters used for any specific setup.

## Tools

### get_transformation_summary
This tool generates a high-level audit of the transformation parameters. It shows exactly how a project setup was configured.

### calculate_residual_error
This tool calculates the error introduced during the transformation process. It provides the numerical data needed for quality control.

### transform_point
This tool performs the core mathematical conversion of a single spatial point. It moves data from one coordinate system to another.

### verify_control_points
This tool checks if your set of control points is stable enough for the requested transformation. It ensures the math holds up against your reference data.

## Prompt Examples

**Prompt:** 
```
Transform the point with ID 'P1' at X=10, Y=20 to a new system with translation X=5, Y=5, rotation 0, and scale 1, using meters.
```

**Response:** 
```
The transformed coordinates for point P1 are X=15.0, Y=25.0 in meters.
```

**Prompt:** 
```
Check if these control points are stable: [{'id': 'C1', 'x': 0, 'y': 0}, {'id': 'C2', 'x': 10, 'y': 10}] with a minimum of 2 points and max residual of 0.05.
```

**Response:** 
```
The control points are stable with a stability score of 0.95.
```

**Prompt:** 
```
What is the summary for a transformation with translationX=2, translationY=3, rotationAngle=45, scaleFactor=1.1 from meters to feet?
```

**Response:** 
```
The transformation summary shows a total shift of 3.61 units and a scale ratio of 1.1.
```

## Capabilities

### Spatial Point Conversion
Your agent moves individual points between different coordinate systems.

### Stability Validation
Your agent checks if your control points provide enough stability for a transformation.

### Error Quantification
Your agent calculates residual errors to maintain quality control.

### Parameter Auditing
Your agent provides a summary of all transformation parameters used in a setup.

### Geometric Scaling
Your agent applies scaling and rotation to coordinate sets.

## Use Cases

### Site Grid Alignment
Convert survey points from a local site grid to a project-specific coordinate system.

### Quality Control Audits
Run residual error checks to ensure transformations meet precision requirements.

### Control Point Verification
Check if a set of points is sufficient to support a new coordinate frame.

### Parameter Summarization
Generate a summary of translation, rotation, and scale for a specific project setup.

## Benefits

- Reduces manual math errors in coordinate transformations.
- Provides a mathematical audit trail for each spatial shift.
- Validates control point stability before applying transformations.
- Maintains rigorous quality control through residual error checks.

## How It Works

Connecting this MCP to your AI client gives your agent immediate access to precision geometry tools.

1. Connect your AI client to the MCP via Vinkius.
2. Provide your agent with the source and target coordinate parameters.
3. Your agent uses the transformation tools to process the points.
4. Your agent validates the results using residual error and stability checks.

## Frequently Asked Questions

**What can this MCP do with survey data?**
It converts survey points between local grids, project coordinates, and user-defined reference frames.

**How does the MCP ensure accuracy?**
It uses tools to calculate residual errors and verify the stability of control points.

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

**Can I audit the transformation parameters?**
Yes, the tool provides a transformation summary that acts as a high-level audit of the parameters used.

**Does this MCP handle rotation and scaling?**
Yes, it performs translations, rotations, and scaling during the point conversion process.

**What can I transform with this tool?**
You can transform individual points using `transform_point` or validate entire sets of points using `verify_control_points` to ensure stability.

**How do I check the accuracy of my transformation?**
You can use `calculate_residual_error` to quantify the euclidean and angular error between transformed points and known benchmarks.

**Can I get an audit of my transformation parameters?**
Yes, the `get_transformation_summary` tool provides a high-level audit including total shift, angular offset, and scale ratio.
