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
Axiom MCP
Manage logs and observability data via Axiom — ingest data, run APL queries, and manage datasets or monitors directly from any AI agent.
Scoro MCP
Bring your Scoro end-to-end work management platform into your AI workflows — query projects, invoices, and time logs seamlessly.
4D MCP
Standard REST API for 4D Database — explore catalogs, query DataClasses, and manage entities via AI.
EIA State Energy — U.S. Regional Energy Data MCP
State-level energy data spanning 65 years: production, consumption, prices, and expenditures for ALL energy sources by state and sector (SEDS), the comprehensive Monthly Energy Review (MER), and nuclear reactor outage tracking.