3DiVi Face SDK MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@3DiVi Face SDK MCP Serverdetect face, check liveness, extract template from face.jpg"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
3DiVi Face SDK — MCP Server
The face recognition MCP server for AI-native development.
On-premise · GDPR-compliant · ISO 30107-3 liveness · No cloud dependency.
What this is
A local Model Context Protocol server that wraps the 3DiVi Face SDK Processing Block API as callable tools. AI coding agents (Claude Code, Cursor, Windsurf, VS Code Copilot) can detect faces, verify identity, run liveness checks, and search a face gallery — without writing a single line of SDK integration code.
All processing runs on the developer's machine. No data leaves the host.
Related MCP server: io.github.chicogong/ffvoice
Tools exposed
Tool | Processing Block | Output |
|
| Bounding boxes, landmarks, pitch/yaw/roll |
|
| Liveness verdict + confidence |
|
| Quality score, eyes-open flag |
|
| ContextTemplate (binary, no PII) |
|
| 1:1 similarity score + match verdict |
|
| 1:N ranked match list |
|
| Age, gender, confidence |
|
| 7-class emotion probabilities |
|
| Masked/unmasked verdict |
Quick start
Prerequisites
3DiVi Face SDK 3.29 installed on your machine
Python 3.9+
A valid Face SDK licence
Install
git clone https://github.com/3divi/face-recognition-mcp-server.git
cd face-recognition-mcp-server
pip install -r server/python/requirements.txtConfigure Claude Code
Add to your claude_desktop_config.json (or equivalent for your agent):
{
"mcpServers": {
"3divi-face-sdk": {
"command": "python",
"args": ["/path/to/face-recognition-mcp-server/server/python/main.py"],
"env": {
"FACESDK_PATH": "/path/to/facesdk",
"FACESDK_CONFIG": "/path/to/facesdk/conf/facerec.conf"
}
}
}
}Try it
Open Claude Code in any project and type:
Integrate 3DiVi Face SDK for KYC verification — detect the face, run liveness,
extract a template, and compare against an enrolled template.Claude Code will call the MCP tools directly. No SDK integration code required.
Project structure
face-recognition-mcp-server/
├── CLAUDE.md # Machine-readable API reference (read by AI agents)
├── README.md
├── LICENSE
├── server/
│ ├── python/ # Phase 1 — stdio MCP server
│ │ ├── main.py # Entry point (JSON-RPC 2.0 over stdio)
│ │ ├── tools/
│ │ │ ├── detection.py # detect_faces, check_liveness, assess_quality, detect_mask
│ │ │ ├── recognition.py # extract_template, verify_face, search_face
│ │ │ └── attributes.py # estimate_attributes, estimate_emotion
│ │ └── requirements.txt
│ └── nodejs/ # Phase 2 — coming soon
├── reference-apps/
│ ├── kyc-onboarding/ # Phase 2
│ ├── access-control/ # Phase 2
│ └── emotion-analytics/ # Phase 3
└── docs/
└── threshold-guide.mdWhy on-premise matters
Privacy regulations (GDPR, BIPA, India DPDP) prohibit sending biometric data to third-party cloud APIs in many regulated industries. This MCP server runs entirely local — the SDK shared libraries process images in-process, and no biometric data is transmitted anywhere.
The only competing biometric MCP server in the registry is Microsoft Azure's liveness wrapper, which requires Azure cloud. This server requires nothing beyond the SDK licence you already have.
Similarity threshold guide
See docs/threshold-guide.md for use-case-specific recommendations.
Use case | Recommended threshold |
Physical access control | 0.97 |
Enterprise time/attendance | 0.95 |
KYC / onboarding | 0.93 |
Visitor watchlist | 0.90 |
Retail re-identification | 0.85 |
Licence
MIT — the MCP server is open source. The underlying 3DiVi Face SDK requires a separate licence from 3divi.ai.
Links
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server for AI agent identity, permissions, verification, and reusable proof.
MCP server for building and testing AI agents with multi-model experimentation and insights.
An MCP memory server. One memory your agents share — across models, devices and apps.
MCP Server for agents to onboard, pay, and provision services autonomously with InFlow
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP Server for AI agent identity and authorization. Create, verify, and manage agent identities with trust scores and scoped authorization tokens.MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for offline speech-to-text and speaker diarization, enabling AI agents to transcribe audio locally without cloud APIs.3MIT
- AlicenseAqualityBmaintenanceMCP server providing on-prem PII detection and anonymization tools (scan and is_sensitive) for AI agents, ensuring data stays local.4MIT

deepidvofficial
AlicenseNot gradedqualityCmaintenancedeepidv MCP is an MCP server that exposes the deepidv AI-powered verification engine’s operations as structured tools for MCP-compatible clients. It enables AI agents to perform identity verification, face liveness, deepfake detection, AML screening, and more via remote OAuth-based access.3Apache 2.0