element-mcp
v0.1.0Sub-10ms local UI vision MCP stdio server for Android & iOS agents.
Live Showcase • Quickstart • Benchmarks • Watch 30s Demo Video Add element-mcp to any MCP client (auto-downloads verified v0.1.0 weights on first run): Tools: find_interactable_elements (compact tap coords @(x,y) across 13 classes), get_model_info, render_wireframe_svg.
Summary extracted from the README.
element
Sub-10ms local UI vision for mobile agents — clean-room YOLOv8n ONNX + Python stdio MCP.
Live Showcase • Quickstart • Benchmarks • Watch 30s Demo Video
Quickstart
Add element-mcp to any MCP client (auto-downloads verified v0.1.0 weights on first run):
{
"mcpServers": {
"element": {
"command": "uvx",
"args": ["element-mcp"]
}
}
}
Or install with pip:
pip install element-mcp && element-mcp
Tools: find_interactable_elements (compact tap coords @(x,y) across 13 classes), get_model_info, render_wireframe_svg.
Live Preview (Unseen Design System)
fast_path_int8.onnx on held-out Neubrutal Pop · Light — 61 elements detected across all 13 UI classes.
Benchmarks
Measured on Apple M5 Pro (6,356 train · 631 val · 300 unseen-engine OOD images):
| Runtime | Size | Model p50 | e2e PNG | Val / OOD mAP@50 | Prompt Tokens |
|---|---|---|---|---|---|
| element INT8 | 5.8 MB | 7.4 ms | 27.0 ms | 1.000 / 0.891 | 215 (-86.1%) |
| element FP32 | 12.0 MB | 7.5 ms | 27.4 ms | 1.000 / 0.896 | 215 (-86.1%) |
| Cloud VLM | API | ~2,000 ms | ~2,000 ms | — | 1,545+ |
button · text_input · checkbox · radio · toggle · icon · text_label · image · tab · list_item · card · dropdown · spinner
cd data-factory/dom-synth && npm install && npm run dev -- --host 127.0.0.1 --port 5175
# Open http://127.0.0.1:5175/?gallery=1
element-mcp/— Open-source PythonstdioMCP server (mcp,onnxruntime,pillow)figma-ui-trainer/— Clean-room YOLO builder, QA checks, MPS / Modal A10G training, ONNX/INT8 exportdata-factory/dom-synth/— 14-engine Playwright UI synthesizer & gallery (MUI,AntD, 6 custom themes)figma-data-plugin/— Figma Desktop kit exporter ·site/— 3D showcase page
cd figma-ui-trainer && pip install -e ".[train]"
python -m figma_ui_trainer.data.dataset_builder ingest --source oss_dom
python -m figma_ui_trainer.data.dataset_builder build --augment 1
python -m figma_ui_trainer.models.fast_path.train_yolo --epochs 80 --batch 32 --device mps
python -m figma_ui_trainer.export.to_onnx --weights artifacts/runs/fast_path/weights/best.pt --out artifacts/v0.1.0/fast_path_raw.onnx
python -m figma_ui_trainer.export.quantize_int8 --onnx artifacts/v0.1.0/fast_path_raw.onnx --out artifacts/v0.1.0/fast_path_int8.onnx