Connects MCP-compatible AI clients to ScrapeGraph AI for web scraping, extraction, search, crawling, schemas, and account data.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by ScrapeGraphAI Scrapegraph MCP.
scrapePOST /scrape (`output_format`: markdown, html, screenshot, branding, links, images, summary)
extractPOST /extract (requires `website_url` + `user_prompt`; optional `output_schema`)
searchPOST /search (`num_results` 1β20; supports `country_search`, `time_range`, `output_schema`)
crawl_startPOST /crawl β `extraction_mode` markdown / html / links / images / summary / branding / screenshot
crawl_get_statusGET /crawl/:id (poll until `status: completed`)
schemaPOST /schema (generate or augment a JSON Schema from a prompt)
ScrapeGraphAI-scrapegraph-mcp exposes ScrapeGraph AI API v2 through the Model Context Protocol. It is intended for agents that need to retrieve and transform web content without implementing direct HTTP calls to the ScrapeGraph service themselves.
The server supports single-page scraping, prompt-based extraction, web search, asynchronous multi-page crawling, JSON Schema generation, and account-related queries. Scraping can return markdown, HTML, screenshots, branding information, links, images, or summaries. Extraction takes a website URL and a user prompt, with an optional output schema for structured results.
Requests are forwarded to the ScrapeGraph API v2 base URL, which defaults to https://v2-api.scrapegraphai.com/api. Authentication uses the SGAI-APIKEY header. An API key can be supplied through the environment or through the MCP configuration mechanisms described by the project.
The search tool accepts a result count from 1 to 20 and can use country, time-range, and schema options. For larger jobs, crawl_start begins an asynchronous crawl and returns an identifier. Call crawl_get_status with that identifier and continue polling until the response reports status: completed.
The schema tool can create or extend a JSON Schema from a prompt. history provides paginated request history with an optional service filter, while monitor_activity returns paginated activity records containing fields such as status, change information, elapsed time, and diffs.
ScrapeGraphAI-scrapegraph-mcp requires a ScrapeGraph API key, available from the ScrapeGraph Dashboard. The repository supports Python 3.13 or later and installation with either pip or uv. After installing the package, run scrapegraph-mcp or python -m scrapegraph_mcp.server; local communication uses standard input and output.
The primary environment variables are:
SGAI_API_KEY: API key used to authenticate with ScrapeGraph.SGAI_API_URL: optional replacement for the default API base URL.SGAI_TIMEOUT: optional request timeout in seconds; the documented default is 120.The older names SCRAPEGRAPH_API_BASE_URL and SGAI_TIMEOUT_S remain supported as aliases. Smithery installation is documented for Claude Desktop, and the repository also provides local and remote configuration examples for Claude Desktop and Cursor. The hosted endpoint documented for new integrations is https://sgai-mcp-main.onrender.com; the older mcp.scrapegraphai.com/mcp endpoint is marked for deprecation.
scrape: retrieves a page in a selected output format.extract: extracts information from a URL using a user prompt and optional schema.search: searches for web results with filtering and schema options.crawl_start: starts a crawl with a selected extraction mode.crawl_get_status: checks the status of a crawl by ID.schema: generates or augments a JSON Schema.credits: retrieves account credit information.history: lists paginated service history.monitor_activity: lists paginated activity ticks for a monitor.The server targets ScrapeGraph API v2, so requests depend on that service, its API key, and available account credits. Crawl operations are asynchronous and require status polling. The repository documents the removal of older names and features, including markdownify, sitemap, and agentic_scrapper; markdown output should be requested through scrape instead. ScrapeGraphAI-scrapegraph-mcp does not replace the underlying API's access, rate, or service requirements.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/scrapegraphai-scrapegraph-mcp)<a href="https://allmcps.com/mcp/scrapegraphai-scrapegraph-mcp"><img src="https://allmcps.com/api/badge/scrapegraphai-scrapegraph-mcp?style=directory" alt="ScrapeGraphAI Scrapegraph MCP on AllMCPs" /></a>