
AUTO.RIA Used Cars
io.github.yevhen-kalyna由 GitHub 帳號 yevhen-kalyna 發布v0.2.2更新於 Oct 24, 2026
MCP server for the AUTO.RIA (ria.com) used-car API: search, listings, AI average prices.
概覽
面向 AUTO.RIA 中古車 API 的 MCP 伺服器,讓助理搜尋烏克蘭中古車車源、取得廣告詳情,並查詢品牌、車型與地區。
- 可以做什麼
- 依品牌、車型、地區、年份、價格、排氣量或馬力搜尋中古車廣告,回傳符合筆數與廣告 ID,並提供自訂參數的原始搜尋,以及一次最多 50 個 ID 的批次詳情取得。取得單筆廣告詳情:價格、年份、里程、引擎、車身、燃料、變速箱、賣家與照片來源、可見 VIN、去識別化電話與車源連結。將品牌、車型、地區、城市名稱解析為 AUTO.RIA 數字 ID。瀏覽分類、顏色、國家、燃料類型、變速箱、車身樣式與州等字典資源。付費工具提供 AI 平均價格、月度均價時間序列以及 VIN 或車牌解碼。ping 工具用於零配額的健康檢查。
- 適用情境
- 當你希望助理透過官方 AUTO.RIA API 而非爬取來研究烏克蘭中古車市場時使用:比較車源、查看某車型在某地區的典型價格,或把 VIN 解碼為車輛參數。
- 執行需求
- 以 Python 3.11+ 本機套件執行(PyPI 套件名 autoria-mcp),通常用 uvx 啟動,或以 pipx、uv 安裝。需要免費的 AUTO.RIA 開發者 API 金鑰,放在 AUTORIA_API_KEY;付費的均價與 VIN 工具還需要 AUTORIA_USER_ID。需要連線至 developers.ria.com。設定可來自環境變數或本機 .env 檔案。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 AUTO.RIA Used Cars,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
autoria-mcp
[CI] [PyPI version] [Python versions] [License: MIT]
An MCP server that exposes the
AUTO.RIA used-cars REST API (auto.ria.com, via developers.ria.com) to AI
agents — programmatic, agent-friendly access to the Ukrainian used-car market
through the sanctioned API, no scraping.
The full tool surface is live — 30 tools, 7 dictionary resources, and 1 templated resource: curated search/lookup tools (single and batch listing details), paid statistics tools, thin endpoint mirrors, and browsable dictionary resources, all backed by tiered caching and a typed async client.
Features
- Curated, high-level tools that take human-friendly inputs (brand, model, region, year/price ranges) and resolve them to AUTO.RIA's numeric IDs for you.
- Paid statistics tools (AI average price, price-over-time, VIN decode) that
fail fast with a clear error when
AUTORIA_USER_IDis unset — no wasted quota. - Thin endpoint mirrors for the long-tail dictionary/lookup endpoints.
- Dictionary resources — browse categories, colours, regions, etc. as
addressable
autoria://dict/...documents. - Aggressive, tiered caching: large slow-changing dictionaries are cached on disk for 7 days (name→ID resolution costs no quota after the first fetch), while volatile search/statistics responses are cached briefly, in memory only.
- stdio and streamable-HTTP transports.
Install
Requires Python 3.11+. The package is distributed on PyPI; run it without a
manual install using uvx:
Or install into a tool environment with pipx / uv tool:
Quickstart: Claude Desktop (no coding required)
Want to use AUTO.RIA from the Claude desktop app? Follow these steps — no programming needed, just some copy-and-paste. Pick your platform: macOS · Windows.
macOS
1. Install uv (the small tool that runs autoria-mcp for you). Open the
Terminal app and paste this, then press Enter:
(Full instructions: https://docs.astral.sh/uv/getting-started/installation/.)
2. Get a free AUTO.RIA API key at https://developers.ria.com. Keep it handy.
A user_id is optional — you only need it for the paid price-statistics tools.
3. Find the full path to uvx. The desktop app can't see your Terminal's
settings, so it needs the full path. In Terminal, run:
Copy what it prints — usually /opt/homebrew/bin/uvx (Apple-Silicon Mac) or
/usr/local/bin/uvx (Intel Mac).
This is the #1 reason setup fails. If you use just
uvxinstead of the full path, the app says it can't find it. Always paste the full path fromwhich uvx.
4. Open Claude Desktop's config file. In the Claude app: Settings →
Developer → Edit Config. This opens a file called claude_desktop_config.json
(on macOS it lives at
~/Library/Application Support/Claude/claude_desktop_config.json).
5. Add the autoria server. Paste the block below. If the file already has a
"mcpServers" section, add "autoria" inside it next to your other servers;
otherwise paste the whole thing. Replace the two placeholder values:
command→ the full path from step 3.AUTORIA_API_KEY→ your key from step 2.- For the paid tools (average price, VIN lookup), add
"AUTORIA_USER_ID": "..."toenv— put a comma after the API-key line when you do, e.g."env": { "AUTORIA_API_KEY": "...", "AUTORIA_USER_ID": "..." }.
Save the file.
6. Fully quit and reopen Claude. Press Cmd + Q (just closing the window
isn't enough), then open Claude again. The first start takes a few seconds
while it downloads the tool; after that it's instant.
7. Try it. Ask Claude something like: "Use autoria to find used BMW 3 Series cars in Kyiv and show me a few with prices."
Heads-up on limits: the free AUTO.RIA key allows roughly 30 requests/hour and 1000/month — so ask focused questions rather than broad ones.
If autoria doesn't show up after restarting, the log file usually says why:
Most common fixes: use the full uvx path (step 3), and make sure you
fully quit Claude with Cmd + Q.
Windows
The same flow on Windows — the commands and a couple of Windows-only gotchas differ from macOS.
1. Install uv (it ships the uvx command that runs autoria-mcp). Open
PowerShell and run either:
or, if you use winget:
Then open a new terminal window so the updated PATH takes effect.
(Full instructions: https://docs.astral.sh/uv/getting-started/installation/.)
2. Get a free AUTO.RIA API key at https://developers.ria.com. Keep it
handy. A user_id is optional — you only need it for the paid price-statistics
tools.
3. Find the full path to uvx.exe. The desktop app can't see your terminal's
PATH, so it needs the full path. In PowerShell, run:
or in Command Prompt (cmd):
Copy what it prints — usually C:\Users\<you>\.local\bin\uvx.exe.
In PowerShell, use
where.exe, notwhere. Plainwhereis an alias forWhere-Objectand won't find the executable.
This is the #1 reason setup fails. If you use just
uvxinstead of the full path, the app says it can't find it. Always paste the full path from step 3.
4. Open Claude Desktop's config file — use the in-app button. In the Claude
app: Settings → Developer → Edit Config. This opens the correct
claude_desktop_config.json for your install.
Don't hand-edit the
%APPDATA%file. The documented location is%APPDATA%\Claude\claude_desktop_config.json(=C:\Users\<you>\AppData\Roaming\Claude\claude_desktop_config.json), but the Microsoft Store / MSIX build of Claude virtualizes that folder — it actually reads from%LOCALAPPDATA%\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\claude_desktop_config.json. Editing the plain%APPDATA%copy then makes your MCP servers silently fail to load. The Edit Config button always opens the right file — use it.
5. Add the autoria server. Paste the block below. If the file already has a
"mcpServers" section, add "autoria" inside it next to your other servers;
otherwise paste the whole thing. On Windows, backslashes in JSON must be
doubled (\\) — or use forward slashes (C:/Users/you/.local/bin/uvx.exe):
command→ the full path from step 3, with doubled backslashes.AUTORIA_API_KEY→ your key from step 2.- For the paid tools (average price, VIN lookup), add
"AUTORIA_USER_ID": "..."toenv— put a comma after the API-key line when you do, e.g."env": { "AUTORIA_API_KEY": "...", "AUTORIA_USER_ID": "..." }.
Save the file. A ready-to-edit copy is at
examples/claude_desktop_config_windows.json.
Prefer not to keep your key in the config? Omit the
envblock and instead putAUTORIA_API_KEYin a.envfile in the working directory, or set it as a Windows user/system environment variable.
6. Fully restart Claude. Right-click the Claude icon in the system tray (near the clock) and choose Quit — just closing the window isn't enough — then open Claude again. The first start takes a few seconds while it downloads the tool; after that it's instant.
7. Try it. Ask Claude something like: "Use autoria to find used BMW 3 Series cars in Kyiv and show me a few with prices."
The same limits and most-common
fixes apply: use the full uvx.exe path (step 3), edit the config via the
in-app button (step 4), and fully quit from the tray (step 6). Logs are at
%APPDATA%\Claude\logs\mcp-server-autoria.log.
Configuration
All settings are read from environment variables (prefix AUTORIA_) or a local
.env file. Copy .env.example to .env and fill in your key.
The API key is held in a SecretStr and never written to logs.
Running
See examples/ for ready-to-paste MCP client configs (Claude
Desktop and a generic stdio client).
Quota guidance
The AUTO.RIA free package is metered per API key across all RIA web services and the limits are tight:
- ~1000 requests / month
- 30 requests / hour (rolling); exceeding either returns
429 OVER_RATE_LIMITand temporarily blocks the key.
There are no X-RateLimit-* response headers, so the client tracks usage
locally (Phase 3). Treat every live call as spending scarce quota: the dictionary
endpoints are cached aggressively, and search/statistics responses should not be
re-fetched needlessly.
Tool catalog
Curated tools — natural inputs (names, ranges), resolved to IDs for you:
Paid tools (require AUTORIA_USER_ID; fail fast with a clear error otherwise):
Thin mirrors (raw passthrough, 7-day cached): list_categories,
list_all_models, list_models_grouped, list_generations, list_modifications,
list_modifications_by_body, list_equipment, list_options, list_options_v2,
list_colors, list_countries, list_drive_types, list_fuel_types,
list_gearboxes, list_body_styles, list_body_styles_grouped,
list_all_body_styles, list_bodies_by_generation, and raw_search (raw V1
search; compact {count, ids} by default, verbose=True for the full payload).
Resources: autoria://dict/{categories,colors,countries,fuel-types,gearboxes, body-styles,states} and the templated autoria://dict/models/{categoryId}/{markId}.
Health: ping — zero-quota liveness/diagnostic check.
Attribution
AUTO.RIA's API terms require a visible link back to auto.ria.com wherever you
display data sourced from the API. get_car_details and the paid endpoints include
a canonical per-listing deep link (url); keep it visible in whatever surface
presents a listing to an end user. (search_used_cars returns only ids + a count —
the Public API specifies no set-level search link, so none is invented.)
Known limitations
These are deliberate scope/behaviour choices worth knowing before you rely on them:
- Single brand/model per search. Multi-brand or multi-model search is not yet
modelled by
search_used_cars. For OR-style queries across several brands, drop toraw_searchand pass the raw V1 params yourself. - Search returns ids, not full listings.
search_used_carsgives you advert ids and acount. Fetch per-listing detail withget_car_details(orget_car_details_batchfor a whole page of ids) — each lookup spends quota, so resolve only what you need. - Search is V1-only and silently ignores unknown params — a genuine footgun.
The underlying
/auto/searchendpoint does not validate filter keys: a misspelt or unsupported param is dropped, and the search quietly widens to the whole site instead of erroring. The curated tool resolves names to the correct V1 ids to avoid this, butraw_searchpasses your params through verbatim. - Paid POST errors arrive as HTTP 200. The paid endpoints return errors in the
body (
noticeType: "error") with a 200 status; the paid tools detect and surface these as tool errors. get_average_price_over_periodsaccepts onlyperiod ∈ {30, 90, 180, 365}.
Development
The OpenAPI 3.1 description lives in
openapi/autoria-used-cars.yaml.
Roadmap
- ✅ Phase 1 — OpenAPI spec, live-verified API facts.
- ✅ Phase 2 — repo scaffold, tooling, CI, packaging, runnable server.
- ✅ Phase 3 — typed async client, TTL dictionary cache, name→ID resolution, recorded-fixture tests (zero live quota).
- ✅ Phase 4 — curated + paid + thin tools, dictionary MCP resources.
- ✅ Phase 5 — docs, examples, first PyPI release (
0.1.0).
Post-1.0 backlog (not scheduled): native multi-brand / multi-model search;
per-endpoint cache TTLs; a cross-process quota lock (current accounting is
per-process, warn-only); an npx shim for Node-based MCP clients.
License
MIT. This is an unofficial project and is not affiliated with or endorsed by RIA.com / AUTO.RIA.
來源:README.md,提交 c8c7348
工具
0版本歷史
1- v0.2.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分