Grounded by Medigami — embed
A small trust badge linking to the attestation verifier for a Medigami MCP response. Partners drop it next to their AI app's answers about medical bills so end-users have a one-click path to verify where the numbers came from. Free to use under the spec at /specs/attested-response-v1.
Install (2 lines)
<div id="grounded-by-medigami" data-tracking-id="evt_abc123"></div> <script src="https://medigami.com/embed/grounded-by-medigami" async></script>
Live preview
Options
data-tracking-id— the tracking_id from the Medigami tool response. If omitted, the badge links to /attested-grounding as a category-page fallback.data-theme—auto(default),light, ordark.data-size—sm,md(default), orlg.- Multiple placements on one page are fine — the script
hydrates any element matching
#grounded-by-medigamior.grounded-by-medigami. - Streaming answers — the script re-scans on DOM mutations, so badges injected after initial page load also hydrate automatically.
Imperative API
// If you add a badge element after initial scan:
window.MedigamiGrounded.render(el, {
trackingId: "evt_abc123",
theme: "dark",
size: "md"
});
// Force re-scan:
window.MedigamiGrounded.rescan();
CSP note
The script is served with Access-Control-Allow-Origin: *
and uses the shadow DOM to scope styles. It does not inject
inline event handlers and does not require
unsafe-inline. If your CSP restricts external scripts,
add medigami.com to your script-src.
License
Free to embed. No license key, no tracking beyond the partner's own analytics.