watchcharts-mcp

watchcharts-mcp

MCP server for WatchCharts.com that provides luxury watch market data including prices, trends, sales, listings, and appraisals through various tools.

Category
访问服务器

README

watchcharts-mcp

CI License: MIT

MCP server for watchcharts.com — luxury watch market prices and trends, exposed as tools for Claude and other MCP clients.

How it works

WatchCharts is protected by a Cloudflare JS challenge that blocks plain HTTP clients and vanilla headless browsers. This server uses patchright (stealth-patched Playwright) driving your system Google Chrome in headful mode, with the window parked off-screen. API calls run inside the page via fetch(), reusing the browser's cookies, TLS fingerprint and CSRF token.

The private REST API was reverse-engineered from HAR captures of the /market screener and the marketplace:

Endpoint Purpose
GET watchcharts.com/rest/screener_count Count of watches matching filters
GET watchcharts.com/rest/market_results Paginated screener results (DataTables format, HTML fragments parsed into JSON)
GET watchcharts.com/suggest/analytics/0.json?q=… Model/brand autocomplete (pure JSON)
GET watchcharts.com/watch_model/{id}/overview Model page: full specs, market/retail price (parsed)
GET watchcharts.com/charts/watch/{id}.json?type=trend|sales|listings Price series, auction sales, historical listings (pure JSON)
GET watchcharts.com/charts/brand.json / charts/brand/{id}.json Overall / per-brand market index since 2017 (pure JSON)
GET watchcharts.com/watches?filters=<b64>&page=&sort= Full catalog browse with spec filters (server-rendered, parsed)
GET marketplace.watchcharts.com/rest/ebay Live eBay listings aggregation
GET marketplace.watchcharts.com/listings?q=… Marketplace listing search (server-rendered, parsed)
GET marketplace.watchcharts.com/listing/{id}?html=true Listing detail with value assessment

filters is base64-encoded JSON: key -1 = price cap, keys -100-105 = time period (1m…5y) with minimum trend %. Brand filtering uses the brandId query param. Each subdomain has its own CSRF token (read from #csrfToken[data-token]), but the Chrome context/cookies are shared.

Requirements

  • macOS/Linux/Windows with Google Chrome installed
  • Python ≥ 3.12, uv

Tools

Tool Description
search_watches(price_max, period, min_trend_pct, brand_id, start, limit) Screener results: name, collection, watch_id, url, image, market price (EUR), trend %
count_watches(query, brand_id, price_max, period, min_trend_pct) Count matching watches
list_brands() All brands with WatchCharts brand ids
search_models(query) Resolve free text ("daytona 116503") to watch_id, uuid, brand, collection, price
get_watch_info(watch_id) Full specs (references, complications, case, dial), market + retail price, per-variation prices
get_watch_sales(watch_id) Auction sale records (Sotheby's, Christie's...) with hammer price
get_listings_history(watch_id) Historical sold/unsold listings across eBay, dealers, forums
get_price_history(watch_id) Daily market price series (~1y on free tier) + retail price
get_market_index(brand_id) Overall or per-brand market index, daily since 2017
browse_watches(filters, page, sort) Filter the 29k+ catalog by specs (dial, diameter, movement, complications...)
search_ebay(query, fallback_query, watch_id, country) Live eBay listings: title, seller, price, URL
search_listings(query, page) Marketplace listings (dealers, Reddit, forums): price, Fair/Good/High rating, country
get_listing(listing_id) Listing detail: price, value assessment vs estimate, source, external URL
appraise_watch(query, condition, accessory, region) Instant appraisal: estimated value adjusted for condition, box/papers, region

watch_id from search_watches composes with get_price_history and search_ebay. variation_id from get_watch_info narrows get_price_history, get_watch_sales, and get_listings_history to a single reference/dial.

Appraisal (captcha-gated, driven via the real form)

appraise_watch is the equivalent of the paid API's appraisal.

Usage:

appraise_watch(
    query="Rolex Daytona 116503",   # name or reference
    condition="Pre-owned",          # or "New" / "Unworn"
    accessory="box and papers",     # or "box only" / "watch only"
    region="Europe",                # or "North America" / "Asia"
)
# → {"watch": "Rolex Cosmograph Daytona 116503",
#    "estimated_value": "€17,671",
#    "condition": "Pre-owned", "accessory": "Watch with original box and papers",
#    "region": "Europe", "summary": "..."}

condition / accessory / region are matched by substring against the form's dropdown labels, so partial words work. The response echoes back the label actually matched. The inputs move the number — e.g. new + watch-only + North America → €18,058.

Why it's different from the other tools. Its submit endpoint is protected by a per-request captcha token that only the page's own JS can mint. There is no token stored anywhere in this code — each call drives the real /appraisal form (type reference → pick the match → set the dropdowns → submit), and the browser mints a fresh token at submit time. That's why "will it still work tomorrow?" is a yes: nothing is cached that can expire. The only prerequisites are the same as every other tool — Chrome installed and Cloudflare passing.

What can break it. Because it's UI-driven, it depends on the form's DOM structure. If WatchCharts redesigns the /appraisal form, update APPRAISAL_SELECTORS in client.py — that dict is the single place all the selectors live. The parsing of the rendered result is separate (_parse_appraisal_report) and covered by an offline fixture test, so a wording change in the report surfaces as a test failure. It's ~10-15s per call (a real browser flow) and more fragile than the JSON-backed tools — use it for one-off valuations, not bulk lookups.

Install

git clone https://github.com/NiccoloSalvini/watchcharts-mcp
cd watchcharts-mcp
uv sync

Claude Code

claude mcp add watchcharts -- uv run --directory /path/to/watchcharts-mcp watchcharts-mcp

Claude Desktop

{
  "mcpServers": {
    "watchcharts": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/watchcharts-mcp", "watchcharts-mcp"]
    }
  }
}

Development

uv run pytest        # offline parser tests against fixtures in tests/fixtures

Parsers are pinned by fixture tests: if WatchCharts redesigns its markup, tests fail instead of tools returning silently empty data.

Notes

  • First tool call launches Chrome and solves the Cloudflare challenge (~15–30 s); later calls are fast. The Chrome profile is cached in ~/.cache/watchcharts-mcp/chrome-profile so subsequent launches reuse cf_clearance.
  • Free-tier data: results are capped by WatchCharts (2000 rows) and some columns require a Professional subscription.
  • For personal/research use. Respect WatchCharts' terms of service.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选