# Decodo MCP server

> Lets AI agents scrape web pages, run searches, crawl sites, and pull eCommerce and social media data via the Decodo Web Scraping API.

- Repository: https://github.com/Decodo/mcp-server
- Page: https://hostedmcp.org/servers/decodo/mcp-server
- Transport: stdio
- Stars: 41
- Latest version: 1.7.0

## Install

### Claude Code

```sh
claude mcp add mcp-server -- npx -y @decodo/mcp-server
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@decodo/mcp-server"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@decodo/mcp-server"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mcp-server","type":"stdio","command":"npx","args":["-y","@decodo/mcp-server"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@decodo/mcp-server"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add mcp-server -- npx -y @decodo/mcp-server
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "@decodo/mcp-server"]
```

### Gemini CLI

```sh
gemini mcp add -s user mcp-server npx -- -y @decodo/mcp-server
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@decodo/mcp-server"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `SCRAPER_API_TOKEN` | no | no |  |

## Tools (33)

- `scrape_as_markdown`
- `screenshot`
- `map`
- `crawl_start`
- `crawl_status`
- `crawl_results`
- `crawl_cancel`
- `search`
- `google_search`
- `google_ads`
- `google_lens`
- `google_ai_mode`
- `google_travel_hotels`
- `amazon_search`
- `amazon_product`
- `amazon_pricing`
- `amazon_sellers`
- `amazon_bestsellers`
- `walmart_search`
- `walmart_product`
- `target_search`
- `target_product`
- `tiktok_post`
- `tiktok_shop_search`
- `tiktok_shop_product`
- `tiktok_shop_url`
- `youtube_metadata`
- `youtube_channel`
- `youtube_subtitles`
- `youtube_search`
- `bing_search`
- `chatgpt`
- `perplexity`

## FAQ

### How does the Decodo MCP server authenticate?

You connect with an API key sent as a Bearer token in the Authorization header; older plans can use a Basic authentication token instead.

### What output formats can Decodo MCP return?

It returns structured output as JSON, Markdown, or screenshots, depending on the tool used.

### Can I enable only some Decodo MCP tools?

Yes, tools are grouped into toolsets (web, search, ecommerce, social_media, ai) and you can pass a comma-separated list via the toolsets query parameter.

### Does Decodo MCP handle JavaScript-heavy and protected sites?

Yes, it provides server-side JavaScript rendering and anti-bot handling so blocked or dynamic pages can be scraped.

### How do I get a Decodo API key?

Create a free account on the Decodo dashboard and copy your Web Data API key from your subscription page.
