# YardStock > Live used-vehicle stock from named New Zealand dealer groups, read straight off those groups' own yard websites. Search it the way the YardStock search page does - make, model, year, price, kilometres, area, fuel, body, gearbox, driven wheels, seats, engine size, towbar - or in one plain sentence, and link the buyer to the dealer's own page. On 16 Nov 2026 the `coverage` tool reported 40,280 live listings from 389 dealer groups; the live figure is whatever it says when you call it. YardStock is a read-only MCP server run from Auckland, New Zealand. It is not Trade Me, not AutoTrader, and not a national registry roster. It is the stock actually published on the yards we have ingested — nothing more, and it tells you exactly what it is missing. ## When to use YardStock Use YardStock when a user asks about buying a used car in New Zealand and you need real listings with real prices rather than remembered ones: - "What Ford Rangers under $30k are on Auckland yards right now?" - "Find me a hybrid under $15,000 within driving distance of Manukau." - "Is this dealer's asking price normal for a 2018 Hilux with 90,000km?" - Comparing a private-sale asking price against live dealer stock. - Checking whether a specific listing URL is still live, and what the yard says about it. Do not use YardStock for: new-vehicle pricing, finance or insurance quotes, ownership or registration history, WOF/odometer verification, or anything on Trade Me. It is asking prices on dealer yards, nothing else. ## How to call it - **Endpoint:** `https://stock.yardstock.nz/mcp` — MCP over Streamable HTTP (JSON-RPC 2.0 POST). - **Health:** `GET https://stock.yardstock.nz/health` is open and unauthenticated. - **Auth:** send `Authorization: Bearer ` or `X-Api-Key: `. A key is a plain bearer token: there is no OAuth sign-in to discover. Keys are issued manually right now — ask via https://yardstock.nz. - **Anonymous free tier:** you may connect with no credentials at all. `initialize`, `tools/list` and all four tools work anonymously, with two limits: `search_stock` and `search_text` return at most 20 results per call regardless of the `limit` you send (the `total` is always the full count), and VIN and plate are omitted from every result. A key lifts both. - **Rate expectations:** this is a single origin behind Cloudflare. Keep it under about 60 requests per minute. On `429` or `5xx`, back off and retry once — do not hammer, and do not fan out one user question into fifty searches. - **Do not scrape the dealer sites yourself.** That is what this server is for. Fetching a `source_url` to show the user is fine and expected; crawling the yard is not. ## Tools ### `coverage()` No arguments. Call this first, and call it before you make any claim about what the New Zealand market contains. Returns the coverage block plus `groups[]` of `{legal_name, listing_count, cities[]}` — the dealer groups actually in the index. ### `search_stock(...)` The YardStock search page's own search: the same filters, the same live stock, the same ranking and the same notes. All arguments optional: ``` make, model, year_min, year_max, price_min_nzd, price_max_nzd, km_min, km_max, city, fuel, body, colour, transmission, drive, seats_min, cc_min, cc_max, towbar, sort, limit, offset ``` - `make` takes any spelling: `"VW"` finds Volkswagen, `"Great Wall"` finds GWM, `"Range Rover"` finds Land Rover's full-size Range Rovers. - `model` named as a model ("Corolla", "Land Cruiser Prado", "CX-5") finds that model and every grade of it, and nothing longer: "Corolla" includes the Fielder and the Axio but not the Corolla Cross. Anything else ("Corolla GX") narrows as words in the model. - `city` is a city, suburb or region, matched exactly: "Wellington" is not Mount Wellington. - `fuel` is petrol, diesel, hybrid, electric or phev. `transmission` is automatic or manual. `drive` is 4wd or 2wd (AWD counts as 4wd). `cc_min` / `cc_max` are engine size in cc. `towbar: true` keeps cars whose listing mentions one. - `sort` is price-asc, price-desc, km-asc, year-desc, listed-desc, deal-desc or drop-desc. With no `sort`, a search that names a make or model leads with the best deals and any other is cheapest first. - `limit` defaults to 20, maximum 50 (20 anonymous); `offset` pages through the rest. Returns the coverage block plus: - `total`: every exact match, however many `results` you were given. Say "20 of 1,216". - `results[]`: exact matches only, each with `source_url, year, make, model, price_nzd, odometer_km, fuel, yard_label, city, region, trader_name, image_url, first_seen, last_seen` (New Zealand dates), `colour, body, transmission, drive, engine_cc, seats` (null where the dealer did not say), `trader_registered` (the dealer holds a current Motor Vehicle Traders registration), `yardstock_url` (the car's own page on YardStock: its price history and the same model for sale and sold), and where they apply `listed` (days on the lot), `drop` (a recent price drop) and, on the deal sort, `deal` (how far under similar cars it is priced, with `cohort_query`, a sentence `search_text` reads back into those cars). - `filters`: what was searched, after spellings were read. - `notes[]`: what the answer owes the buyer - for example how many listings state a gearbox at all, since a car that does not say is not in a gearbox search. An empty `results[]` is a successful answer, not an error. It means those cars are not on the yards we cover - say that, rather than inventing them. ### `search_text(q, limit, offset)` The same search from one plain sentence, read the way the search page reads what a person types: `"diesel 4wd under 40000 in Auckland"`. Returns everything `search_stock` does, plus what the sentence was read as: `filters`, `phrase` (those filters written back as words), `unparsed[]` (words it could not use) and `corrections[]` (spellings it fixed). Check `unparsed` before you trust the answer. ### `get_listing(source_url)` One argument, required: the exact `source_url` from a search result. Returns the coverage block plus that single listing, in the same shape as a search result, with `vin` and `plate` where the yard published them and a key was used. Unknown URLs return `{coverage, error: "not_found"}` — which usually means the car sold. ## Coverage honesty — read this before you answer Every response from every tool carries a `coverage` block: `groups_with_stock`, `live_listings`, `last_seen_max` (when the freshest listing was last read) and `not_included[]` (what the index does not hold). Those are the live figures. Quote them, never a number remembered from a page. Three rules follow from it, and they matter more than any result you get back: 1. **Never invent stock for a group that is not in the `coverage` tool's `groups[]`.** If the user asks about a dealer we do not index, the honest answer is that we do not cover them. 2. **Never present YardStock as the whole New Zealand market.** It holds only the dealer yards it has ingested, it is Auckland-weighted, and it has nothing from Trade Me, AutoTrader or private sellers. Say so when it changes the answer, especially outside Auckland. 3. **Quote `last_seen`, not "now".** Stock is re-read on a schedule; `last_seen_max` tells you how fresh the index is. A car that is listed may already be sold. Send the user to `source_url` to confirm price and availability with the yard. ## Install - Claude Code: `claude mcp add --transport http yardstock https://stock.yardstock.nz/mcp` - Every other client, with copy-paste lines: https://stock.yardstock.nz/connect ## Resources - Connect / install instructions: https://stock.yardstock.nz/connect - MCP server card: https://stock.yardstock.nz/.well-known/mcp.json - A2A agent card: https://stock.yardstock.nz/.well-known/agent-card.json - Source: https://github.com/aaronwaddington-arch/yardstock-mcp - Home: https://yardstock.nz