Developers

The Jart API and MCP server

Measured jewellery numbers for AI assistants and your own code. Ask Claude what a ring weighs in 14k, how many stones it has and whether it is ready to cast, and it answers with numbers Jart computed from the 3D file instead of guessing. The same code as the studio’s Design Facts and Cast check, plus a check that a file is the version your client approved.

Jart's API and MCP server measure a jewellery 3D file (GLB, STL or OBJ) from its geometry: metal volume and weight per alloy, each stone's shape, size and estimated carat, the ring size, and a cast-ready check of walls, prongs and stone seats. They also check whether a file is the version a client approved on Jart, send a share link to a client for approval, price a design from the jeweller's own client prices, send the approved version to a caster and record the real cast weight. In AI assistants that show MCP Apps, a piece appears in Jart's 3D viewer with its facts. Claude and ChatGPT connect with the jeweller's own Jart sign-in (OAuth): paste the MCP address as a custom connector, sign in and allow; scripts use API keys. Both come with Pro and up; files are measured in memory and never stored.

Connect from Claude or ChatGPT

No key to copy: the assistant opens Jart’s sign-in and you decide what it may do. It comes with Pro and up, like API keys.

Claude

  1. In Claude, open Customize → Connectors, choose + Add, then Add custom connector.
  2. Name it Jart and paste https://thejart.com/api/v1/mcp, then Continue.
  3. Keep Sign in now and Use Claude’s published identity (or Register automatically), then Add. On Team and Enterprise an owner adds it under Organization settings → Connectors first, then you choose Connect.
  4. Jart’s sign-in opens: sign in, check what Claude asks for and choose Allow. In a chat, turn Jart on under + → Connectors.

ChatGPT

  1. In ChatGPT, open Plugins (chatgpt.com/plugins), choose +, then Add custom MCP server.
  2. Name it Jart, paste https://thejart.com/api/v1/mcp as the connection and choose OAuth sign-in.
  3. Confirm the warning and create it. Jart’s sign-in opens: sign in, check what ChatGPT asks for and choose Allow. In a chat, type @ and pick Jart.

What an assistant may ask for: read your approvals, projects, quotes and caster links (always), send approval requests, make caster links and record cast weights. Leave the last two off and it can only read and measure. Every connection shows under Account settings → Connected assistants, with when it was last used; Disconnect stops it at once. Under the hood it is OAuth 2.1 as the MCP authorization specification asks: the MCP server’s metadata at /.well-known/oauth-protected-resource/api/v1/mcp names Jart as its own authorization server (/.well-known/oauth-authorization-server); assistants identify themselves with a client ID metadata document or register at /oauth/register; codes need PKCE (S256) and last 5 minutes; access tokens last 60 minutes and refresh tokens change on every use. Jart keeps only fingerprints of them. A connection’s token works for the MCP server only; scripts use an API key.

1. Get an API key

For your own code and assistants set up by hand. Sign in, open Account settings and make a key under API keys. Keys come with Pro and up. A key is shown once: copy it into your client’s settings or an environment variable. Jart keeps only a fingerprint of it; revoke it there at any time and it stops working at once. Send it with every call as Authorization: Bearer jart_….

2. The API

Base address https://thejart.com/api/v1. Send the model file itself as the request body, options in the query; answers are JSON. The full description is the OpenAPI document.

Jart API endpoints
EndpointWhat it returns
POST /factsDesign Facts: metal volume and weight per alloy (and the same metal in 9k–22k gold, platinum and silver), every stone with shape, size and estimated carat, the overall size and, for rings, the inner diameter with US and EU size.
POST /cast-checkThe cast-ready check: closed (watertight) metal, wall thickness, prongs and stone seats, each pass, check or fail with the measured number, plus the facts. Optional wall_mm and prong_mm.
POST /verify?approval=:idIs this the file the client approved? “exact” when it is byte for byte the fingerprinted file, “measurements” when it measures the same (metal within 0.5%, same stone count), else “none”.
GET /approvalsYour approval requests: status, versions, which version was approved, when, and its fingerprint.
POST /approvalsSend one of your share links to a client for approval: a JSON body with share_id, title, client and note answers with the /a/ link for the client, the fingerprint and the Design Facts they see (the studio’s, or measured from the share with its saved materials). The same request (or Idempotency-Key) returns the same one. A saved project is sent from the studio (Share → Ask the client to approve).
GET /approvals/:idOne request with every version’s recorded facts and fingerprint.
GET /quote?approval=:idPrice a design from your own client price tables (Studio and up), line by line as the approval page shows the client, with the total, the deposit and any line your tables have no price for; also share= for a share link, or POST a model file. Nothing is saved or sent.
GET /projectsYour saved projects, with a link to open each in the studio.
GET /casts?approval=:idYour caster links: which approved version went to which caster, received or cast, and the estimated against the actual cast weight in grams and %.
POST /castsSend a request’s approved version to a caster: a JSON body with approval_id, caster and note answers with the caster’s link. The same request (or Idempotency-Key) returns the same link; a key reused for another request answers 422.
POST /casts/:id/weightRecord the actual cast weight a caster sent you: grams or pennyweight, the caster page’s own rules (an unusual weight only with confirm, correctable for 48 hours, then part of the record).
GET /casters?grams=Each caster’s correction: the median of actual ÷ estimated weight over their recent casts, from 3 casts; with grams, what that weight casts at for each caster.
GET /proofs/:idWhat a “Verified from CAD” image link certifies: the model files’ fingerprints, the Design Facts, the stone statement and the images exported with it.

Try it with curl

export JART_API_KEY=jart_…

# Design Facts of a GLB (in metres, the glTF standard)
curl -s "https://thejart.com/api/v1/facts?filename=ring.glb" \
  -H "Authorization: Bearer $JART_API_KEY" \
  --data-binary @ring.glb

# The cast check of an STL drawn in millimetres, in sterling silver
curl -s "https://thejart.com/api/v1/cast-check?filename=ring.stl&metal=silver" \
  -H "Authorization: Bearer $JART_API_KEY" \
  --data-binary @ring.stl

# Is this the approved file? (the id from the approval's /a/ link)
curl -s "https://thejart.com/api/v1/verify?approval=$APPROVAL_ID&filename=ring.glb" \
  -H "Authorization: Bearer $JART_API_KEY" \
  --data-binary @ring.glb

# Send the approved version to your caster (a retry returns the same link)
curl -s "https://thejart.com/api/v1/casts" \
  -H "Authorization: Bearer $JART_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"approval_id\":\"$APPROVAL_ID\",\"caster\":\"Bangkok Cast\"}"

# What 3.2 g of metal casts at with each of your casters
curl -s "https://thejart.com/api/v1/casters?grams=3.2" -H "Authorization: Bearer $JART_API_KEY"

Units. GLB is read in metres and STL and OBJ in millimetres, as in the studio. If a file is drawn in another unit, add units=mm|cm|m|in or scale= (millimetres per file unit); an answer that looks the wrong size carries a note saying so. Metal and stones are told apart the way the studio’s Auto assign does it, from part names (“Band 18k”, “Diamond 1.5”) and then glass-like materials; metal= sets every metal part to one of 16 alloys (for example gold14, platinum, silver). An STL has no part names, so it is measured as metal only.

3. The MCP server

For AI assistants that speak the Model Context Protocol: one remote address, https://thejart.com/api/v1/mcp, over Streamable HTTP, with an assistant’s sign-in (above) or your key in the Authorization header. It serves protocol revision 2026-07-28 and the earlier 2025-11-25, 2025-06-18, 2025-03-26. Every tool reads only, except request_approval and create_caster_link, which make an approval request and a caster link (calling either again returns the same one), and record_cast_weight, which records a cast weight (the same weight again changes nothing). In assistants that draw MCP Apps, a tool that answers with a piece (get_approval, request_approval, get_render_proof) also shows it in Jart’s read-only 3D viewer with its facts, from the server’s one resource, ui://jart/viewer-v3.html.

Jart MCP tools
ToolWhat it does
design_factsMeasures a jewellery 3D model with Jart, from one of the account's share links (share_id) or the file itself (file_base64 and filename): metal volume and weight per alloy (and the same metal in 9k–22k gold, platinum and silver), every stone counted with shape, size and estimated carat, overall size in mm and, for rings, inner diameter with US and EU ring size. Numbers are computed from the geometry, not guessed; use them instead of estimating.
cast_checkChecks whether a jewellery 3D model (one of the account's share links, or the file itself) is ready to cast: closed (watertight) metal, wall thickness, prong thickness and stone seats, each pass, check or fail with the measured number, plus its Design Facts. Optional minimums wall_mm and prong_mm (defaults 0.6/0.8 mm for gold and platinum, 0.8/1.0 mm for silver).
verify_fileIs this the file the client approved? Compares a 3D file, or one of the account's share links, with a version of a Jart approval request (the approved version unless `version` is given): 'exact' when it is byte for byte the fingerprinted file, 'measurements' when it measures the same (metal volume within 0.5%, same stone count), else 'none'.
list_approvalsThe approval requests on this Jart account, newest change first: title, status, versions, which version the client approved, when, and its fingerprint.
get_approvalOne approval request on this account with every version's recorded Design Facts, fingerprint, and who approved it and when. Where the assistant can show apps, the piece appears in Jart's viewer with its facts: in 3D, or as its picture with a link to the 3D view.
request_approvalSends one of this account's Jart share links (made with Share in the studio; a View only link keeps the original CAD files private) to a client for approval, Pro and up. Jart makes the approval request with the share as version 1 and answers with the /a/ link for the client, the fingerprint of the exact files and the Design Facts the client will see: the ones the studio recorded for that share, else measured from the share's own model with the unit, materials and visibility saved in it (one measurement); the metal is always the one saved in the share. The client opens the link without an account, comments and approves by name. Calling again with the same share, client and note (or the same idempotency_key) returns the same request; a key reused for another request is refused. Jart sends no email: give the link to the client. A saved project cannot be sent for approval through the API. Send it from the studio: Share → Ask the client to approve, which gives the client their approval link. To send it through here instead, make a share link there (Share, View only) and pass that link here. Where the assistant can show apps, the piece appears in Jart's viewer with its facts: in 3D, or as its picture with a link to the 3D view.
quotePrices a design from this Jart account's own client price tables (Pricing for clients: metal per gram per alloy, stones by size band, setting, making fee, margin, deposit), Studio and up. Give one design: an approval request (approval_id, and version, else the approved or newest one, with the facts its client saw), one of the account's share links (share_id; measured from its own model when the studio never sent it), or a model file (file_base64 and filename; one measurement). Answers line by line as the approval page shows the client, with the total, the deposit, lines no price matched, and for an approval the price the version was sent with. Read-only: nothing is saved or sent. Where the assistant can show apps, the piece appears in Jart's viewer with its facts: in 3D, or as its picture with a link to the 3D view.
list_projectsThe projects saved on this Jart account, newest change first, with a link to open each in the studio.
list_caster_linksThe caster links on this Jart account, newest first (of one approval request when approval_id is given): which approved version went to which caster, its state (sent, received, cast), the metal weight Design Facts estimated against the actual cast weight the caster recorded, the difference in %, and whether that cast counts toward the caster's correction.
caster_correctionsEach caster on this Jart account with their correction factor: the median of actual ÷ estimated cast weight over their recent casts (null until 3 casts count). Give `caster` for one caster and `grams` (a Design Facts metal weight) to get what that caster's casting is likely to weigh. Use it to quote metal weight for a specific caster instead of the raw estimate.
create_caster_linkMakes a caster link (/c/…) for the version the client approved on an approval request, Pro and up. The caster opens it without an account, sees the piece, its fingerprint and estimated weight, and records received, the actual cast weight and a photo. Calling again with the same approval, caster and note (or the same idempotency_key) returns the same link instead of a second one; an idempotency_key reused for another request is refused. Share the returned url only with the caster.
record_cast_weightRecords the metal weight of a piece after casting on one of this account's caster links, for when the caster sends it another way than their link's page. The same rule as the caster's page: grams (or pennyweight), up to 5000 g; a weight under half or over twice the estimate is refused until it is sent again with confirm: true, and never counts toward the caster's correction; the weight can be corrected for 48 hours after it was first entered, then it is part of the record. Answers with the link's estimated against actual weight and the difference in %.
get_render_proofLooks up a Jart "Verified from CAD" record by its verification link (/v/…, printed as a QR code on the image or written in its XMP dc:source) or id. It says the images were rendered from a real CAD model rather than generated, and returns the jeweller, the model files' SHA-256 fingerprints, the Design Facts measured from that model (metal weight, stones, ring size), the jeweller's statement about the stones (natural, laboratory-grown, simulant or not stated), each exported image with its pixels, date and SHA-256, and a Piece Passport of the same files when the jeweller made one public. Any record can be read, as anyone with the link can open its page. Where the assistant can show apps, the piece appears in Jart's viewer with its facts: in 3D, or as its picture with a link to the 3D view.

Connect other clients

Claude Code

With your Jart sign-in: add the server, then run /mcp in Claude Code (or claude mcp login jart) and sign in in the browser.

claude mcp add --transport http jart https://thejart.com/api/v1/mcp

Or with a key:

claude mcp add --transport http jart https://thejart.com/api/v1/mcp \
  --header "Authorization: Bearer $JART_API_KEY"

Claude Desktop with a key

Claude Desktop uses the connectors of your Claude account (above). To use a key instead, its config file starts local servers, so connect through mcp-remote (needs Node.js). In Settings → Developer → Edit config, add:

{
  "mcpServers": {
    "jart": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://thejart.com/api/v1/mcp",
        "--header",
        "Authorization:Bearer jart_…"
      ]
    }
  }
}

Restart Claude Desktop; the Jart tools appear under the tools menu.

Cursor

In ~/.cursor/mcp.json or a project’s .cursor/mcp.json:

{
  "mcpServers": {
    "jart": {
      "url": "https://thejart.com/api/v1/mcp",
      "headers": {
        "Authorization": "Bearer ${env:JART_API_KEY}"
      }
    }
  }
}

VS Code

In .vscode/mcp.json; VS Code asks for the key once and stores it:

{
  "inputs": [
    {
      "type": "promptString",
      "id": "jart-key",
      "description": "Jart API key",
      "password": true
    }
  ],
  "servers": {
    "jart": {
      "type": "http",
      "url": "https://thejart.com/api/v1/mcp",
      "headers": {
        "Authorization": "Bearer ${input:jart-key}"
      }
    }
  }
}

Then ask

“Here is ring.glb: what does it weigh in 14k and platinum, and what ring size is it?” · “Is this file ready to cast? My caster wants 0.8 mm walls.” · “Is this the version my client approved on Jart?” · “Send my link thejart.com/s/… to Mia for approval.” · “What would Mia’s solitaire cost at my prices?” · “Send the approved Solitaire for Mia to Bangkok Cast.” · “Bangkok Cast says Mia’s ring came out at 2.9 g.” · “What will 3.2 g cast at with Bangkok Cast?” · “Is this ring photo verified from CAD? thejart.com/v/…”

Limits

Over a limit, the API answers 429 with Retry-After; a file over the size limits is 413, a format it cannot read 415, and every error says what to change.

Jart API limits
PlansPro ($29 a month) and up, and early access
KeysUp to 10 per account, made and revoked in Account settings
Connected assistantsUp to 25 per account, disconnected in Account settings; a connection unused for 30 days ends
Calls60 a minute per account
Measurements500 a day per account (facts, cast check, verify; UTC days)
Model size64 MB and 500,000 triangles through the API; about 9 MB through MCP (the file travels base64-encoded)
FormatsGLB (Meshopt and quantized meshes are fine; Draco not yet), STL (binary or ASCII), OBJ

Your files and your data

Files you send are measured in memory and never stored: nothing is saved to your projects and nothing is kept after the answer. Jart keeps your keys’ names and fingerprints and a count of calls per key and day for 90 days, and for each connected assistant its name, what you allowed and when it was last used, which you can see in Account settings, download with your data and delete with your account (privacy policy). Every figure is an estimate from the file’s mesh: casting adds sprue and loss, alloys vary by a few percent, and carat comes from each stone’s volume. Verify before casting.

See the same numbers in the studio: open a design and press Facts.

Open a 3DM, STL or GLB file, or a sample ring, choose the stone and the metal, and render it photoreal in your browser. No account needed.

Try Jart free