Scrapegraph MCP MCP Server

A production-ready [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP) server that provides seamless integration with the

Remote serverstreamable-httpPython

What is the Scrapegraph MCP MCP server?

Connect Scrapegraph MCP to Claude, Cursor or any other MCP client and it stops being a tab you switch to. A production-ready Model Context Protocol (MCP) server that provides seamless integration with the [ScrapeGraph. The scrapegraph mcp mcp server is what makes that connection.

What the server does

This MCP server targets ScrapeGraph API v2 (https://v2-api.scrapegraphai.com/api), aligned 1:1 with scrapegraph-py PR #84. Auth uses the SGAI-APIKEY header. Environment variables mirror the Python SDK:

  • Scrape & extract — scrape (POST /scrape, multi-format), extract (POST /extract, URL + prompt)
  • Search — search (POST /search; num_results clamped 3–20)
  • Crawl — Async multi-page crawl with crawl_start / crawl_get_status / crawl_stop / crawl_resume
  • Schema — schema (POST /schema) — generate or augment a JSON Schema from a prompt
  • Monitors — Scheduled jobs via monitor_create, monitor_list, monitor_get, pause/resume/delete, monitor_activity (paginated tick history)
  • Account — credits, history

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Markdownify — "Convert the ScrapeGraph documentation page to markdown"
  • Extract — "Extract all product names, prices, and ratings from this e-commerce page"
  • Ruff — Fast Python linter and formatter
  • mypy — Static type checker
  • Hatchling — Modern build backend
  • Authentication — API key-based
  • scrape — POST /scrape (output_format: markdown, html, screenshot, branding, links, images, summary)
  • extract — POST /extract (requires website_url + user_prompt; optional output_schema)
  • search — POST /search (num_results 1–20; supports country_search, time_range, output_schema)
  • crawl_start — POST /crawl — extraction_mode markdown / html / links / images / summary / branding / screenshot
  • crawl_get_status — GET /crawl/:id (poll until status: completed)
  • schema — POST /schema (generate or augment a JSON Schema from a prompt)

Installation

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

Credentials and setup notes

Configuration is passed through the environment: SGAI_API_KEY, SGAI_API_URL, SCRAPEGRAPH_API_BASE_URL, YOUR_API_KEY, SCRAPEGRAPH_MCP_PATH, SERVER_SCRIPT_PATH, BASE_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Python 3.13 or higher - pip or uv package manager - ScrapeGraph API key

Where it fits

Among the search and retrieval options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Scrapegraph MCP's toolset — Markdownify, Extract, Ruff and 11 more — is a fair guide to whether it matches your workflow. It is maintained by ScrapeGraphAI; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Scrapegraph MCP.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
Markdownify"Convert the ScrapeGraph documentation page to markdown"
Extract"Extract all product names, prices, and ratings from this e-commerce page"
RuffFast Python linter and formatter
mypyStatic type checker
HatchlingModern build backend
AuthenticationAPI key-based
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)
creditsGET /credits
historyGET /history (paginated, service filter)

How to install the Scrapegraph MCP MCP server

{
  "mcpServers": {
    "scrapegraph": {
      "command": "npx",
      "args": ["-y", "@smithery/cli"],
      "env": {
        "SGAI_API_KEY": "your-value",
        "SGAI_API_URL": "your-value",
        "SCRAPEGRAPH_API_BASE_URL": "your-value",
        "YOUR_API_KEY": "your-value",
        "SCRAPEGRAPH_MCP_PATH": "your-value",
        "SERVER_SCRIPT_PATH": "your-value",
        "BASE_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Python 3.13 or higher - pip or uv package manager - ScrapeGraph API key
VariableDescriptionRequired
SGAI_API_KEYCredential the server authenticates with.Yes
SGAI_API_URLEndpoint or connection string the server talks to.Yes
SCRAPEGRAPH_API_BASE_URLEndpoint or connection string the server talks to.Yes
YOUR_API_KEYCredential the server authenticates with.Yes
SCRAPEGRAPH_MCP_PATHFilesystem location the server is allowed to use.Optional
SERVER_SCRIPT_PATHFilesystem location the server is allowed to use.Optional
BASE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Scrapegraph MCP to Markdownify.
  • Use Scrapegraph MCP to Extract.
  • Use Scrapegraph MCP to Ruff.

Frequently asked questions

It connects Scrapegraph MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (Markdownify, Extract, Ruff, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Scrapegraph MCP directly.