Moltline Vision Maths
Server Details
Image header probing, bbox conversion, resize plans and colour maths. 4 of 6 free.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- GarphenGate/moltline-mcp
- GitHub Stars
- 0
- Server Listing
- moltline-mcp
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose: format conversion, contrast checking, detection scoring, image header probing, NMS, and resize planning. Descriptions explicitly route users away from adjacent tools (e.g. nms vs detection_metrics vs bbox_convert), leaving little room for misselection.
All names use lowercase snake_case, which is readable and consistent at the casing level. However, the grammatical patterns vary: noun_verb (bbox_convert, colour_check), noun_noun (detection_metrics), verb_noun (resize_plan), and a bare acronym (nms).
Six tools is well-scoped for a computer-vision math/preprocessing utility server. Each tool corresponds to a distinct operation in a plausible vision pipeline, with no obvious filler.
The surface covers common pre/post-processing needs: metadata probing, resize planning, box conversion, NMS, and detection metrics. Minor gaps remain, such as a direct IoU utility or broader segmentation/polygon math, but core workflows are covered.
Available Tools
6 toolsbbox_convertBbox ConvertARead-onlyIdempotentInspect
Convert bounding boxes between COCO, Pascal VOC and YOLO. FREE.
The three formats disagree on everything: COCO is [x, y, width, height], VOC is [x1, y1, x2, y2], YOLO is [cx, cy, w, h] normalised to the image. Getting this wrong produces boxes that look plausible and quietly ruin every metric. Typical input {"boxes": [[10, 20, 100, 50]], "from_format": "coco", "to_format": "yolo", "image_width": 640, "image_height": 480} returns {"boxes": [[0.0938, 0.0938, 0.1562, 0.1042]], "converted": 1, "rejected": []}.
Use whenever a dataset and a model disagree about format. Not for scoring predictions (detection_metrics) and not for removing overlaps (nms). Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""} (for example {"error": "boxes must contain at least one box"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
Inputs: boxes (required), to_format (required), from_format (required), clip, +2 more. Returns: object
colour_checkColour CheckARead-onlyIdempotentInspect
Check a colour pair against the WCAG contrast thresholds. FREE.
Uses the WCAG 2 relative-luminance formula, so the number matches what an accessibility audit will report. Typical input {"foreground": "#767676", "background": "#ffffff"} returns {"contrast_ratio": 4.54, "AA": true, "AAA": false, "required": {"AA": 4.5, "AAA": 7.0}, "verdict": "Passes AA for normal text, fails AAA."}.
Use when generating or auditing an interface. Not for converting colours between spaces and not for palettes. Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""} (for example {"error": "foreground must be a hex colour like #767676"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
Inputs: background (required), foreground (required), large_text. Returns: object
detection_metricsDetection MetricsARead-onlyIdempotentInspect
Score detections against ground truth and show the working. PREMIUM (license).
Greedy matching at the IoU threshold, highest-confidence prediction first, each ground-truth box matched at most once - the standard protocol. Reports per-class precision, recall and F1, and average precision by the all-points interpolation used by Pascal VOC 2010 onward. Typical input {"predictions": [{"box": [0,0,10,10], "label": "cat", "score": 0.9}], "ground_truth": [{"box": [1,1,11,11], "label": "cat"}]} returns {"overall": {"tp": 1, "fp": 0, "fn": 0, "precision": 1.0, "recall": 1.0, "f1": 1.0}, "per_class": {...}, "mAP": 1.0}.
Use to compare two models on the same held-out set. Not for cleaning up a single model's overlapping output first - run nms before this. Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""} (for example {"error": "ground_truth must contain at least one box"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
Inputs: predictions (required), ground_truth (required), box_format, image_width, +2 more. Returns: object
image_probeImage ProbeARead-onlyIdempotentInspect
Read an image's format and pixel size from its header alone. FREE.
Dimensions live in the first few dozen bytes of PNG, JPEG, GIF, BMP and WebP, so a base64 prefix is enough - you do not need to send the whole file, and nothing is decoded. Typical input {"data_base64": "iVBORw0KG..."} returns {"format": "png", "width": 1920, "height": 1080, "aspect_ratio": 1.7778, "aspect_label": "16:9", "megapixels": 2.07, "orientation": "landscape", "bytes_inspected": 512}.
Use to find out what you are dealing with before planning a resize. Not for pixel content - nothing here reads pixels - and not for EXIF. Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""} (for example {"error": "data_base64 must not be empty"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
Inputs: data_base64 (required). Returns: object
nmsNmsARead-onlyIdempotentInspect
Remove duplicate detections of the same object. PREMIUM (license).
Greedy non-maximum suppression: keep the highest-scoring box, drop everything overlapping it above the threshold, repeat. Ties break on the earlier index, so the result is deterministic rather than dependent on sort stability. Typical input {"boxes": [[0,0,10,10],[1,1,11,11],[50,50,60,60]], "scores": [0.9, 0.8, 0.7]} returns {"keep": [0, 2], "suppressed": [{"index": 1, "by": 0, "iou": 0.6807}], "kept": 2}.
Use after a detector that emits overlapping boxes. Not for scoring against ground truth (detection_metrics) and not for format changes (bbox_convert). Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""} (for example {"error": "boxes and scores must be the same length"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
Inputs: boxes (required), scores (required), box_format, image_width, +2 more. Returns: object
resize_planResize PlanARead-onlyIdempotentInspect
Work out the exact scale, padding and crop for a model input size. FREE.
Returns the numbers you need to transform boxes alongside the image, which is the step that usually gets skipped. Typical input {"width": 1920, "height": 1080, "target": "yolo_640"} returns {"scale": 0.3333, "resized": [640, 360], "pad": {"left": 0, "top": 140, "right": 0, "bottom": 140}, "box_transform": "x_new = x * 0.3333 + 0; y_new = y * 0.3333 + 140"}.
Use before feeding an image to a fixed-input model. Not for finding out the image's size in the first place - that is image_probe. Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""} (for example {"error": "unknown target ; use one of or set"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
Inputs: width (required), height (required), mode, target, +1 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Image toolkit: resize, compress, crop, watermark, convert, rotate, EXIF read/strip.
Resize, convert, compress, crop and thumbnail images, and strip EXIF and GPS metadata.
Resize, compress, convert, crop, rotate, strip EXIF and watermark one image or a whole zip. Handles HEIC; outputs JPEG, PNG, WebP or AVIF; reports which metadata was removed. Free within a daily quota, no API key. The same tools run free in the browser at byondr.co/image-tools.
Resize, convert to WebP, compress, crop, rotate and strip EXIF from images
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI assistants to perform everyday image tasks over MCP, including resizing, format conversion, target-size compression, verified GPS/EXIF stripping, cropping, rotation, icon generation, contact sheets, and batch operations. Runs on Pillow alone with sandboxed directory access, atomic non-overwriting writes, decompression-bomb protection, and optional previews.11MIT
- AlicenseBqualityCmaintenanceEnables image compression, format conversion, batch directory processing, and metadata inspection for dimensions, transparency, EXIF, ICC, and histograms through MCP tools.21MIT
- AlicenseAqualityDmaintenanceEnables comprehensive image editing operations including resizing, format conversion, cropping, compression, rotation, flipping, and batch processing. Supports JPEG, PNG, WebP, and AVIF formats with quality control and metadata extraction.815 npm18MIT
- AlicenseNot gradedqualityFmaintenanceProvides local image analysis tools using Pillow for dimensions, colors, metadata, and format conversion without external APIs.1MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.