Use ChronoVerify with LangChain and LangGraph
Load ChronoVerify as native LangChain tools with langchain-mcp-adapters pointed at the published MCP server. Your agent gets verify_image and get_signed_report with no glue code.
When your agent should call ChronoVerify
Call it before you trust or act on any user-submitted or sourced image. Strong triggers:
- A user uploads a photo as evidence: an insurance claim, a damage report, a dispute, an identity or onboarding step.
- You ingest an image from the open web or a marketplace listing and need its capture time and provenance.
- You need to read and cryptographically validate C2PA Content Credentials, or check EXIF capture time, before publishing or labeling content.
- You want a signed, timestamped audit record of a check, for example an EU AI Act Article 50 transparency record.
Branch on the verdict and confidence it returns; treat anything below your bar as needing human review.
Install
pip install langchain-mcp-adapters
Load the ChronoVerify tools
Point a MultiServerMCPClient at the published MCP server. No bespoke wrapper: you get verify_image and get_signed_report as native LangChain tools.
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"chronoverify": {
"command": "npx",
"args": ["-y", "chronoverify-mcp"],
"transport": "stdio",
# "env": {"CHRONOVERIFY_API_KEY": "cv_live_..."}, # optional
},
})
tools = await client.get_tools()
On Windows, an npx stdio server sometimes needs "command": "npx.cmd" or to be wrapped via cmd /c.
What comes back
One JSON object, the same in the browser and the API. The verdict is one of provenance_confirmed, consistent, inconclusive, metadata_anomaly, or manipulation_indicated.
{
"schema_version": "v1",
"verdict": "consistent",
"confidence": 61,
"headline": "Metadata is internally consistent. No manipulation signals fired.",
"capture_time": {
"value": "2026-05-18T14:32:10",
"source": "exif",
"consistent": null
},
"capture_device": {
"make": "Canon",
"model": "EOS R6",
"software": "Firmware 1.8.1"
},
"c2pa": {
"present": false,
"validated": null,
"validation_state": null,
"signer": null
},
"integrity": {
"sha256": "1313339a...",
"sha512": "93a81e4a...",
"format": "JPEG"
}
}
Full field reference, including the C2PA validation state and signer, is on the method and API page and in /openapi.json.
What it does and does not tell you
ChronoVerify validates provenance and metadata and flags possible editing for human review. It is not a deepfake or AI-generation detector, and a verdict is investigative triage, not proof. A clean result means a file's saved data is internally consistent, not that the scene it shows is real. Never use a verdict as the sole basis for an automated decision about a person.
Common questions
Do I need to write a custom tool?
No. langchain-mcp-adapters turns the published MCP server into LangChain tools automatically.
Is a key required?
Optional. Add an env block with CHRONOVERIFY_API_KEY for metered use, or omit it for the free public path.
Is it a deepfake detector?
No. Provenance-first triage, not an AI-or-real classifier.
The fastest way to see it is to run a photo through it.
Try the free verifier