MD

mmdju/divar-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

108 stars 9 forks 품질 71 트렌드 15NOASSERTION

Divar용 MCP 서버 — 분류 광고 검색, 비교 및 분석. 읽기 전용, API 키 없음.

개요

AI 에이전트에게 검색 , 카테고리 및 동네, 차량 연비 및 휴대폰 사양, 렌탈 보증금 + 임대료, 광고 세부사항, 나란히 비교 및 실시간 가격 평가를 제공하는 공개 MCP 서버입니다. https://divar-mcp.mmdju2.workers.dev/mcp (스트리밍 가능한 HTTP, 상태 없음) 모든 MCP 클라이언트, . Cline / 커서 / Claude 데스크톱 (mcp.json 스타일): 브라우저에서 실행되는 에이전트도 작동합니다 - 엔드포인트는 CORS 프리플라이트(OPTIONS /mcp)에 응답합니다. 모든 도구는 읽기 전용(readOnlyHint: true)이며 자격 증명이 필요 없습니다. MCP(compare-ads, best-under-budget)와 (divar://cities, divar://categories, divar://category-filters/{slug})는 툴 호출 없이 데이터를 참조할 수 있습니다. - (1 토만 = 10 리알), 그리고 협의 가능한 광고는 price_toman: null - 절대 0이 되지 않음. 광고는 몇 시간 내에 판매되므로, 광고 URL을 링크하고 사용자가 확인하도록 하세요. - 게시하지 않는 판매자는 가짜 숫자(۱,۰۰۰ تومان, 반복 숫자)를 입력 - 해당 광고는 모든 목록에 남아 price_note 표시가 붙어 있으며 중앙값을 설정하지 않습니다.

개요(AI 번역)

AI 에이전트에게 진짜 디바르 지식을 제공하는 공개 MCP 서버: 검색 이란 최대 중고광고, 토만 가격, 카테고리 및 동네, 차량 연비 및 휴대폰 사양, 렌탈 보증금 + 임대료, 광고 세부사항, 나란히 비교 및 실시간 가격 평가. 읽기 전용, 키 필요 없음. 로그인 필요, 전화번호 없음.

라이브 엔드포인트: https://divar-mcp.mmdju2.workers.dev/mcp (스트리밍 가능한 HTTP, 상태 없음)

نسخه فارسی · 예시 · 도구 참고 · 변경 로그

30초 후 연결해

모든 MCP 클라이언트, 하나의 URL. Cline / 커서 / Claude 데스크톱 (mcp.json 스타일):

그럼 그냥 말해: “자부심 3억 달러 미만”, “테헤란에서 임대할 수 있는 2베드룸”, **“이 207이 좋은 거래인가?” **, “마슈하드에서 가장 저렴한 아이폰 13”.

브라우저에서 실행되는 에이전트도 작동합니다 - 엔드포인트는 CORS 프리플라이트([OPTIONS /mcp)에 응답합니다.

7 도구

도구 답변
divar_suggest 실제 검색어, 카테고리 슬러그, 도시 및 구역 ID에 대한 모호한 표현 - 모두 236개 카테고리와 1177개 도시
search_ads “X 표시”, 가격 확인 - 필터, 정렬, 페이지링; 한 통화에서 최대 5개의 페이지를 스캔하고 병합할 수 있습니다

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Divar MCP - Classifieds intelligence for AI agents

A public MCP server that gives AI agents real Divar knowledge: search Iran’s largest classifieds, prices in Toman, categories and neighbourhoods, car mileage and phone specs, rental deposit + rent, ad details, side-by-side comparisons and a live price verdict. Read-only, no key needed. No login, no phone numbers - ever.

Live endpoint: https://divar-mcp.mmdju2.workers.dev/mcp (Streamable HTTP, stateless)

نسخه فارسی · Examples · Tool reference · Changelog

Connect in 30 seconds

Any MCP client, one URL. Cline / Cursor / Claude Desktop (mcp.json style):

{
  "mcpServers": {
    "divar": { "url": "https://divar-mcp.mmdju2.workers.dev/mcp" }
  }
}

Then just talk: “pride under 300 million”, “two-bedroom to rent in Tehran”, “is this 207 a good deal?”, “cheapest iPhone 13 in Mashhad”.

Agents running in a browser work too - the endpoint answers CORS preflights (OPTIONS /mcp).

7 tools

Tool What it answers
divar_suggest Vague wording to real search terms, category slugs, city and district ids - all 236 categories and 1177 cities
search_ads “Show me X”, price checks - filters, sorting, paging; one call can scan and merge up to 5 pages
ad_details Everything about one ad: price, specs, amenities, condition scores, photos, map, expiry, chat flag, seller type
get_ads_batch Shortlist cards for up to 10 tokens - feeds compare_ads, and each card says who is selling and until when
compare_ads “Which of these?” - only the specs that actually differ, plus the middle of the set and where each ad sits
find_best_value “Best X under Y Toman” - picks ranked by what the budget reaches, judged against the uncapped market (market_scale)
market_price “Is this price normal?” - the median of a live sample, with its size and what it kept out of the maths

Every tool is read-only (readOnlyHint: true) and needs no credentials. MCP prompts (compare-ads, best-under-budget) and resources (divar://cities, divar://categories, divar://category-filters/{slug}) ride along - reference data without spending a tool call.

Notes for agent builders:

  • All prices are in Toman (1 Toman = 10 Rial), and a negotiable ad returns price_toman: null - never 0. Ads sell in hours, so link the ad URL and let the user confirm.
  • Not every number in a price field is a price. A seller who will not publish one types a fake (۱,۰۰۰ تومان, repeated digits) - those ads stay in every list, labelled price_is_placeholder with a price_note, and never set a median. The evidence rides along as price_reading, so the caller judges the number instead of trusting it.
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "divar": { "url": "https://divar-mcp.mmdju2.workers.dev/mcp" } } }