Skip to main content
Glama

Enhanced Web Scraper MCP Server

by JMRMEDEV

scrape_page

Extract content from web pages, React apps, and React Native web apps using Playwright with CSS selectors, mobile viewport emulation, and screenshot capture.

Instructions

Scrape content from any web page (regular websites, React apps, or React Native web apps) using Playwright

Input Schema

NameRequiredDescriptionDefault
browserNoBrowser engine to usechromium
deviceNoDevice to emulate (e.g., "iPhone 12", "Pixel 5") - for mobile web apps
mobileViewportNoUse mobile viewport (primarily for React Native web apps)
screenshotNoTake a screenshot of the page
selectorNoCSS selector to target specific elements (supports regular CSS and React Native testID/aria-label fallbacks)
urlYesURL to scrape
waitForNoWait for specific selector or timeout in ms (e.g., "2000" or "#my-element")

Input Schema (JSON Schema)

{ "properties": { "browser": { "default": "chromium", "description": "Browser engine to use", "enum": [ "chromium", "firefox", "webkit" ], "type": "string" }, "device": { "description": "Device to emulate (e.g., \"iPhone 12\", \"Pixel 5\") - for mobile web apps", "type": "string" }, "mobileViewport": { "default": false, "description": "Use mobile viewport (primarily for React Native web apps)", "type": "boolean" }, "screenshot": { "default": false, "description": "Take a screenshot of the page", "type": "boolean" }, "selector": { "description": "CSS selector to target specific elements (supports regular CSS and React Native testID/aria-label fallbacks)", "type": "string" }, "url": { "description": "URL to scrape", "type": "string" }, "waitFor": { "description": "Wait for specific selector or timeout in ms (e.g., \"2000\" or \"#my-element\")", "type": "string" } }, "required": [ "url" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JMRMEDEV/amazon-q-web-scraper-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server