Distance Metrics Engine MCP Connector for Claude
A+Calculate mathematically perfect Cosine, Euclidean, Manhattan, and Chebyshev distances between high-dimensional vectors local. Essential for embedding comparisons.
When working with embeddings in machine learning, calculating the Cosine Similarity between two 1024-dimensional vectors is a fundamental task. LLMs cannot perform this calculation accurately — they will approximate and get it wrong.
This MCP delegates the vector math to ml-distance locally, allowing the AI to perfectly compute similarity and distance metrics without cloud-API dependencies or math hallucinations.
The Superpowers
- Zero Hallucination: Exact vector distances computed locally by your CPU.
- Full Metric Suite: Cosine, Euclidean, Manhattan, and Chebyshev distances with both distance and similarity values.
- High-Dimensional Support: Handles 1536-dimensional OpenAI embeddings in milliseconds.
- Data Privacy: Your embedding vectors and model weights never leave your machine.
Related Connectors
MinHash Text Deduplicator MCP
Detect near-duplicate texts using MinHash signatures and Jaccard similarity.
Comparison Copy Fairness Scorer MCP
Audit marketing copy and comparison tables for claim verifiability, feature balance, and disparagement risk.
Serialization Size Comparator MCP
Compare storage and token efficiency between JSON, YAML, and CSV formats.
Soccer Formation Analyzer MCP
Calculate team geometry, player spacing, and tactical coverage.