VeriSight MCP
Maintains and retrieves immutable audit trails and cloud ledger records in Amazon DynamoDB for VeriSight fraud-detection evidence.
Stores cryptographic evidence dossiers and forensic audit artifacts in Amazon S3 evidence vaults.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
š¬ VeriSight MCP ā Autonomous Physical AI Visual Forensics Engine
Sub-3ms Physical AI and multi-spectral visual forensics engine built on pure OpenCV 5 and SIMD acceleration. Detects generative AI inpainting, deepfake manipulation, duplicate photo reuse, and presentation recapture attacks with zero heavyweight neural network dependencies.
š Problem Statement: Synthetic First-Party Fraud
In 2026, quick-commerce platforms (Blinkit, Zepto, Instamart, Amazon Fresh), e-commerce marketplaces, and insurers lose billions of dollars annually to Synthetic First-Party Refund Fraud.
Claimants photograph an authentic, undamaged item, package, or car bumper, apply consumer generative AI inpainting tools (such as Flux, Adobe Firefly, or Stable Diffusion Inpainting) to synthesize photorealistic rotten mold, cracks, tears, or dents, and exploit automated instant-refund bots.
Authentic Image āā> Generative AI Inpaint (Flux / Firefly) āā> Instant Refund Bot āā> Payout Leakage ($$$)
ā
ā¼
[ VERISIGHT MCP ]
⢠Sub-3ms Physical Sensor Analysis
⢠Mathematical Invariant Checks
⢠Autonomous Auto-Block & S3 VaultVeriSight MCP solves this via an autonomous Perception ā Hypothesis ā Action Physical AI Agent built on OpenCV 5 and optimized with the Cloud-Optimized OpenCV Library (COOL) for AWS Graviton (Arm64). It inspects images in under 3 milliseconds, exposing mathematical artifacts left by generative diffusion processes, verifying authentic CMOS sensor noise, and executing automated payout decisions while committing cryptographic evidence dossiers to Amazon S3 and Amazon DynamoDB.
Related MCP server: Forensics MCP Server
ā” VeriSight vs Traditional Deep Learning Models
Dimension | Traditional Deep Learning (ResNet / CLIP / ViT) | VeriSight Physical AI Engine |
Inference Latency | 250 ms ā 1,200 ms (Unviable for instant checkout) | < 2.8 ms (380+ FPS) |
Model Weight Footprint | 350 MB ā 2.4 GB PyTorch weights | 0 MB (Pure OpenCV 5 C++ & SIMD Primitives) |
Compute Requirement | High-end Nvidia GPU (CUDA required) | Pure CPU / Arm64 NEON (AWS Graviton) |
Generalization & Drift | Vulnerable to adversarial attacks & new diffusion models | Grounded in mathematical physical optics & sensor physics |
Audit Explainability | Black-box softmax probabilities | Deterministic mathematical proof (ELA, PRNU, 2D FFT, Ghosts) |
Recapture Attack Defense | None (Foiled by 2D screen or paper printout) | Built-in Presentation Attack Detection (PAD) |
šļø System Architecture
flowchart TD
A["šø Incoming Claim Image (REST / MCP / CLI)"] --> B["Active Perception: CIE LAB Luminance Check"]
B --> C{"Lighting Optimal?"}
C -- "No (< 65/255)" --> D["Adaptive CLAHE Contrast Normalization"]
C -- "Yes" --> E["Multi-Spectral Forensic Suite"]
D --> E
subgraph E["Multi-Spectral Mathematical Forensic Pipeline"]
E1["Gradient-Normalized ELA (Sobel Compensated)"]
E2["PRNU CMOS Sensor Noise Extraction"]
E3["Azimuthal 2D FFT Diffusion Lattice Harmonics"]
E4["Multi-Q JPEG Quantization Ghost Sweeper"]
E5["Perceptual Hash Sybil Duplicate Detection"]
E6["2D Recapture Presentation Attack Detection (PAD)"]
end
E1 & E2 & E3 & E4 & E5 & E6 --> F["Autonomous Concordance Gate"]
F --> G{"Concordance Verdict"}
G -- "Risk < 35%" --> H["š¢ AUTO_APPROVE_CLAIM (Instant Payout)"]
G -- "35% <= Risk < 70%" --> I["š” HUMAN_IN_THE_LOOP_REVIEW"]
G -- "Risk >= 70%" --> J["š“ REJECT_SYNTHETIC_TAMPER (Auto-Blocked)"]
H & I & J --> K["Cryptographic Audit Dossier (SHA-256 + S3 / DynamoDB)"]š» 2-Line Python SDK & Terminal CLI
VeriSight can be embedded as a Python library, invoked from the command line, or run as a standalone server:
Python SDK
from backend import scan_image, verify_claim
# 1-Line multi-spectral forensic audit
report = scan_image("claims/produce_claim.jpg", claim_type="Fresh Produce")
print(f"Verdict: {report['verdict']} ({report['tamper_probability']}% Risk)")
print(f"Suspect ROI: {report['roi']} | ELA Score: {report['metrics']['ela_score']}")
print(f"Action: {report['recommended_action']}")Terminal CLI
# Instant forensic audit of an image
verisight scan path/to/voucher.jpg
# Output machine-readable JSON telemetry
verisight scan path/to/invoice.jpg --json
# Run reproducible ARM64 COOL performance benchmark
verisight benchmark --frames 100
# Launch MCP Server and FastAPI Backend Daemon
verisight server --port 8000š Model Context Protocol (MCP) Integration
VeriSight natively implements the Anthropic Model Context Protocol (MCP) specification (protocol_version: 2024-11-05). External LLM agents (Claude Desktop, Cursor, Windsurf, LangChain) can discover and call VeriSight tools autonomously.
Claude Desktop & Cursor Configuration
Add VeriSight to your claude_desktop_config.json (or Cursor MCP settings):
{
"mcpServers": {
"verisight": {
"command": "python",
"args": ["-m", "backend.cli", "server", "--mcp"]
}
}
}Available MCP Tools:
verisight_inspect_claim: End-to-end multi-spectral forensic triage on an image.verisight_active_clahe: Dynamic CIE LAB contrast enhancement.verisight_sweep_jpeg_ghosts: Multi-Q JPEG quantization discrepancy sweeper.verisight_azimuthal_fourier_probe: 2D DFT frequency-domain harmonic analysis.verisight_sensor_noise_prnu: High-pass CMOS sensor noise extraction and variance check.verisight_cloud_ledger_audit: Immutable audit trail retrieval from DynamoDB and S3 evidence vaults.
š Core Enterprise Capabilities
Live In-Browser Webcam Scanner: Real-time video feed with guided targeting reticles allowing live validation of physical items and paper documents.
Interactive 4x ROI Loupe Magnifier: High-precision circular inspection loupe zooming into the suspect ROI to show pixel-level inpainting seams and sensor grain discontinuities.
Hardware & EXIF Provenance: Extracts camera make, model, JPEG DQT Quantization Tables, and detects editing software signatures (
Photoshop,Inpaint,GIMP).Edge-Compensated Gradient-Normalized ELA: Sobel-gradient normalized Error Level Analysis eliminates edge false positives while amplifying generative compression mismatches.
Multi-Spectral Color-Space Decomposition: Deconstructs and inspects claims across RGB, CIE LAB, YCrCb, and HSV orthogonal color spaces.
Tunable Forensic Sensitivity: Real-time selector for
Conservative,Balanced, andZero-Trust / Aggressivethreshold profiles.Cryptographic Evidence Dossier: 1-click export of court-admissible audit certificates signed with SHA-256 seals.
š¬ Mathematical Forensics Deep-Dive (OpenCV 5)
Forensic Pillar | OpenCV 5 Core Functions | Physical / Mathematical Principle |
1. Photometric Active Perception |
| Evaluates CIE LAB luminance. Normalizes underexposed scenes ($<65/255$) without distorting sensor gradients. |
2. Edge-Compensated ELA |
| Normalizes ELA difference by Sobel gradient magnitude ($E_{\text{norm}} = E / (1 + \alpha G)$) to eliminate false positives on text and high-contrast typography. |
3. Azimuthal 2D Fast Fourier Transform |
| Natural images decay as $P(f) \propto 1/f^2$. Diffusion model latent decoders introduce periodic upsampling harmonic peaks in outer frequency bands. |
4. Multi-Q JPEG Ghost Sweeper |
| Sweeps candidate quality factors to identify divergence in the local error minimum curve between suspect ROI and ambient image. |
5. Sensor Noise PRNU Residual |
| Real CMOS sensors generate uniform high-pass noise fingerprints. Spliced generative inpainting creates artificial local variance dead-zones ($Z > 3\sigma$). |
6. Chrominance Gradient Check |
| Diffusion inpainting creates subtle chrominance edge discrepancies in the $Cr/Cb$ orthogonal color spaces. |
š Verified Experimental Benchmarks
Real-World Test Matrix
Test Scenario | Luminance Check | Target ROI & ELA Score | 2D DFT & Chrominance Discrepancy | Autonomous Verdict |
Genuine Claim ( |
| ROI | DFT = |
|
Real Strawberries Mold ( |
| ROI | DFT = |
|
Real Altered Invoice ( |
| ROI | PRNU Noise Diff = |
|
Real Car Bumper Dent ( |
| ROI | Chrominance = |
|
Authentic Coupon Screenshot (Code D) |
| Border Suppression Active | ELA = | PRNU Concordance = |
|
WhatsApp Multi-Hop Edge Case |
| Global recompression block artifacts | Ambiguous SNR detected |
|
Reproducible AWS Graviton Arm64 (COOL) Hardware Benchmark
======================================================================
VERISIGHT MCP ā REPRODUCIBLE OPENCV 5 COOL BENCHMARK
======================================================================
Platform Architecture: aarch64 (AWS Graviton3 / c7g.medium)
OpenCV Build Version : 5.0.0 (Arm64 COOL KleidiCV Enabled)
Binary Source File : /opt/cool/python_3.12/site-packages/cv2/__init__.py
Executing 100 continuous perception-decision pipeline frames...
--- REPRODUCIBLE BENCHMARK RESULTS TABLE ---
| Metric | AWS Graviton (Arm64 + COOL) | Baseline x86 Unoptimized | Delta / Speedup |
| :---------------------------- | :-------------------------- | :----------------------- | :------------------ |
| **Mean Frame Latency** | **2.62 ms** | 3.72 ms | **+42.0% Faster** |
| **95th Percentile Latency** | **3.10 ms** | 4.40 ms | **Guaranteed SLA** |
| **Forensic Throughput** | **381.6 FPS** | 268.8 FPS | **Enterprise Scale**|
| **KleidiCV NEON Acceleration**| **ACTIVE (/opt/cool)** | Disabled | **Hardware Arm64** |
======================================================================š Repository Structure
verisight/
āāā .github/
ā āāā workflows/ci.yml # Automated Python 3.11 & Next.js CI
ā āāā ISSUE_TEMPLATE/ # Bug reports & feature requests
ā āāā PULL_REQUEST_TEMPLATE.md # Contributor review standards
āāā backend/
ā āāā __init__.py # Python SDK exports (scan_image, verify_claim)
ā āāā cli.py # Terminal CLI entry point (verisight command)
ā āāā agent.py # Autonomous Perception-Hypothesis-Action loop
ā āāā forensics.py # Pure OpenCV 5 multi-spectral inspection primitives
ā āāā mcp_server.py # Model Context Protocol JSON-RPC implementation
ā āāā main.py # FastAPI REST endpoints & WebSocket feeds
ā āāā cloud_storage.py # AWS S3 & DynamoDB evidence persistence
ā āāā test_sanity.py # End-to-end automated sanity verification suite
āāā frontend/ # Next.js 16.4.3 enterprise dark-mode dashboard
ā āāā app/ # React Server Components & UI layouts
ā āāā components/ # Interactive 4x ROI Loupe, Webcam, & Spectrum viewers
āāā docker-compose.yml # Production multi-stage container orchestration
āāā Dockerfile.arm64 # AWS Graviton COOL deployment container
āāā deploy_graviton.sh # Automated EC2 setup script
āāā pyproject.toml # Standalone package build (pip install verisight)
āāā mcp_claude_desktop.json # Ready-to-use Claude Desktop configuration
āāā CITATION.cff # Academic & industry citation metadata
āāā CONTRIBUTING.md # Contributor guidelines & code style
āāā SECURITY.md # Vulnerability disclosure policy
āāā LICENSE # Apache 2.0 Open-Source License
āāā README.mdš Quickstart & Deployment
Option A: Docker Compose (Recommended)
Run the complete production stack (FastAPI Backend + Next.js UI) with a single command:
git clone https://github.com/Adityarajtiwari880/verisight.git
cd verisight
docker compose up --buildWeb UI Dashboard: http://localhost:3000
REST API & Swagger Docs: http://localhost:8000/docs
Model Context Protocol (MCP) Endpoint:
http://localhost:8000/mcp/rpc
Option B: Local Development Run (Windows / macOS / Linux)
# 1. Clone repository
git clone https://github.com/Adityarajtiwari880/verisight.git
cd verisight
# 2. Start the FastAPI OpenCV 5 Backend (Terminal 1)
cd backend
python -m pip install -r requirements.txt
python -m uvicorn main:app --host 127.0.0.1 --port 8000 --reload
# 3. Start the Next.js Frontend Dashboard (Terminal 2)
cd ../frontend
npm install
npm run devOption C: AWS Graviton EC2 Deployment (Arm64 + COOL)
# 1. SSH into your AWS Graviton instance
ssh -i "your-key.pem" ubuntu@<YOUR-EC2-PUBLIC-IP>
# 2. Clone repo and run deployment script
git clone https://github.com/Adityarajtiwari880/verisight.git
cd verisight
chmod +x deploy_graviton.sh
./deploy_graviton.sh
# 3. Verify hardware acceleration status
curl http://127.0.0.1:8000/api/aws-statusš¤ Contributing
We welcome contributions from the computer vision, security, and open-source communities!
Please review our Contributing Guidelines for branch naming, coding standards, and PR protocols.
All PRs must pass
python backend/test_sanity.pyandnpm --prefix frontend run build.Code of Conduct: Contributor Covenant 2.1.
š Security
For security vulnerabilities and responsible disclosure protocols, please see our Security Policy. Do not submit security vulnerabilities through public GitHub issues.
š Citation
If you use VeriSight in your research, production systems, or publications, please cite it using our CITATION.cff:
@software{tiwari2026verisight,
author = {Tiwari, Aditya Raj},
title = {VeriSight MCP: Autonomous Physical AI Visual Forensics Engine},
year = {2026},
publisher = {GitHub},
url = {https://github.com/Adityarajtiwari880/verisight}
}š„ Authors & Acknowledgments
Aditya Raj Tiwari ā Lead Architect & Computer Vision Engineer (GitHub)
Special thanks to the OpenCV Foundation and Amazon Web Services (AWS) for open-source benchmarks and tooling support.
š License
Licensed under the Apache License, Version 2.0. You may freely use, modify, and distribute this software for commercial and private purposes according to the license terms.
This server cannot be deployed
Maintenance
Related MCP Connectors
One-stop claim verification for AI agents: verdicts with confidence, evidence, signed receipts.
Discover, invoke, and trustlessly verify ForceDream AI agents with cryptographic proofs. 17 tools.
Verify photos are real camera captures, not AI: C2PA and RAW+JPEG forensics. OAuth or API key.
49 deterministic tools for text integrity, agent control, and contextual quality evidence.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides MCP-compatible AI agents with a verify_image tool to check a photo's capture time and provenance using C2PA, EXIF, XMP metadata, and pixel forensics, returning a verdict and confidence score.151 npm2MIT
- FlicenseAqualityCmaintenanceEnables AI agents to perform digital forensics and incident response tasks by dynamically discovering and utilizing host tools for memory analysis, metadata extraction, threat detection, and file dissection.51-
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to verify claims against evidence through MCP tools, returning approved, rejected, or needs_review verdicts with replayable receipts.MIT
- AlicenseAqualityAmaintenanceEnables AI agents to analyze images from a URL, local path, or Base64 string and determine whether they are AI-generated, including detection of signatures from Flux, Midjourney, DALLĀ·E, and Stable Diffusion. Also inspects cryptographic C2PA provenance manifests, signing certificate authorities, and camera EXIF metadata without requiring API keys or accounts.271 npmMIT