LionScraper MCP + CLI + HTTP API (Node)
개요
제작자가 쓴 설명(영어 원문)
LionScraper Node: MCP stdio + CLI + HTTP API bridging AI to LionScraper browser extension.
PopNx MCP의 세 기둥
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
- 사용자 의견i아직 리뷰가 없어요리뷰는 다음 단계에서 계정 기능과 함께 열려요
- 우리의 기본 점검i2개 중 1개 통과공개된 정보로 점검했으며, 코드는 아직 스캔하지 않았어요
- 사용 정도i아주 새로움↓ 61/주 · ★ 1
할 수 있는 일
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
- 연결 방식: 내 컴퓨터에서 실행
- 전송 방식: stdio
- 카테고리: 개발자 도구
설치
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
설치하기 전에
- 기본 점검: 2개 중 1개 통과
- 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
- 레지스트리에 입력해야 할 키가 나와 있지 않아요.
필요한 것
- npmNode.js 설치(npx 명령어용)
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"lionscraper-node": {
"command": "npx",
"args": [
"-y",
"lionscraper"
]
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add lionscraper-node -- npx -y lionscraper또는 설정을 직접 복사하기
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"lionscraper-node": {
"command": "npx",
"args": [
"-y",
"lionscraper"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
또는 설정을 직접 복사하기
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"lionscraper-node": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"lionscraper"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
할 수 있는 일
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
기본 점검i
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 10일 점검
- ✓ 통과
제작자와 저장소 일치
레지스트리 이름이 GitHub 계정 dowant 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
- ! 주의
계속 관리되고 있음
코드 마지막 변경: 7개월 전, 6개월 넘게 지났어요
- … 아직 점검 안 함
라이선스 있음
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
- – 해당 없음
엔드포인트 응답
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
- – 해당 없음
OAuth로 로그인
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
- … 아직 점검 안 함
도구 설명에 숨겨진 지시 없음
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
개발자 도구 카테고리의 다른 서버와 비교i
- 이 카테고리의 다른 서버 5720개 중 65%보다 스타가 많아요
- 이 카테고리의 다른 서버 5720개 중 8%보다 최근에 레지스트리에 공개됐어요
- 기본 점검 결과가 이 카테고리의 다른 서버 5720개 중 13%와 같거나 더 좋아요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
자주 묻는 질문
LionScraper MCP + CLI + HTTP API (Node), 안전한가요?
해당하는 기본 점검 2개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
어떤 키나 코드가 필요한가요?
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
아직 관리되고 있나요?
GitHub 저장소는 마지막으로 7개월 전 변경됐고, 최신 버전(1.0.6)은 7개월 전 레지스트리에 올라왔어요.
어떤 앱에서 쓸 수 있나요?
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
대신 쓸 수 있는 건 뭐가 있나요?
같은 카테고리에는: REA, Netdata, Front-End Checklist
대안
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Front-End Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
제작자의 README
README 열기
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
LionScraper MCP + CLI + API service
- Website: lionscraper.com
- npm: package
lionscraper
What is this?
LionScraper 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:
- MCP (
lionscraper-mcp): connect your AI app (e.g. Cursor) so the model can call scraping tools in chat. - CLI (
lionscraper): run daemon, scrape, and ping from a terminal over the same local HTTP/WebSocket port as the extension. - HTTP API: call the same tools over loopback JSON HTTP (
/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.
Before you start
- Browser: Chrome or Edge (follow what the extension actually supports).
- LionScraper extension: Install and enable it from your browser’s store (the listing title may vary by storefront).
- Chrome: Chrome Web Store — LionScraper
- Microsoft Edge: Edge Add-ons — LionScraper
- Node.js: Version 18 or newer on your machine. If you do not have it yet, download an installer from the Node.js website and follow the prompts.
- For MCP: an AI app that supports MCP (e.g. Cursor, Trae).
- For the HTTP API: same browser, extension, and daemon as the CLI; use
curl,fetch, or any HTTP client againsthttp://127.0.0.1:$PORT(see HTTP API (local REST) below).
Install (npm)
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.
MCP (AI applications)
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.
- `PORT`: HTTP + WebSocket listen port; default 13808; must match the extension bridge port.
- `TIMEOUT`: Milliseconds to wait for a previous instance to release the port before forcing takeover; default 120000; `0` means force quickly.
- `LANG`: Tool descriptions and stderr log language (`en-US`, `zh-CN`, or POSIX forms like
en_US.UTF-8). - `TOKEN`: Bearer token shared with the daemon; empty means no
Authorizationheader. - `DAEMON`: Only `0` disables auto-spawning
lionscraper daemonfrom thin MCP; empty or other values match omitting the key (auto-start allowed).
Restart MCP or the app so the config applies.
Match the port in the browser extension
- Open LionScraper settings / options.
- Set bridge port to the same value as `PORT` (e.g.
13808). - If needed, use Reconnect in the extension, or reload the extension / restart the browser.
Day-to-day use (MCP)
- Keep the extension enabled and target pages open as required.
- Ask in natural language, e.g. “Check if LionScraper is connected” or “Scrape lists / article / emails / phones / links / images from this page.”
- If you see not connected or timeout, retry a connection check and confirm PORT matches.
MCP tools (summary)
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.
MCP Resources / Prompts
The thin MCP process (lionscraper-mcp) exposes Resources and Prompts in addition to Tools:
- Resources: static Markdown at stable URIs, e.g.
lionscraper://guide/connection(PORT alignment,pingtroubleshooting),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). - Prompts: workflow templates (e.g. ping-then-scrape, multi-URL,
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.
CLI (terminal)
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
Shorthand: lionscraper -u https://www.example.com → same as scrape
`--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.
Scrape: parameters and richer examples
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)
- Emails (
--method emails):--email-domain,--email-keyword,--email-limit - Phones (
--method phones):--phone-type,--phone-area-code,--phone-keyword,--phone-limit - URLs (
--method urls):--url-domain,--url-keyword,--url-pattern,--url-limit - Images (
--method images):--img-min-width,--img-min-height,--img-format,--img-keyword,--img-limit
Optional 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
- `--max-pages`: stop after at most five “pages” of list accumulation for this job.
- `--delay`: give the page extra time after load before extraction.
- `--timeout-ms` / `--bridge-timeout-ms`: extension vs. CLI-side waits; raise both for slow sites or heavy pages.
- **
--wait-scroll-***: gentle scrolling so lazy-loaded rows can appear before scraping. - **
-o/ `--format pr