Looking for a car? Search the live stock →
Live used-vehicle stock from named New Zealand dealer groups, read off those groups’ own yard websites. Every yard we have ingested, New Zealand-wide; the coverage tool states the live count of yards and listings on every call. Not Trade Me, not AutoTrader, not a national roster.
https://stock.yardstock.nz/mcp
Transport streamable-http
Health https://stock.yardstock.nz/health
You can connect with no credentials. Anonymous callers get initialize, tools/list and all four tools, with two limits: search_stock and search_text return at most 20 results per call whatever limit you send, always with the total, and vin/plate are omitted. An API key lifts both — send it as Authorization: Bearer <key> or X-Api-Key: <key>. A key is a plain bearer token; there is no OAuth sign-in. Keys are issued manually for now; ask via stock.yardstock.nz.
| Tool | Arguments | Returns |
|---|---|---|
coverage |
none | Which dealer groups are in the index — legal_name, listing_count, cities[]. Call it first. |
search_stock |
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 (default 20, max 50, anonymous 20), offset |
The search page’s own search, exact matches only: total (every match), results[] with source_url, year, make, model, price_nzd, odometer_km, fuel, yard_label, city, region, trader_name, last_seen, body, transmission, drive, engine_cc, seats, trader_registered, yardstock_url (the car’s own page on YardStock: its price history and the same model for sale and sold) and more, filters as searched, and notes[]. |
search_text |
q (required), limit, offset |
The same search from one sentence, such as diesel 4wd under 40000 in Auckland, with what it read: filters, phrase, unparsed[]. |
get_listing |
source_url (required) |
One listing in the search result’s shape, plus vin/plate when stored and keyed. |
Every response carries a coverage block — groups_with_stock, live_listings, last_seen_max, not_included[]. Agents should never invent stock for a group that is not listed there.
claude mcp add --transport http yardstock https://stock.yardstock.nz/mcpWith a key: append --header "Authorization: Bearer <key>"
Add it as a custom connector — one click:
Or manually: Settings → Connectors → Add custom connector, name YardStock, URL https://stock.yardstock.nz/mcp.
Or edit ~/.cursor/mcp.json:
{
"mcpServers": {
"yardstock": {
"url": "https://stock.yardstock.nz/mcp"
}
}
}Or from a terminal:
code --add-mcp '{"name":"yardstock","type":"http","url":"https://stock.yardstock.nz/mcp"}'YardStock, MCP server URL https://stock.yardstock.nz/mcp.Authorization: Bearer <key> for full access.YardStock, server URL https://stock.yardstock.nz/mcp, transport HTTP (streamable).Authorization: Bearer <key>.YardStock, description “Live used-car stock on named NZ dealer yards”.https://stock.yardstock.nz/mcp, transport Streamable HTTP.Authorization header as Bearer <key>.No client needed — the endpoint is a plain JSON-RPC 2.0 POST. These work anonymously; add -H "Authorization: Bearer <key>" for full results.
curl -sS https://stock.yardstock.nz/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -sS https://stock.yardstock.nz/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call",
"params":{"name":"coverage","arguments":{}}}'curl -sS https://stock.yardstock.nz/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":3,"method":"tools/call",
"params":{"name":"search_stock","arguments":{
"make":"Ford","model":"Ranger",
"price_max_nzd":30000,"city":"Auckland","limit":20}}}'curl -sS https://stock.yardstock.nz/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":5,"method":"tools/call",
"params":{"name":"search_text","arguments":{
"q":"diesel 4wd under 40000 in Auckland"}}}'curl -sS https://stock.yardstock.nz/mcp \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_KEY' \
-d '{"jsonrpc":"2.0","id":4,"method":"tools/call",
"params":{"name":"get_listing","arguments":{
"source_url":"https://example.co.nz/vehicle/12345"}}}'curl -sS https://stock.yardstock.nz/health
# {"ok": true, "service": "nz-yard-stock"}One origin in New Zealand behind Cloudflare. Keep it under about 60 requests per minute. Back off once on 429 or 5xx. Fetching a source_url to show a user is expected; crawling the dealer sites is not — that is what this server is for.