Minimum Spanning Tree Calculator MCP Connector for Claude
A+Calculate Minimum and Maximum Spanning Trees using Kruskal's and Prim's algorithms.
This MCP server provides algorithmic tools to find the Minimum Spanning Tree (MST) and Maximum Spanning Tree of a graph. Using compute_kruskal_mst, you can identify the lowest-weight edges that connect all nodes without cycles, which is ideal for network design. The compute_prim_mst tool allows you to grow a tree from a specific starting node by always selecting the cheapest available connection. For scenarios where you need to maximize connectivity weight, use compute_max_spanning_tree. All tools accept an edge list format and can identify if the resulting structure is a single tree or a spanning forest.
Related Connectors
Phylogenetic Tree Construction MCP
Construct evolutionary trees and calculate genetic distances from sequence alignments.
Dialogue Tree Complexity Analyzer MCP
Analyze structural complexity, branching, and localization costs of dialogue trees.
Max Pain Calculator MCP
Determine the exact strike price that minimizes total loss for all option holders and assess pin risk.
WebSocket Capacity Planner MCP
Estimate WebSocket connection limits, server fleet requirements, and network overhead.