MCP Hub
Back to servers

mcp-web-scraper

Validation Failed

A powerful web scraping MCP server that enables AI agents to scrape content as Markdown, bypass geo-restrictions using specific IP locations, and retrieve parsed data from Google, Amazon, and Reddit.

Stars
17
Forks
6
Tools
5
Updated
Dec 19, 2025
Validated
Jan 9, 2026

Validation Error:

Process exited with code 2. stderr: /home/runner/.npm/_npx/5f561973b38af928/node_modules/.bin/decodo-mcp: 1: use strict: not found /home/runner/.npm/_npx/5f561973b38af928/node_modules/.bin/decodo-mcp: 2: Syntax error: word unexpected (expecting ")")

Quick Install

npx -y @decodo/mcp-server

Decodo MCP Server

smithery badge

Install MCP Server

This repository provides a Model Context Protocol (MCP) server that connects LLMs and applications to Decodo's platform. The server facilitates integration between MCP-compatible clients and Decodo's services, streamlining access to our tools and capabilities.

Features

  • Easy web data access. Simplified retrieval of information from websites and online sources.
  • Geographic flexibility. Access content regardless of regional restrictions.
  • Enhanced privacy. Browse and collect data while maintaining anonymity.
  • Reliable scraping. Advanced techniques to avoid detection and blocks.
  • Simple integration. Seamless setup with popular MCP clients like Claude Desktop, Cursor, and Windsurf.

Quick start

  1. Start a Decodo Web Advanced plan (free trials available) via dashboard.

  2. Copy the auto-generated basic authentication token in the Web Advanced page.

Decodo dashboard

  1. Open up your favourite MCP client and add the following configuration:
{
  "Decodo": {
    "url": "https://mcp.decodo.com/mcp",
    "headers": {
      "Authorization": "Basic <web_advanced_token>"
    }
  }
}

Running the MCP server locally (manual)

Prerequisites

Step-by-step guide

  1. Clone this repository:
git clone https://github.com/Decodo/decodo-mcp-server
  1. Run the following commands in the terminal:
cd decodo-mcp-server
npm install
npm run build
  1. Take note of your build location:
cd build/
pwd

Adding index.js to the end of this directory, your build file location should look something like this:

/Users/your.user/projects/decodo-mcp/build/index.js
  1. Update your MCP client with the server information:

Tools

The server exposes the following tools:

ToolDescriptionExample prompt
scrape_as_markdownScrapes any target URL, expects a URL to be given via prompt. Returns results in Markdown.Scrape peacock.com from a US IP address and tell me the pricing.
google_search_parsedScrapes Google Search for a given query, and returns parsed results.Scrape Google Search for shoes and tell me the top position.
amazon_search_parsedScrapes Amazon Search for a given query, and returns parsed results.Scrape Amazon Search for toothbrushes.
reddit_postScrapes a specific Reddit post for a given query, and returns parsed results.Scrape the following Reddit post: https://www.reddit.com/r/horseracing/comments/1nsrn3/
reddit_subredditScrapes a specific Reddit subreddit for a given query, and returns parsed results.Scrape the top 5 posts on r/Python this week.

Parameters

The following parameters are inferred from user prompts:

ParameterDescription
jsRenderRenders target URL in a headless browser.
geoSets the country from which the request will originate.
localeSets the locale of the request.
tokenLimitTruncates the response content up to this limit. Useful if the context window is small.
fullResponseSkips automatic truncation and returns full content. If context window is small, may throw warnings.

Examples

Scraping geo-restricted content

Query your AI agent with the following prompt:

Scrape peacock.com from a German IP address and tell me the pricing.

This prompt will say that peacock.com is geo-restricted. To bypass the geo-restriction:

Scrape peacock.com from a US IP address and tell me the pricing.

Limiting number of response tokens

If your agent has a small context window, the content returned from scraping will be automatically truncated, in order to avoid context-overflow. You can increase the number of tokens returned within your prompt:

Scrape hacker news, return 50k tokens.

If your agent has a big context window, tell it to return full content:

Scrape hacker news, return full content.

Related repositories

Web Scraping API

Google Maps scraper

Amazon scraper

License

All code is released under the MIT License.

Reviews

No reviews yet

Sign in to write a review