@pipeworx/mcp-bonhams
v0.2.0
Published
Bonhams MCP — realized auction prices from Bonhams.com.
Maintainers
Readme
@pipeworx/bonhams
Realized auction prices from Bonhams — search past ("sold") lots by artist or maker and get the hammer price, the hammer price including buyer's premium (the actual realized/sold price), estimate range, sale date and department; pull full lot detail (description, condition, images) for one lot.
Part of Pipeworx — an MCP gateway connecting AI agents to 1856+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
Tools
bonhams_results_search(query, category?, page?, limit?)— search Bonhams' sold-lot archive by artist/maker/keyword.categoryis a free-text filter matched against the department name (e.g. "jewellery", "prints", "books").bonhams_lot_details(auction_id, lot_no, slug?)— full detail for one lot, keyed by theauction_id/lot_noabonhams_results_searchresult carries.
Auth
Keyless. Public pages, no login required.
Data sources
https://www.bonhams.com/search/?chronology=past&query=<q>&page=<n>— the site's own past-lots search page. It's a Next.js app that server-renders the FULL result set into a__NEXT_DATA__JSON blob (pageProps.lotData.auctionLots[]) — a plainfetch()gets real data, no separate XHR/API call needed. Each entry carriesprice.hammerPrice(before premium) andprice.hammerPremium(the realized price a buyer actually paid, matching the "Sold for $X inc. premium" text shown on the page) plusestimateLow/estimateHigh,department.name,hammerTime.datetime,auctionId, andlotNo(which is{full, letter, number}—fullis sometimes absent, fall back tonumber).https://www.bonhams.com/auction/<auctionId>/lot/<lotNo>/<slug>/— the lot detail page, same SSR pattern, one"lot":{...}object with richer fields:sDesc/sCatalogDesc(HTML description),dHammerPrice,dHammerPremium,dEstimateLow/dEstimateHigh,images[]. The slug in the URL is not validated — any string works as long asauctionId/lotNomatch, so a caller doesn't need Bonhams' exact descriptive slug.- robots.txt (checked 2026-09-05) disallows only
/ldc/,/vms-assets/,*aggregate$,*head_image*— none of which this pack touches. No crawl-delay declared forUser-agent: *.
Survey notes for the other two houses (Sotheby's, Phillips)
Bonhams was shipped first because its realized prices are plain SSR HTML with no gate — the easiest shape found. Quick probe notes on the other two, recorded for whoever builds their packs next:
- Sotheby's — robots.txt sets
Crawl-delay: 15forUser-agent: *and disallows/bsp-api/*(their actual API path) plus all PDF exports. Results pages are likely a genuine client-side API call behind/bsp-api/, which robots explicitly blocks — worth checking whether a different, non-disallowed endpoint serves the same data before assuming it's blocked outright. - Phillips — robots.txt disallows
/Search,/search,/SEARCH,/bin/,/phillips/otis,/*/filter/. The obvious keyword-search path is blocked case-insensitively; a lot-detail page reached some other way (e.g. from a sitemap or a department listing) may still be fair game — not probed in this session. - Christie's — out of scope per the build plan (closed, internal API).
Bonhams proved the per-house-pack shape works, so follow-on fleet tasks were filed for the other two: #1280 (Sotheby's) and #1281 (Phillips), each carrying the probe notes above.
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"bonhams": {
"url": "https://gateway.pipeworx.io/bonhams/mcp"
}
}
}What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/bonhams/mcp returns the tools in the table
above plus the shared Pipeworx meta-tools — ask_pipeworx,
discover_tools, search_within, remember/recall and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's initialize response states its exact scope, and
is the authoritative answer for a given day.
This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
ask_pipeworx, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}Both URLs reach the same gateway and the same 1856+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
No MCP client? Call it over HTTP
curl -X POST https://gateway.pipeworx.io/v1/tools/bonhams_results_search \
-H 'Content-Type: application/json' \
-d '{"query":"Picasso"}'No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/bonhams_results_search. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Run it from npm
@pipeworx/mcp-bonhams is a local stdio bridge to the Pipeworx gateway: your MCP client
starts it with npx, and it forwards every call to the same
https://gateway.pipeworx.io/bonhams/mcp endpoint shown above. It needs network access;
there is no offline mode.
{
"mcpServers": {
"bonhams": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-bonhams"]
}
}
}Without a key it calls anonymously, capped at 50 calls a day. A free account
raises that to 200 a day: get a key at https://pipeworx.io/signup and add
"env": { "PIPEWORX_API_KEY": "<your key>" } to the server entry.
The key is sent as a Bearer token, the same way a hosted connection sends it,
so calls are metered and billed exactly as they are there.
It lists only this pack's tools by default. Set PIPEWORX_META_TOOLS=1 to
also list ask_pipeworx and the other gateway-wide tools.
Behind an HTTPS proxy: Node's built-in fetch does not read HTTPS_PROXY by
default. Newer Node releases honour it when NODE_USE_ENV_PROXY=1 is set; check
your Node version's documentation.
Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
ask_pipeworx({ question: "your question about Bonhams data" })The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
