Prototyp · Vorschau: alle Server aus der offiziellen Registry, alle 30 Minuten synchronisiert. Bewertungen und Benutzerkonten folgen in einem späteren Schritt.
PopNx MCPMCP-Server für alle, die KI nutzen · in einfachen Worten erklärt

LionScraper MCP + CLI + HTTP API (Python)

von dowantVersion 1.0.6i★ –iLäuft auf deinem Computer
Name in der Registryio.github.dowant/lionscraper-python

Installieren

Überblick

Beschreibung vom Entwickler (englisches Original)

LionScraper Python: MCP stdio + CLI + HTTP API bridging AI to LionScraper browser extension.

Die drei Säulen von PopNx MCP

Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.

Was du damit machen kannst

Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.

  • Verbindung: Läuft auf deinem Computer
  • Transport: stdio
  • Kategorie: Web & Browser

Installation

Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.

Bevor du installierst

  • Basischecks: 1 von 1 bestanden
  • Läuft auf deinem Computer mit den Rechten deines Benutzerkontos (Dateien, Netzwerk, Apps).
  • Die Registry nennt keinen Schlüssel zum Eintragen.

Du brauchst

  • PyPIuv für Python installiert (für den Befehl uvx)

Welche App nutzt du?

Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.

Öffne Claude Desktop → Settings → Developer → Edit Config und füge dies in claude_desktop_config.json ein

{
  "mcpServers": {
    "lionscraper-python": {
      "command": "uvx",
      "args": [
        "lionscraper"
      ]
    }
  }
}

Führe das in deinem Terminal aus

claude mcp add lionscraper-python -- uvx lionscraper

In Cursor öffnen

Oder kopier die Einstellungen selbst

In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen

{
  "mcpServers": {
    "lionscraper-python": {
      "command": "uvx",
      "args": [
        "lionscraper"
      ]
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

In VS Code öffnen

Oder kopier die Einstellungen selbst

In .vscode/mcp.json in deinem Projekt einfügen

{
  "servers": {
    "lionscraper-python": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "lionscraper"
      ]
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.

Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.

Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.

Was er kann

Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.

Basischecksi

Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 6. Nov. 2026

  • ✓ Bestanden

    Entwickler passt zum Repo

    Der Registry-Name wurde mit dem GitHub-Konto dowant bestätigt, dem das Repo gehört

  • … Noch nicht geprüft

    Wird noch gepflegt

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • … Noch nicht geprüft

    Hat eine Lizenz

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • – Nicht zutreffend

    Endpunkt antwortet

    Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet

  • – Nicht zutreffend

    Anmeldung mit OAuth

    Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen

  • … Noch nicht geprüft

    Keine versteckten Anweisungen in Tool-Beschreibungen

    Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen

Im Vergleich mit anderen in Web & Browseri

  • Mehr Sterne als 0 % der anderen 876 Server in dieser Kategorie
  • Neuer in der Registry veröffentlicht als 8 % der anderen 876 Server in dieser Kategorie
  • Basischecks gleich gut wie oder besser als bei 100 % der anderen 876 Server in dieser Kategorie

Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.

Häufige Fragen

Ist LionScraper MCP + CLI + HTTP API (Python) sicher?

Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.

Welche Schlüssel oder Codes braucht er?

Die Registry nennt keinen erforderlichen Schlüssel, manche Server bitten dich aber bei der ersten Nutzung, dich anzumelden.

Läuft er auf meinem Computer oder in der Cloud?

Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).

Wird er noch gepflegt?

Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (1.0.6) kam vor 7 Monaten in die Registry.

Welche Apps können ihn nutzen?

Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Python (uv) auf deinem Computer.

Was kann ich stattdessen nutzen?

In derselben Kategorie: Browser Use, Chrome DevTools MCP, MCP Server Browser

Alternativen

Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.

So liest du eine Karte:★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti

Browser Use

von browser-use

Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.

Computer oder Cloud★ 120.087MITAktualisiert vor 16 Tagen
Installieren

Chrome DevTools MCP

von ChromeDevTools

MCP server for Chrome DevTools

Läuft auf deinem Computer★ 54.821Apache-2.0Aktualisiert vor 15 Tagen
Installieren

MCP Server Browser

von bytedance

MCP server for browser use access

Läuft auf deinem Computer★ 39.550Apache-2.0Aktualisiert vor 14 Monaten
Installieren

README vom Entwickler

README öffnen

Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.

LionScraper MCP + CLI + API service (Python)

简体中文

What is this?

LionScraper is a browser extension that can collect lists, articles, links, images, and more from web pages. This PyPI 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

  1. Browser: Chrome or Edge (follow what the extension actually supports).
  2. LionScraper extension: Install and enable it from your browser’s store (the listing title may vary by storefront).
  1. Python: 3.10 or newer on your machine. If you do not have it yet, download an installer from the Python website and follow the prompts (check the option to add Python to PATH on Windows if the installer offers it).
  2. For MCP: an AI app that supports MCP (e.g. Cursor, Trae).
  3. For the HTTP API: same browser, extension, and daemon as the CLI; use curl, fetch, or any HTTP client against http://127.0.0.1:$PORT (see HTTP API (local REST) below).

This package uses aiohttp for outbound HTTP and WebSocket probes to the daemon. When Chrome/Edge are not detected and the extension is not connected, ping / scrape* can use a server-side HTTP fallback (no in-page JS).

Install (pip)

This package is published on PyPI as [lionscraper](https://pypi.org/project/lionscraper/).

pip install -U lionscraper

You may use a virtual environment (recommended) or pip install -U --user lionscraper if you prefer not to install into the system interpreter.

You get two commands; together they support three integration styles (MCP, CLI, HTTP API):

CommandRole
`lionscraper-mcp`Thin MCP server (stdio) for AI apps
`lionscraper`CLI: daemon, stop, scrape, ping, … (also runs the process that serves the HTTP API)

If lionscraper-mcp is not on your PATH after install, use the full path to the script (e.g. under your venv’s Scripts/ or bin/), or the `python -m lionscraper` form below in MCP (still requires a normal pip install -U lionscraper).


MCP (AI applications)

Add MCP in your AI app

Examples assume `lionscraper-mcp` is on your PATH (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": "" } } } }

  • `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 Authorization header.
  • `DAEMON`: Only `0` disables auto-spawning 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.

If lionscraper-mcp is not on PATH

After `pip install -U lionscraper`, you can run the same routing with `python -m lionscraper`: no arguments after the module name selects thin MCP over stdio; any extra argument (including --debug) uses the CLI instead. Example:

{

"mcpServers": { "lionscraper": { "command": "python", "args": ["-m", "lionscraper"] } } }

Use the same `python` executable you used to install the package (or python3 on some systems).

Match the port in the browser extension
  1. Open LionScraper settings / options.
  2. Set bridge port to the same value as `PORT` (e.g. 13808).
  3. If needed, use Reconnect in the extension, or reload the extension / restart the browser.
Day-to-day use (MCP)
  1. Keep the extension enabled and target pages open as required.
  2. Ask in natural language, e.g. “Check if LionScraper is connected” or “Scrape lists / article / emails / phones / links / images from this page.”
  3. 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.

ToolPurpose (short)
pingCheck that the extension is connected and registered
scrapeAuto-detect structure (lists, tables, …); supports pagination
scrape_articleArticle body (e.g. Markdown) and metadata
scrape_emailsEmail addresses on the page
scrape_phonesPhone numbers (structured)
scrape_urlsHyperlink URLs
scrape_imagesImage 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, 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).
  • 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` command 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

FlagMeaning
--format json or prettyJSON one-line vs. indented (default json)
--rawPrint the tool’s text block as returned, without re-formatting
-o / --output Write the result to a file instead of stdout

Timing and load

FlagMeaning
--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)

FlagMeaning
--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

FlagMeaning
--lang zh-CN or en-USLanguage hint for messages / extension UI strings

Extra payload

FlagMeaning
--include-html + true / falseAsk for full-page HTML in meta when supported
--include-text + true / falseAsk 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 \

Nur der Anfang wird gezeigt; den Rest findest du im Repo

PopNx fragen