mcp-scraper 0.3.25 → 0.3.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10872,16 +10872,6 @@ var init_catalog_seed = __esm({
10872
10872
  isSpecial: true,
10873
10873
  tagline: "Generate a rank-tracker blueprint",
10874
10874
  params: [{ key: "domain", label: "Domain", type: "string", required: true }]
10875
- },
10876
- {
10877
- key: "deep_research_workflow",
10878
- label: "Deep Research",
10879
- kind: "simple",
10880
- endpoint: "/workflows/run",
10881
- mcpName: "workflow_run",
10882
- isSpecial: true,
10883
- tagline: "Multi-source, fact-checked research report",
10884
- params: [{ key: "question", label: "Question", type: "string", required: true }]
10885
10875
  }
10886
10876
  ]
10887
10877
  }
@@ -24879,7 +24869,7 @@ var PACKAGE_VERSION;
24879
24869
  var init_version = __esm({
24880
24870
  "src/version.ts"() {
24881
24871
  "use strict";
24882
- PACKAGE_VERSION = "0.3.25";
24872
+ PACKAGE_VERSION = "0.3.26";
24883
24873
  }
24884
24874
  });
24885
24875
 
@@ -24889,33 +24879,73 @@ var init_server_instructions = __esm({
24889
24879
  "src/mcp/server-instructions.ts"() {
24890
24880
  "use strict";
24891
24881
  SERVER_INSTRUCTIONS = `
24892
- This server scrapes and analyzes web, social, search, maps, and site data. Pick a tool by NAME using
24893
- this routing map, then load its schema before calling.
24894
-
24895
- ROUTING
24896
- - One web page -> extract_url. Whole site (crawl + SEO report) -> extract_site. Just the URL list -> map_site_urls.
24897
- - Web search (organic SERP) -> search_serp. Full SERP + People-Also-Ask / AI-Overview detail -> harvest_paa.
24898
- - Google Maps: find places -> maps_search; one place deep-dive + reviews -> maps_place_intel.
24899
- - YouTube: find or list videos -> youtube_harvest; transcribe one video -> youtube_transcribe.
24900
- - Facebook: find ads -> facebook_ad_search; transcribe an ad -> facebook_ad_transcribe; transcribe a
24901
- video -> facebook_video_transcribe; page profile/intel -> facebook_page_intel.
24902
- - Instagram: profile inventory -> instagram_profile_content; one post or reel -> instagram_media_download.
24903
- - Workflows (multi-step): local directory build -> directory_workflow; rank blueprint -> rank_tracker_workflow;
24904
- AI-answer citation fan-out (AEO) -> query_fanout_workflow; deep research -> deep_research_workflow.
24905
- - Anything without a dedicated tool (e.g. Reddit, arbitrary logged-in sites) -> the browser_* agent
24906
- (browser_open, then navigate/read).
24907
- - Logged-in sites (ChatGPT, Claude, Reddit, any account): save the login first -> browser_profile_connect
24908
- (returns an mcpscraper.dev sign-in link for the user; one profile holds MANY logins, call it again with
24909
- the same profile + a new domain to add accounts) -> poll browser_profile_list until AUTHENTICATED ->
24910
- browser_open with that profile. browser_profile_list also shows what a profile is connected to.
24911
-
24912
- NOTES
24913
- - Bulk / full-site crawls: call extract_site with rotateProxies:true for blocked or rate-limited sites.
24914
- It discovers URLs and returns a saved folder/artifact plus a summary, not the full content inline.
24915
- - Tools that open a browser session or transcribe media cost credits and take longer. Prefer the
24916
- cheapest tool that answers the question (plain search/extract before browser agents).
24917
- - Large results are saved to disk or an artifact and returned as a summary plus a path; read the path
24918
- for full detail rather than expecting the whole payload inline.
24882
+ # MCP Scraper
24883
+
24884
+ Scrapes and analyzes web, search, maps, social, and site data. **Pick a tool by NAME from the map
24885
+ below, then load its schema before calling.** Where a tool needs a value another tool produces, the
24886
+ seam is noted so you can chain them.
24887
+
24888
+ ## Search & research
24889
+ - Organic Google results, rankings, local pack -> **search_serp**.
24890
+ - Full SERP plus People-Also-Ask and AI-Overview detail -> **harvest_paa**.
24891
+ - \`search_serp\` returns \`organicResults[].url\` (often including reddit.com threads) \u2014 feed those into
24892
+ \`extract_url\` or \`reddit_thread\`.
24893
+
24894
+ ## Pages & sites
24895
+ - One page -> **extract_url** (takes a url).
24896
+ - Whole site, crawl + SEO report -> **extract_site** (takes a url).
24897
+ - Just the URL list/inventory -> **map_site_urls** (takes a url).
24898
+ - \`map_site_urls\` returns urls you can feed straight into \`extract_url\`.
24899
+
24900
+ ## Google Maps
24901
+ - Find multiple places/competitors/prospects -> **maps_search** (returns \`results[]\` with name,
24902
+ placeUrl, cid).
24903
+ - One business deep-dive + reviews -> **maps_place_intel** (takes businessName + location, NOT an id \u2014
24904
+ call it directly with a name from a \`maps_search\` result or from the user).
24905
+
24906
+ ## YouTube
24907
+ - Find or list videos -> **youtube_harvest** (returns \`videos[].videoId\`).
24908
+ - Transcribe one video -> **youtube_transcribe** (takes a videoId from \`youtube_harvest\`, or a url).
24909
+
24910
+ ## Facebook
24911
+ - Find advertisers -> **facebook_ad_search** (returns \`advertisers[]\` with pageId, libraryId).
24912
+ - One advertiser's ads -> **facebook_page_intel** (takes pageId, libraryId, or query; returns
24913
+ \`ads[].videoUrl\`).
24914
+ - Transcribe an ad video -> **facebook_ad_transcribe** (takes a videoUrl from \`facebook_page_intel\`).
24915
+ - Transcribe an organic reel/video/post -> **facebook_video_transcribe** (takes the Facebook url directly).
24916
+
24917
+ ## Instagram
24918
+ - Profile inventory -> **instagram_profile_content** (returns post/reel/tv urls).
24919
+ - One post or reel -> **instagram_media_download** (takes a url from \`instagram_profile_content\`, or a
24920
+ url the user gives).
24921
+
24922
+ ## Reddit
24923
+ - A reddit.com thread/post URL -> **reddit_thread**. Returns the post plus its comment tree and handles
24924
+ Reddit's bot wall itself (no login needed). Find threads first with \`search_serp\`.
24925
+
24926
+ ## Other sites & logins (browser agent)
24927
+ For an arbitrary site or a logged-in dashboard with no dedicated tool, use the browser_* agent. **First
24928
+ decide whether the site needs a login:**
24929
+ - **Needs a login** (ChatGPT, Claude, any account) -> save it first: **browser_profile_connect** returns
24930
+ an mcpscraper.dev sign-in link for the user; one profile holds MANY logins (call it again with the same
24931
+ profile + a new domain to add accounts). Poll **browser_profile_list** until AUTHENTICATED, then
24932
+ **browser_open** with that profile.
24933
+ - **No login** -> **browser_open**, then navigate/read.
24934
+
24935
+ ## Workflows
24936
+ Multi-step orchestrations \u2014 prefer these over hand-chaining primitives when the whole job is one of these:
24937
+ - Build a local business directory for a niche across a state/region -> **directory_workflow**.
24938
+ - Stand up a rank-tracking blueprint (database + cron + ingestion plan) -> **rank_tracker_workflow**.
24939
+ - Find which sources an AI answer cites for a query (AEO) -> **query_fanout_workflow** (open a browser
24940
+ session on chatgpt.com or claude.ai FIRST, then run it against that session).
24941
+
24942
+ ## Notes
24943
+ - Bulk / full-site crawls: call \`extract_site\` with \`rotateProxies:true\` for blocked or rate-limited
24944
+ sites. It returns a saved folder/artifact plus a summary, not the full content inline.
24945
+ - Browser sessions and media transcription cost credits and take longer \u2014 prefer the cheapest tool that
24946
+ answers the question (plain search/extract before browser agents).
24947
+ - Large results are saved to disk or an artifact and returned as a summary plus a path; read the path for
24948
+ full detail rather than expecting the whole payload inline.
24919
24949
  `.trim();
24920
24950
  }
24921
24951
  });