---
title: "Getting the Source Right, Not Just the Fact: Source-Aware Verification for MCP Agents"
description: "ProvenanceGuard is a post-generation verifier for MCP-based LLM agents that catches cross-source conflation: claims that are true somewhere in the pooled tool outputs but attributed to the wrong source."
url: "https://swe.quest/articles/getting-the-source-right-not-just-the-fact-source-aware-verification-for-mcp-2c6e889b003bd99e"
canonical: "https://huggingface.co/blog/MultiverseComputingCAI/getting-the-source-right-not-just-the-fact-source"
source: "Hugging Face"
published: "2026-09-29"
difficulty: "hard"
kind: "Research"
reading_minutes: 10
tags: ["evals","ai-agents","llms","rag"]
---

# Getting the Source Right, Not Just the Fact: Source-Aware Verification for MCP Agents

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2026-09-29, 10 min read, Research. Original: [https://huggingface.co/blog/MultiverseComputingCAI/getting-the-source-right-not-just-the-fact-source](https://huggingface.co/blog/MultiverseComputingCAI/getting-the-source-right-not-just-the-fact-source)

## Summary

ProvenanceGuard is a post-generation verifier for MCP-based LLM agents that catches cross-source conflation: claims that are true somewhere in the pooled tool outputs but attributed to the wrong source. It keeps source IDs from the captured MCP trace through every stage. It decomposes answers into claims, routes each claim to a source with MiniLM, checks support with a DeBERTa NLI model plus exact literal-value matching, and compares the supporting source with the one the answer names. A calibrated step then allows or blocks the answer, and blocked answers go to RARR-style repair. On 361 expert-labeled medical claims it caught 138 of 139 unsupported claims, scored 0.802 block F1 against MiniCheck's 0.783 and RAGAS's 0.758, and found the correct source about 86% of the time. That source accuracy fell to 50.3% among similar sources, while overhead was about half a second per answer.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [RAG & retrieval](https://swe.quest/tags/rag.md) (AI & ML)

## Prerequisites

- Model Context Protocol
- retrieval-augmented generation
- natural language inference ([easy posts on Inference & serving](https://swe.quest/tags/inference.md?difficulty=easy))
- LLM faithfulness metrics ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))

## Keywords

ProvenanceGuard, MCP, MiniCheck, RAGAS, RARR, DeBERTa, AlignScore, NVFlow

## Related posts

- [Run, Test, and Evaluate Models and MCP Locally with Docker + Promptfoo](https://swe.quest/articles/run-test-and-evaluate-models-and-mcp-locally-with-docker-promptfoo-ad1578ad40c09850.md): Docker · 2025-09-25 · Medium · 7 min read · Evaluation, AI agents, LLMs, AI safety, Containers
  Promptfoo, Docker Model Runner and Docker MCP Toolkit can be combined to evaluate LLM apps entirely on a dev machine.
- [What We Learned by Reproducing 2,200 papers from ICML](https://swe.quest/articles/what-we-learned-by-reproducing-2-200-papers-from-icml-582affbafe8bbb7a.md): Hugging Face · 2026-08-13 · Medium · 12 min read · AI agents, Evaluation, Machine learning, LLMs
  A community hackathon used coding agents to reproduce 2,226 ICML 2026 papers (about a third of the conference) claim by claim, publishing 6,816 Trackio logbooks judged per claim by an open-weights GLM-5.2 judge.
- [Fact-Checking at Scale: Building a More Accurate and Efficient Synopsis Factuality System](https://swe.quest/articles/fact-checking-at-scale-building-a-more-accurate-and-efficient-synopsis-b4a7ea27d675f2cc.md): Netflix TechBlog · 2026-11-09 · Medium · 11 min read · LLMs, Evaluation, Cost optimization, System design
  Netflix replaced its synopsis fact-checker, which made five long-context (100k+ token) reasoning-model calls per synopsis, with a cascade.
- [The Agentic Analytics Benchmark: Measuring model accuracy and efficiency in analytical agents](https://swe.quest/articles/the-agentic-analytics-benchmark-measuring-model-accuracy-and-efficiency-in-bf2a6cccc514f79e.md): ClickHouse · 2026-09-01 · Medium · 19 min read · Evaluation, AI agents, LLMs, Analytics & OLAP, SQL
  data-agent-mnist is an open harness for benchmarking agentic analytics, built from 201 real questions from ClickHouse's internal agent DWAINE and replayed against a deterministically seeded, anonymized synthetic reconstruction of their dbt warehouse (18 tables, 865 columns).
- [Science One Framework: A verifiable autonomous research framework via Chain-of-Evidence](https://swe.quest/articles/science-one-framework-a-verifiable-autonomous-research-framework-via-chain-of-20f6c93e2fc1e7f0.md): Google Research · 2026-07-30 · Hard · 6 min read · AI agents, Evaluation, LLMs
  Chain-of-Evidence (CoE) is a verifiability framework requiring every claim in an AI-generated research artifact (reference, score, method description, conclusion) to carry a recorded evidence chain that genuinely supports it.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
