LionScraper MCP + CLI + HTTP API (Node)
概要
作者による説明(英語の原文)
LionScraper Node: MCP stdio + CLI + HTTP API bridging AI to LionScraper browser extension.
PopNx MCPの3つの柱
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
- 利用者の声iレビューはまだありませんレビューは今後のステップで、アカウント機能と一緒に始まります
- 私たちの基本チェックi2項目中1項目に合格公開情報からチェック。コードはまだスキャンしていません
- 利用状況iとても新しい↓ 61/週 · ★ 1
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンで動く
- トランスポート: stdio
- カテゴリ: 開発者ツール
インストール
使っているAIアプリを選んで、設定をコピーしてください。
インストールの前に
- 基本チェック:2項目中1項目に合格
- あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
- レジストリには、入力が必要なキーは載っていません。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
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がつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月11日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント dowant で確認済みです
- ! 注意
今もメンテナンスされている
コードの最終更新:7 か月前(6か月以上前)
- … 未チェック
ライセンスがある
このリポジトリはまだGitHubから読み取っていません
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの5735件のうち65%よりスターが多い
- このカテゴリのほかの5735件のうち8%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5735件のうち12%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
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スターi3つの柱:レビュー · チェック · 利用状況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