# Canine Kinship Matrix AI Agent Connect

> Canine Kinship Matrix MCP gives your AI client the ability to process complex canine pedigrees. It calculates kinship coefficients, identifies shared ancestral paths, and evaluates how missing data affects your genetic analysis. Use it to manage breeding populations or research lineage depth through any MCP-compatible client.

## Overview
- **Category:** data-analysis
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_4npSkjWA8tgP67q8YLktqp3GeohW1pi8KvVEDeIo/ai-agent-connect
- **Tags:** kinship, pedigree, canine, genetics, ancestry

## Description

You can now give your AI agent the ability to handle heavy lifting for canine genetic research. Instead of manually tracing lineages, you use this MCP to run mathematical models on pedigree data. It handles the math behind kinship coefficients and identifies exactly how two dogs are related through shared ancestors. If you are working with incomplete records, the MCP quantifies how much uncertainty those gaps introduce into your kinship calculations. You can also check the depth of a pedigree to understand the complexity of the breeding lines you are analyzing. It turns raw pedigree lists into actionable genetic maps.

## Tools

### trace_ancestor_paths
Use this to find the specific lineages that connect two specific dogs.

### calculate_kinship_matrix
Use this to compute the full relationship landscape for a specific group of dogs.

### analyze_pedigree_depth
This tool determines the effective depth and complexity of a provided pedigree.

### evaluate_missing_data_impact
This tool quantifies the uncertainty in kinship calculations caused by missing ancestral information.

### rank_kinship_pairs
This tool sorts and identifies the most closely related dogs within a group.

## Prompt Examples

**Prompt:** 
```
Calculate the kinship matrix for dogs with IDs 'dog1', 'dog2', and 'dog3' using this pedigree: {"dog1": ["dog4"], "dog4": ["dog1", "dog2"], "dog2": []}
```

**Response:** 
```
The kinship matrix has been calculated. The relationship between dog1 and dog2 is 0.25, and the matrix is mathematically symmetric.
```

**Prompt:** 
```
Find the shared ancestor paths between 'dog_a' and 'dog_b' in this pedigree: {"dog_a": ["anc_1"], "dog_b": ["anc_1"], "anc_1": []}
```

**Response:** 
```
The dogs are connected through the common ancestor 'anc_1'.
```

**Prompt:** 
```
What is the effective depth of this pedigree: {"dog1": ["dog2"], "dog2": ["dog3"], "dog3": []}
```

**Response:** 
```
The effective depth of the pedigree is 3 generations, indicating a moderate complexity.
```

## Capabilities

### Kinship Calculation
Your agent calculates the mathematical relationship between any two dogs in a set.

### Lineage Tracing
Your agent identifies the specific paths of ancestors connecting individuals.

### Data Uncertainty Assessment
Your client evaluates how missing pedigree information affects the reliability of results.

### Pedigree Complexity Analysis
The MCP measures the depth and structure of breeding lines.

### Relationship Ranking
Your agent identifies the most closely related pairs within a population.

## Use Cases

### Inbreeding Risk Management
Use the ranking tool to find the most closely related dogs in a breeding program.

### Lineage Verification
Trace the exact paths of ancestors to confirm specific genetic connections.

### Data Integrity Checks
Assess how much missing information might skew your kinship results.

### Population Mapping
Generate a full kinship matrix to see the relationship landscape of a whole group.

## Benefits

- Automates the math for kinship coefficients.
- Identifies specific ancestral links between individuals.
- Quantifies the impact of missing pedigree data.
- Ranks relatedness across entire dog groups.

## How It Works

Connecting this MCP to your AI client gives it immediate access to genetic analysis tools.

1. Connect your AI client to the Vinkius-hosted MCP.
2. Provide your pedigree data in a structured format to your agent.
3. Ask your agent to perform a specific analysis like calculating kinship or tracing paths.
4. The MCP executes the math and returns the results to your client.

## Frequently Asked Questions

**What AI clients can use this MCP?**
You can use this MCP with any compatible client, including Claude, Cursor, Windsurf, and VS Code.

**How does it handle missing pedigree information?**
The MCP includes a tool to evaluate the impact of missing data, quantifying the uncertainty in your kinship calculations.

**Can I use this to find specific ancestors?**
Yes, the trace_ancestor_paths tool identifies the specific lineages connecting two dogs.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you. You connect your client and start working.

**What kind of data does the kinship matrix provide?**
It provides a full relationship landscape for a group of dogs, showing how they are related to one another.

**How do I calculate the relationship between a group of dogs?**
You can use the `calculate_kinship_matrix` tool by providing a list of dog IDs and the pedigree data in a JSON format.

**Can I see the specific paths connecting two dogs?**
Yes, the `trace_ancestor_paths` tool identifies the specific lineages and common ancestors that link two subjects.

**What happens if some parents are missing from my pedigree data?**
You can use `evaluate_missing_data_impact` to quantify the uncertainty and see how missing parents might skew your kinship results.
