SGAI_API_KEY
: Your ScrapeGraphAI API Key
Steps
-
Install Meshagent Python Package:
-
Sign up and Authenticate:
Follow the authentication flow documented at
Meshagent CLI Getting Started. -
Start ScrapeGraph as a Room Service:
- This command launches a Meshagent Room “test” with the ScrapeGraph MCP server.
- The Room and service auto-shutdown if inactive.
-
Launch a Chatbot with Access to ScrapeGraph Tools:
- Starts a chatbot inside the room, ready to use the ScrapeGraph tools.
- Multiple toolkits can be made available to the same agent if desired.
- The room link is shown in the command output.
-
Try It Out:
- Open the room link in your browser and interact (chat) with the MCP Server tools via the agent!
Project Level Deployment (Persistent Services)
For production use, register services at the Meshagent project level so the ScrapeGraph server and chatbot are automatically available whenever any room is created in your project. No need for manual or local startup per room.Steps
-
Create Persistent ScrapeGraph MCP Service:
-
Create Persistent Chatbot Service (Accessing ScrapeGraph Tools):
Tools Available
Tools Provided by ScrapeGraph MCP Server
Tool Name | Short Description |
---|---|
markdownify | Convert a webpage into clean, formatted markdown. |
searchscraper | Perform AI-powered web searches with structured results. |
smartscraper | Extract structured data from a webpage using AI. |
Tool Details
markdownify
Convert a webpage into clean, formatted markdown.Parameters:
Name | Type | Description |
---|---|---|
website_url | string | URL of the webpage to convert |
searchscraper
Perform AI-powered web searches with structured results.Parameters:
Name | Type | Description |
---|---|---|
user_prompt | string | Search query or instructions |
smartscraper
Extract structured data from a webpage using AI.Parameters:
Name | Type | Description |
---|---|---|
user_prompt | string | Instructions for what data to extract |
website_url | string | URL of the webpage to scrape |