ai.roc/mcp
Official7 toolsROC biometrics & computer vision: face, LPR, OCR, pedestrian, vehicle, gun detection.
Computer vision server for face recognition, license plate reading, OCR, and object detection.
Captured live from the server via tools/list.
analyze_faces
Analyze faces in an image. Detects each face and returns its location, confidence score, facial landmarks (eyes, nose, mouth), and head orientation. Optionally computes liveness/spoof detection, passport-standard (ICAO) quality checks, cropped face thumbnails, and detailed analytics including age, emotion, geographic origin, gender, glasses, facial hair, head pose, mouth open/closed, face and image quality, artwork detection, and mask detection. Provide the image as base64 (preferred) or a public URL as fallback.
Parameters (7)
- image_base64string
Base64-encoded image (jpg, png, bmp). Preferred over image_url.
- image_urlstring
Public URL of the image. Used only if image_base64 is not provided.
- analyticsboolean
Compute face analytics including: age estimation, emotion classification (anger, disgust, fear, joy, neutral, sadness, surprise), geographic origin (African, East Asian, European, Latin American, Middle Eastern, South Asian, Southeast Asian), gender, glasses detection (eye, sun, none), facial hair, head pose (yaw, pitch, roll), mouth open, face quality/matchability, image quality, artwork detection (human, cartoon, painting), and mask detection.
- icao_metricsboolean
Check whether the face photo meets passport and ID standards (ICAO), including eye visibility, glare, lighting, occlusion, and overall image quality.
- spoofboolean
Detect whether the face is from a live person or a photo of a photo. Returns a liveness score between 0.0 and 1.0 where higher values indicate a greater chance of a spoof.
- thumbnailboolean
Generate an aligned and cropped base64 JPG face image suitable for displaying. If combined with icao_background, the thumbnail will be a base64 PNG with the background removed.
- icao_backgroundboolean
Compute ICAO uniform background face portrait quality metric. If combined with thumbnail, the thumbnail will be a base64 PNG with the background removed.
compare_faces
Check if the same person appears in two different images. Finds all faces in both images and compares each face from the first image against each face in the second. Returns only the pairs that match, with a similarity score between 0.0 and 1.0. Provide each image as base64 (preferred) or a public URL as fallback.
Parameters (5)
- image_a_base64string
Base64-encoded first image (jpg, png, bmp). Preferred over image_a_url.
- image_a_urlstring
Public URL of the first image. Used only if image_a_base64 is not provided.
- image_b_base64string
Base64-encoded second image (jpg, png, bmp). Preferred over image_b_url.
- image_b_urlstring
Public URL of the second image. Used only if image_b_base64 is not provided.
- thresholdnumber
Minimum similarity score for a pair to be considered a match. Defaults to 0.5 (approximately one-in-ten-million false match rate). Only pairs at or above this value are returned.
analyze_license_plates
Analyze license plates in an image. Detects each license plate and returns its location, confidence score, and recognized text (ALPR/OCR). Optionally classifies the issuing region (e.g. state or country), filters non-compliant text, ignores partial reads, and returns a cropped base64 JPG thumbnail of the plate. Provide the image as base64 (preferred) or a public URL as fallback.
Parameters (6)
- image_base64string
Base64-encoded image (jpg, png, bmp). Preferred over image_url.
- image_urlstring
Public URL of the image. Used only if image_base64 is not provided.
- regionstring
Geographic region for plate classification (issuing state/country). One of: north_american, european, pacific, south_american, asian, middle_eastern, african. Omit to skip classification.
- filter_textboolean
Filter out non-compliant text results that do not match a known license plate pattern.
- ignore_partialboolean
Ignore partial license plate detections that fall outside the image bounds.
- thumbnailboolean
Generate an aligned and cropped base64 JPG thumbnail of the license plate suitable for displaying.
read_text
Read text in an image (OCR). Detects each text region and returns its location, confidence score, and recognized text. Optionally restricts results to a regex pattern, restricts allowed characters via a vocabulary, ignores partial detections, and returns a cropped base64 JPG thumbnail of each text region. Provide the image as base64 (preferred) or a public URL as fallback.
Parameters (6)
- image_base64string
Base64-encoded image (jpg, png, bmp). Preferred over image_url.
- image_urlstring
Public URL of the image. Used only if image_base64 is not provided.
- text_filterstring
Regular expression that recognized text must match. Non-matching detections are discarded.
- text_vocabularystring
Set of allowed characters for OCR. Only characters in this string will be returned.
- ignore_partialboolean
Ignore partial text detections that fall outside the image bounds.
- thumbnailboolean
Generate an aligned and cropped base64 JPG thumbnail of each text region suitable for displaying.
detect_persons
Find people in a photo. Returns the position and confidence score for each person found, along with body landmarks and clothing color. Can also return a cropped image of each person. Provide the image as base64 (preferred) or a public URL.
Parameters (4)
- image_base64string
The image encoded as a base64 string (jpg, png, or bmp). Preferred over image_url.
- image_urlstring
A publicly accessible URL pointing to the image. Used only when image_base64 is not provided.
- ignore_partialboolean
Skip people who are only partially visible (cut off by the edge of the image).
- thumbnailboolean
Return a small cropped image of each detected person.
detect_vehicles
Find vehicles in a photo. Returns the position and confidence score for each vehicle found, along with its predicted make, model, and color. Can also return a cropped image of each vehicle. Provide the image as base64 (preferred) or a public URL.
Parameters (4)
- image_base64string
The image encoded as a base64 string (jpg, png, or bmp). Preferred over image_url.
- image_urlstring
A publicly accessible URL pointing to the image. Used only when image_base64 is not provided.
- ignore_partialboolean
Skip vehicles that are only partially visible (cut off by the edge of the image).
- thumbnailboolean
Return a small cropped image of each detected vehicle.
detect_guns
Find guns in a photo. Returns the position and confidence score for each gun found. Can also return a cropped image of each gun. Provide the image as base64 (preferred) or a public URL.
Parameters (4)
- image_base64string
The image encoded as a base64 string (jpg, png, or bmp). Preferred over image_url.
- image_urlstring
A publicly accessible URL pointing to the image. Used only when image_base64 is not provided.
- ignore_partialboolean
Skip guns that are only partially visible (cut off by the edge of the image).
- thumbnailboolean
Return a small cropped image of each detected gun.
README not available yet.
Install
claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.roc.ai/mcp"
]
}
}
}Desktop config is stdio-only; this bridges via mcp-remote. Native remote: Settings > Connectors.