# barchin-net/barchin-mcp [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/barchin-net/barchin-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/barchin-net-barchin-mcp

## Description
Web scraping and Iranian-web data tools for AI agents: JS rendering, proxies, Markdown output.

## Tools
Capabilities this server exposes over MCP:

- **scrape_url** — Fetch a web page through Barchin (rotating Iranian/datacenter proxies, optional JavaScript rendering, anti-bot handling) and return its content as Markdown, plain text or raw HTML. Costs credits: datacenter 1, residential 15, unblocker 25, +5 with JavaScript rendering; markdown/text conversion is free.
- **get_scrape** — Check the status of a previous scrape_url call and return its result — the content, in the requested format — once ready. Free: reading an already-paid-for result costs no credits. If the scrape is still running, returns a processing status to retry shortly.
- **get_screenshot** — Take a screenshot of a web page in a real browser through Barchin's proxies, and return it as a PNG image (first viewport, or the full scrolled page) or a PDF print of the page. Billed as an actor run: a base fee plus the proxy tier price for the one page it renders.
- **list_actors** — List Barchin's ready-made scrapers ('actors') for specific sites and data types (e.g. Instagram, Google Maps, e-commerce listings, business registries). Each entry's input_schema describes the arguments to pass as run_actor(slug, input); a curated set of featured actors also exists as its own direct actor_<slug> tool. Free to call — no credits are charged.
- **run_actor** — Run any Barchin actor by slug with its input object. Use list_actors to discover slugs and input schemas; featured actors also exist as direct actor_<slug> tools. Billed like the actor itself: base fee plus the proxy tier price per fetched page (datacenter 1, residential 15, unblocker 25, +5 with JavaScript).
- **get_actor_run** — Check the status of a previous actor run (from an actor_<slug>, run_actor or get_screenshot call) and return its dataset once ready. Free: reading an already-paid-for result costs no credits.
- **get_balance** — Return the caller's remaining Barchin credit balance and a link to top up.
- **actor_torob-product-sellers** — Barchin actor 'torob-product-sellers' (e-commerce). با نشانی یک یا چند صفحهٔ محصول ترب، پیشنهاد فروشندگان را به‌صورت ردیف‌های جداگانهٔ JSON دریافت کنید. خروجی قیمت، موجودی و نشانگر قیمت نامطمئن را شامل می‌شود. Base fee 20 credit(s) plus the proxy tier price per fetched page (datacenter 1, residential 15, unblocker 25, +5 with JavaScript). Call list_actors for the full input schema.
- **actor_digikala-scraper** — Barchin actor 'digikala-scraper' (ecommerce). دادهٔ محصول دیجی‌کالا را از عبارت جست‌وجو، دسته یا نشانی کالا بگیرید. نظر و پرسش اختیاری‌اند و گزینه‌های زمانی و شناسه‌ای برای ادامهٔ خواندن آن‌ها در طرح‌واره آمده‌اند. Base fee 8 credit(s) plus the proxy tier price per fetched page (datacenter 1, residential 15, unblocker 25, +5 with JavaScript). Call list_actors for the full input schema.
- **actor_divar-scraper** — Barchin actor 'divar-scraper' (classifieds). با شهر، دسته، جست‌وجو یا نشانی آگهی، عنوان، قیمت و مشخصات آگهی‌های عمومی دیوار را بگیرید. تلفن در اجرای عمومی پیش‌فرض در خروجی ظاهر نمی‌شود. Base fee 13 credit(s) plus the proxy tier price per fetched page (datacenter 1, residential 15, unblocker 25, +5 with JavaScript). Call list_actors for the full input schema.
- **actor_sheypoor-scraper** — Barchin actor 'sheypoor-scraper' (marketplace). دادهٔ آگهی عمومی شیپور را با شهر، دسته، عبارت یا نشانی مستقیم بگیرید. فیلتر شهر ممکن است آگهی شهرهای اطراف را هم برگرداند و ترتیب خروجی زمانی نیست. برای نشانی حذف‌شده، ردیف removed ممکن است برگردد. Base fee 8 credit(s) plus the proxy tier price per fetched page (datacenter 1, residential 15, unblocker 25, +5 with JavaScript). Call list_actors for the full input schema.
- **actor_tgju-price-scraper** — Barchin actor 'tgju-price-scraper' (finance). با اسلاگ ابزار TGJU نرخ و واحد اعلام‌شده در منبع را بگیرید. تاریخچه اختیاری است و چند ابزار سقف ردیف را به اشتراک می‌گذارند. اسلاگ ناشناخته می‌تواند ردیف notFound بدهد. Base fee 2 credit(s) plus the proxy tier price per fetched page (datacenter 1, residential 15, unblocker 25, +5 with JavaScript). Call list_actors for the full input schema.
- **actor_codal-scraper** — Barchin actor 'codal-scraper' (finance). اطلاعیه‌های ناشران را از کدال بر اساس نماد، کد اطلاعیه یا بازهٔ تاریخ دریافت کنید. خروجی JSON شامل شمارهٔ پیگیری، عنوان، تاریخ انتشار و لینک پیوست‌هاست. با گزینهٔ parseTables می‌توانید جدول بعضی گزارش‌ها را نیز بگیرید. Base fee 8 credit(s) plus the proxy tier price per fetched page (datacenter 1, residential 15, unblocker 25, +5 with JavaScript). Call list_actors for the full input schema.
- **actor_tsetmc-scraper** — Barchin actor 'tsetmc-scraper' (finance). دادهٔ نمادهای بورس تهران را بر اساس نوع داده مانند وضعیت نماد، تاریخچهٔ روزانهٔ خام یا عمق بازار دریافت کنید. قیمت‌ها به ریال‌اند. Base fee 8 credit(s) plus the proxy tier price per fetched page (datacenter 1, residential 15, unblocker 25, +5 with JavaScript). Call list_actors for the full input schema.
- **actor_google-search** — Barchin actor 'google-search' (search). عبارت جست‌وجو را بدهید تا نتایج ارگانیک گوگل را به‌صورت JSON بگیرید: رتبه، عنوان، دامنه، نام سایت و متن توضیح. زبان و کشور نتایج قابل تنظیم است — پیش‌فرض فارسی و ایران. برای هر نتیجه یک ردیف برمی‌گردد. Base fee 40 credit(s) plus the proxy tier price per fetched page (datacenter 1, residential 15, unblocker 25, +5 with JavaScript). Call list_actors for the full input schema.
- **actor_google-maps-scraper** — Barchin actor 'google-maps-scraper' (maps). عبارت جست‌وجو، نشانی مستقیم یا شناسهٔ مکان بدهید. برای پایش شناسه‌های شناخته‌شده، statusCheckOnly واکشی اضافی مختصات و جزئیات پرهزینه مانند نظرها و تصاویر را کنار می‌گذارد. Base fee 30 credit(s) plus the proxy tier price per fetched page (datacenter 1, residential 15, unblocker 25, +5 with JavaScript). Call list_actors for the full input schema.
- **actor_persian-news-scraper** — Barchin actor 'persian-news-scraper' (news). چند خبرگزاری فارسی را با سقف مشترک maxItems بخوانید. حالت جست‌وجو به پشتیبانی منبع وابسته است. mode=sitemap برای منابع پشتیبانی‌شده آرشیو می‌دهد و برای ادامه می‌توان sitemapCursor همان منبع را استفاده کرد. Base fee 30 credit(s) plus the proxy tier price per fetched page (datacenter 1, residential 15, unblocker 25, +5 with JavaScript). Call list_actors for the full input schema.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "barchin-mcp": {
    "url": "https://barchin.net/mcp"
  }
}
```

## Documentation

## What barchin-net/barchin-mcp does

barchin-net/barchin-mcp gives MCP-compatible agents remote access to live web pages through Barchin's Iranian and datacenter proxies. Pages can be returned as Markdown, plain text, or HTML, while browser rendering supports JavaScript-heavy sites. A screenshot tool produces a PNG of the first viewport or a full page, or prints the page as a PDF.

The server also exposes Barchin actors: site-focused scrapers with their own input schemas. The catalog includes actors for Torob sellers, Digikala products, Divar and Sheypoor listings, TGJU prices, Codal announcements, Tehran Stock Exchange data, Google Search, Google Maps, and Persian news sources. Additional active actors can be discovered at runtime.

## How it works

The service uses the Streamable HTTP transport at `https://barchin.net/mcp`; it is remote and requires no local server installation. `tools/list` can be called without authentication to inspect available tools. Actual tool calls require an `Authorization: Bearer ...` header using a key created in the Barchin dashboard.

A scrape or actor call may finish immediately or return a processing status with an identifier. `get_scrape` retrieves a pending or completed page scrape, while `get_actor_run` retrieves an actor or screenshot run. `list_actors` returns active actor slugs and their input schemas, which can then be passed to `run_actor`.

## Setup and configuration

Use the endpoint in a client that supports remote MCP connections. Claude Code can register it with the HTTP transport, and Cursor can configure it in `.cursor/mcp.json`. Claude Desktop requires the `mcp-remote` bridge because it does not directly speak Streamable HTTP. The same endpoint can be supplied to the OpenAI Responses API as an MCP server with request headers.

Create an API key at `https://barchin.net/dashboard/api-keys` and attach it to every tool call. `get_balance` reports the remaining credit balance and provides a top-up link.

## Tools and capabilities

- `scrape_url` fetches a URL with selectable proxy tier, optional JavaScript rendering, output format, character limit, country, and wait condition.
- `get_scrape` reads the result of a previous scrape without charging again for result retrieval.
- `get_screenshot` captures a browser-rendered page as PNG or PDF, including full-page output.
- `list_actors`, `run_actor`, and curated `actor_<slug>` tools provide structured, source-specific extraction.
- `get_actor_run` retrieves delayed actor or screenshot results.
- `get_balance` checks available credits.

## Limitations and notes

Datacenter requests cost 1 credit, residential requests 15, and unblocker requests 25. JavaScript rendering adds 5 credits; actor calls also have actor-specific base fees. Markdown and text conversion add no separate charge. Long operations can remain in processing status and require polling. Public-source actor behavior varies by site: for example, Divar's default public output omits phone numbers, and some actors return source-specific statuses or pagination fields.

_Full upstream README: https://allmcps.com/mcp/barchin-net-barchin-mcp/readme_

