Retrieval Relevance Scorer

Retrieval Relevance Scorer MCP Connector for Claude

A+

A deterministic scoring engine that filters retrieved documents using Jaccard, TF-IDF, and coverage metrics.

3 tools Official Updated Oct 1, 2026 Official Vinkius Partner

This MCP server provides a deterministic scoring engine to solve the noise and hallucination problems in RAG (Retrieval-Augmented Generation). It evaluates the relationship between a query and retrieved documents using three mathematical metrics: Jaccard Similarity for keyword overlap, TF-IDF Cosine Similarity for term importance, and Query Term Coverage for information density. Use score_documents to filter out irrelevant context, get_scoring_config to inspect weight distributions, or analyze_coverage_gap to diagnose why specific terms are missing from your retrieval set. It is designed to ensure only high-signal text reaches your AI client.

ragtfidfjaccardfilteringdeterministic

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

analyze_coverage_gap

Identifies which specific terms from a query are missing from the provided document set

get_scoring_config

Retrieves the current operational scoring parameters and weight distributions

score_documents

Calculates relevance scores for a collection of documents against a single query

See how to talk to your AI agent using Retrieval Relevance Scorer.

Score these documents for the query 'climate change impact on oceans': ['The oceans are warming due to climate change.', 'The weather is sunny today.']

The first document has a high relevance score due to exact keyword overlap and coverage, while the second document is filtered out.

What are the default weights used by the engine?

The default weights are 0.3 for keyword, 0.5 for tfidf, and 0.2 for coverage.

Check if the term 'photosynthesis' is present in my documents.

The term 'photosynthesis' is missing from the provided document set.

The engine calculates a composite score by combining Jaccard similarity, TF-IDF cosine similarity, and query term coverage using configurable weights.

Related Connectors