Browser Use
ให้ AI ทำงานบนเว็บแทนคุณ เช่น กรอกฟอร์ม ค้นหา และดึงข้อมูล ใช้เบราว์เซอร์บนคลาวด์ของผู้ทำหรือรันในเครื่องก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
LionScraper Node: MCP stdio + CLI + HTTP API bridging AI to LionScraper browser extension.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"lionscraper-node": {
"command": "npx",
"args": [
"-y",
"lionscraper"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add lionscraper-node -- npx -y lionscraperวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"lionscraper-node": {
"command": "npx",
"args": [
"-y",
"lionscraper"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"lionscraper-node": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"lionscraper"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub dowant ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.6) เข้า registry 7 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Browser Use, Chrome DevTools MCP, MCP Server Browser
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ให้ AI ทำงานบนเว็บแทนคุณ เช่น กรอกฟอร์ม ค้นหา และดึงข้อมูล ใช้เบราว์เซอร์บนคลาวด์ของผู้ทำหรือรันในเครื่องก็ได้
ให้ AI ใช้เครื่องมือนักพัฒนาของ Chrome ตรวจหน้าเว็บ ดูว่าโหลดช้าตรงไหน และหาข้อผิดพลาด ทำโดยทีม Chrome DevTools
MCP server for browser use access
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
简体中文
lionscraperLionScraper is a browser extension that can collect lists, articles, links, images, and more from web pages. This npm package provides the companion bridge to that extension in three ways:
lionscraper-mcp): connect your AI app (e.g. Cursor) so the model can call scraping tools in chat.lionscraper): run daemon, scrape, and ping from a terminal over the same local HTTP/WebSocket port as the extension./v1/...) when the daemon is running—useful for scripts, services, or any HTTP client without MCP or the CLI front-end.The real scraping logic runs in the extension; this package connects and forwards.
curl, fetch, or any HTTP client against http://127.0.0.1:$PORT (see HTTP API (local REST) below).This package is published on npm as [lionscraper](https://www.npmjs.com/package/lionscraper).
npm install -g lionscraper
You get two commands; together they support three integration styles (MCP, CLI, HTTP API):
| Command | Role |
|---|---|
| `lionscraper-mcp` | Thin MCP server (stdio) for AI apps |
| `lionscraper` | CLI: daemon, stop, scrape, ping, … (also runs the process that serves the HTTP API) |
Without a global install, MCP can use `npx`; see JSON examples under Add MCP in your AI app.
Examples assume a global lionscraper install (UIs differ). In MCP JSON, every `env` value is a string.
Minimal config (omit env for built-in defaults; `PORT` defaults to 13808 and must match the extension bridge port):
{
"mcpServers": { "lionscraper": { "command": "lionscraper-mcp" } } }
Full `env` example (drop keys you do not need; empty strings behave like “unset” for most of these):
{
"mcpServers": { "lionscraper": { "command": "lionscraper-mcp", "env": { "PORT": "13808", "TIMEOUT": "120000", "LANG": "en-US", "TOKEN": "", "DAEMON": "" } } } }
npx (no global install) — the first run may download the package. `command` is `npx`; `args` are `["-y", "lionscraper", "lionscraper-mcp"]` (npm package name lionscraper, then binary lionscraper-mcp).
Minimal config (npx):
{
"mcpServers": { "lionscraper": { "command": "npx", "args": ["-y", "lionscraper", "lionscraper-mcp"] } } }
Full `env` example (npx):
{
"mcpServers": { "lionscraper": { "command": "npx", "args": ["-y", "lionscraper", "lionscraper-mcp"], "env": { "PORT": "13808", "TIMEOUT": "120000", "LANG": "en-US", "TOKEN": "", "DAEMON": "" } } } }
Pin a version by using e.g. lionscraper@1.0.1 instead of lionscraper in args.
en_US.UTF-8).Authorization header.lionscraper daemon from thin MCP; empty or other values match omitting the key (auto-start allowed).Restart MCP or the app so the config applies.
13808).The server registers tools that mirror extension capabilities. Names and shapes are what your MCP client shows to the model.
| Tool | Purpose (short) |
|---|---|
ping | Check that the extension is connected and registered |
scrape | Auto-detect structure (lists, tables, …); supports pagination |
scrape_article | Article body (e.g. Markdown) and metadata |
scrape_emails | Email addresses on the page |
scrape_phones | Phone numbers (structured) |
scrape_urls | Hyperlink URLs |
scrape_images | Image URLs and basic metadata |
Parameters: A full JSON schema for every field belongs in the tool definitions your client displays and in release-accurate docs; duplicating it here goes stale quickly. Use the tool list / descriptions in the AI app when calling MCP.
The thin MCP process (lionscraper-mcp) exposes Resources and Prompts in addition to Tools:
lionscraper://guide/connection (PORT alignment, ping troubleshooting), lionscraper://guide/when-to-use-tools (prefer LionScraper over WebFetch/curl/wget by scenario), lionscraper://guide/cli (terminal CLI), lionscraper://reference/tools, lionscraper://reference/common-params. Clients list/read them into context; they are served inside the stdio process and do not require the daemon HTTP path (works even if the extension is offline). For the loopback HTTP control plane (/v1/...), see HTTP API (local REST) below (not an MCP resource URI).scrape_article, prefer_lionscraper_scraping, extension troubleshooting). Clients list/get prompts; UI varies by host (Cursor, Trae, …).Copy follows `LANG` (e.g. zh-CN), same as tool metadata.
The `lionscraper` binary is the terminal front-end to the same stack as MCP: `lionscraper daemon` listens on `PORT` (default 13808) for HTTP (used by the CLI and by the thin lionscraper-mcp process) and WebSocket (used by the extension). Set `PORT` (and optional `TOKEN`) to match the extension bridge port and any MCP config. Use the CLI for scripts, CI, or quick one-off runs without opening an AI chat.
The CLI talks to the daemon HTTP API on http://127.0.0.1:$PORT (default port 13808, same as the extension). If you do not pass --api-url, a local daemon is auto-started when possible when you run scrape or ping.
Common commands:
lionscraper --help
lionscraper daemon # keep running; HTTP + WebSocket on PORT lionscraper stop # stop daemon on configured PORT lionscraper ping lionscraper scrape -u https://www.example.com lionscraper scrape --method article -u https://www.example.com
`--method` selects which tool the daemon runs (default scrape): scrape, article, emails, phones, urls, images. Repeat `-u` / `--url` to pass several URLs in one run.
Set `PORT` (and optional `TOKEN`) in the environment so the CLI matches the extension and MCP. Use `--api-url http://127.0.0.1:PORT` if the daemon is not on the default base URL. Run `lionscraper --help` for every flag the binary accepts.
Below flags are forwarded to the extension (except `--bridge-timeout-ms`, which only caps how long the CLI waits on the bridge). Actual behavior still depends on the extension version.
Output and connection
| Flag | Meaning |
|---|---|
--format json or pretty | JSON one-line vs. indented (default json) |
--raw | Print the tool’s text block as returned, without re-formatting |
-o / --output | Write the result to a file instead of stdout |
Timing and load
| Flag | Meaning |
|---|---|
--delay | Wait after page load before scraping (dynamic content) |
--timeout-ms | Per-URL timeout on the extension side |
--bridge-timeout-ms | Max wait for this CLI → daemon call |
--scrape-interval | Delay between starting multiple URLs |
--concurrency | Concurrency hint for multi-URL runs |
--scroll-speed | Global scroll speed (extension semantics) |
--max-pages | Pagination cap for list-style `scrape` |
Lazy-loaded / infinite scroll (maps to waitForScroll in the tool payload)
| Flag | Meaning |
|---|---|
--wait-scroll-speed | Pixels per step while scrolling |
--wait-scroll-interval | Delay between scroll steps |
--wait-max-scroll-height | Optional max scroll distance |
--scroll-container | Optional scrollable container selector |
Locale
| Flag | Meaning |
|---|---|
--lang zh-CN or en-US | Language hint for messages / extension UI strings |
Extra payload
| Flag | Meaning |
|---|---|
--include-html + true / false | Ask for full-page HTML in meta when supported |
--include-text + true / false | Ask for full-page plain text in meta when supported |
Method-specific filters (examples; see --help for the full set)
--method emails): --email-domain, --email-keyword, --email-limit--method phones): --phone-type, --phone-area-code, --phone-keyword, --phone-limit--method urls): --url-domain, --url-keyword, --url-pattern, --url-limit--method images): --img-min-width, --img-min-height, --img-format, --img-keyword, --img-limitOptional browser automation hints (when the extension supports them): --auto-launch-browser, --no-auto-launch-browser, --post-launch-wait-ms.
Example A — List / table scrape with pagination, delays, and scroll assist
lionscraper scrape \
-u https://www.example.com/items \ --max-pages 5 \ --delay 800 \ --timeout-ms 90000 \ --bridge-timeout-ms 180000 \ --wait-scroll-speed 400 \ --wait-scroll-interval 350 \ --lang zh-CN \ --format pretty \ -o items.json
--wait-scroll-***: gentle scrolling so lazy-loaded rows can appear before scraping.-o / `--format prตัดมาแค่ช่วงต้น อ่านต่อใน repo