Back to API Docs
MCP Tool Reference

check_repair_price

Look up Wrenchli's published price range for a specific repair, with the basis the range rests on, over the Model Context Protocol.

A free key is required

Every MCP tool call carries a free Wrenchli API key, so calls are attributable and rate-limited per caller. Keys are instant and self-serve: POST your agent name and a contact email, and the key is returned once. Send it as an Authorization: Bearer header (or x-api-key) on each call.

POST https://www.wrenchli.net/mcp-keys
{
  "agent_name": "Your agent or product name",
  "developer_contact": "you@example.com"
}

The free taste tier allows 60 calls per minute per key. Calls are logged with their input shape (vehicle class, repair or code) and whether a figure was served; the log never carries a consumer's identity.

Request

Call the tool over the MCP endpoint. The repair may be a name or a price book id; free text is matched to the book. The vehicle is optional context: published ranges are compiled for typical vehicles and are not specific to one vehicle.

tools/call check_repair_price
POST https://www.wrenchli.net/mcp
Authorization: Bearer wk_YOUR_KEY
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "check_repair_price",
    "arguments": {
      "repair": "thermostat replacement",
      "vehicle": { "year": 2019, "make": "Toyota", "model": "Camry" }
    }
  }
}

Response: a published range

The structured content of the tool result. The basis travels inside the answer: framing, scope note, and provenance are part of the payload, so they survive whatever the calling agent does with the text around it.

structuredContent
{
  "tool": "check_repair_price",
  "repair": {
    "id": "thermostat",
    "label": "Thermostat Replacement"
  },
  "vehicle_context": {
    "year": 2019,
    "make": "Toyota",
    "model": "Camry"
  },
  "published": true,
  "range_usd": {
    "low": 160,
    "high": 535
  },
  "range_formatted": "$160–$535",
  "parts_usd": {
    "low": 60,
    "high": 137
  },
  "labor_usd": {
    "low": 100,
    "high": 400
  },
  "labor_hours": {
    "low": 1,
    "high": 2
  },
  "basis": {
    "framing": "Published Wrenchli price book range. The low end is a competent independent shop on quality aftermarket parts; the high end is a franchised dealership on factory (OEM) parts. Labor corridors: independent shops $100-$132 per hour, dealerships $140-$200 per hour.",
    "scope_note": "The service part is the thermostat housing assembly (thermostat integrated), not a bare thermostat.",
    "provenance": "Re-derived 2026-11-14 from named sources (founder-approved 2026-11-14): PartsGeek (Replacement $35.95 / Aisin $51.97 / NTC-TAMA $61.97 housing assemblies, street); AutoZone (Duralast housing assemblies $31.99–$63.99); Cars245 (genuine Toyota 16031-25010 at $137.38 retail, carried as $137). Independent parts = street price x published markup tier (65–90% under $200). Labor 1.0–2.0h (book; AutoZone 1–2h). Representative vehicle: 2019 Toyota Camry 2.5L.",
    "book_version": "v2"
  },
  "value_context": {
    "status": "not_available",
    "note": "Value context is not available yet: Wrenchli is validating a market value source for this slot, and until it checks out the repair range stands on its own. This slot is never filled with a guessed value.",
    "repair_range_usd": {
      "low": 160,
      "high": 535
    },
    "vehicle_value_usd": null,
    "vehicle_value_source": null,
    "vehicle_value_as_of": null,
    "repair_to_value_ratio": null,
    "repair_to_value_band": null
  },
  "note": "A published range is planning information, not a quote, bid, or guaranteed price; a shop prices the actual job after a hands-on look."
}

Response: not published yet

Only ranges that pass Wrenchli's credibility grading are served. A repair whose range has not passed returns this answer instead of a number, and a repair outside the book returns the same shape with repair_matched: null. There are no exceptions to the gate.

structuredContent
{
  "tool": "check_repair_price",
  "published": false,
  "repair_matched": {
    "id": "radiator",
    "label": "Radiator Replacement"
  },
  "message": "Wrenchli's price book has an entry for Radiator Replacement, but its range is not published yet: every figure we serve has to pass our credibility grading, and this one has not passed yet. We would rather tell you that than hand you a number we cannot stand behind.",
  "value_context": {
    "status": "not_available",
    "note": "Value context is not available yet: Wrenchli is validating a market value source for this slot, and until it checks out the repair range stands on its own. This slot is never filled with a guessed value.",
    "repair_range_usd": null,
    "vehicle_value_usd": null,
    "vehicle_value_source": null,
    "vehicle_value_as_of": null,
    "repair_to_value_ratio": null,
    "repair_to_value_band": null
  }
}

The value context block

Every published answer reserves a value_context block: the repair range set against the vehicle's market value, as perspective for the driver's own decision. Until a market value source is validated, the block returns its empty state in words, as in the examples above. It is never filled with an estimated or model-generated value, and it never carries a recommendation.

See also: the trouble code lookup tool, and the developer documentation home.