Silhouette Score Engine

Silhouette Score Engine MCP Connector for Claude

A+

Evaluate the quality and cohesion of clustering algorithms (like K-Means) with mathematically perfect Silhouette scores computed local.

1 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Determining whether a clustering algorithm like K-Means actually grouped data effectively is impossible for a text-based LLM. The Silhouette Score is a complex computational metric that measures the distance between data points within the same cluster versus points in neighboring clusters. This engine executes the heavy geometric Euclidean distance calculations in native V8 JavaScript, giving agents the ability to autonomously determine the optimal number of clusters (k).

clusteringmachine-learningdata-evaluationk-meansstatistical-analysis

1 tools expose this connector's capabilities to your AI agent.

calculate_silhouette_score

Provide 2D array data and cluster labels. Calculates the Silhouette score for clustering evaluation

See how to talk to your AI agent using Silhouette Score Engine.

Here are my 2D coordinates and the cluster labels generated by my K-Means script. Calculate the Silhouette Score to see if the clusters are distinct.

The computation has been executed with mathematical precision. All results are exact and ready for review.

I have clustered the same dataset with K=2, K=3, and K=4. Calculate the Silhouette score for all three assignments and tell me which K is the absolute best.

The computation has been executed with mathematical precision. All results are exact and ready for review.

Compute the silhouette score for these customer embeddings. If the score is below 0.3, explain why the clusters might be overlapping.

The computation has been executed with mathematical precision. All results are exact and ready for review.

Scores range from -1 to 1. A score close to 1 means clusters are well separated and dense. A score near 0 means overlapping clusters, and negative means points were assigned to the wrong cluster.

Related Connectors