Skrape MCP Server

by skrapeai

5 stars
2 downloads
Not rated
GitHub

About

This server converts webpages into clean, structured Markdown optimized for language model consumption, removing unnecessary content and supporting JavaScript rendering.

Details

Author
skrapeai
Repository
skrapeai/skrape-mcp
GitHub stars
5
Downloads
2
License
MIT License
Categories
Search, AI

- Clean Output: Removes ads, navigation, and irrelevant content
- JavaScript Support: Handles dynamic content rendering
- LLM-Optimized: Structured Markdown perfect for AI consumption
- Consistent Format: Uniform structure regardless of source

Setting up with Highlight

Follow these steps to add this server as a custom Highlight plugin:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Skrape MCP Server
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 path/to/skrape-mcp/build/index.js
    Environment
    • SKRAPE_API_KEY your-key-here

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

To install Skrape MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @skrapeai/skrape-mcp --client claude

1. Get your API key from skrape.ai

1. Install dependencies:

npm install

1. Build the server:

npm run build

1. Add the server config to Claude Desktop:

On MacOS:

nano ~/Library/Application\ Support/Claude/claude_desktop_config.json

On Windows:

notepad %APPDATA%/Claude/claude_desktop_config.json

Add this configuration (replace paths and API key with your values):

{
  "mcpServers": {
    "skrape": {
      "command": "node",
      "args": ["path/to/skrape-mcp/build/index.js"],
      "env": {
        "SKRAPE_API_KEY": "your-key-here"
      }
    }
  }
}

get_markdown

Convert any webpage to LLM-ready Markdown. Parameters: url (string, required), returnJson (boolean, optional), options (object, optional) - Additional scraping options including renderJs (boolean, default: true).

- get_markdown - Convert any webpage to LLM-ready Markdown
- Takes any input URL and optional parameters
- Returns clean, structured Markdown optimized for LLM consumption
- Supports JavaScript rendering for dynamic content
- Optional JSON response format for advanced integrations

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "skrape mcp server": {
            "env": {
                "SKRAPE_API_KEY": "your-key-here"
            },
            "args": [
                "path/to/skrape-mcp/build/index.js"
            ],
            "command": "node"
        }
    }
}

Linux

{
    "env": {
        "SKRAPE_API_KEY": "your-key-here"
    },
    "args": [
        "path/to/skrape-mcp/build/index.js"
    ],
    "command": "node"
}

Macos

{
    "env": {
        "SKRAPE_API_KEY": "your-key-here"
    },
    "args": [
        "path/to/skrape-mcp/build/index.js"
    ],
    "command": "node"
}

Windows

{
    "env": {
        "SKRAPE_API_KEY": "your-key-here"
    },
    "args": [
        "path/to/skrape-mcp/build/index.js"
    ],
    "command": "node"
}

Skrape MCP Server

smithery badge

Convert webpages into clean, LLM-ready Markdown using skrape.ai. An MCP server that seamlessly integrates web scraping with Claude Desktop and other MCP-compatible applications.

Key Features

- Clean Output: Removes ads, navigation, and irrelevant content
- JavaScript Support: Handles dynamic content rendering
- LLM-Optimized: Structured Markdown perfect for AI consumption
- Consistent Format: Uniform structure regardless of source

Features

Tools

- get_markdown - Convert any webpage to LLM-ready Markdown
- Takes any input URL and optional parameters
- Returns clean, structured Markdown optimized for LLM consumption
- Supports JavaScript rendering for dynamic content
- Optional JSON response format for advanced integrations

Installation

Installing via Smithery

To install Skrape MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @skrapeai/skrape-mcp --client claude

Manual Installation

1. Get your API key from skrape.ai

1. Install dependencies:

npm install

1. Build the server:

npm run build

1. Add the server config to Claude Desktop:

On MacOS:

nano ~/Library/Application\ Support/Claude/claude_desktop_config.json

On Windows:

notepad %APPDATA%/Claude/claude_desktop_config.json

Add this configuration (replace paths and API key with your values):

{
  "mcpServers": {
    "skrape": {
      "command": "node",
      "args": ["path/to/skrape-mcp/build/index.js"],
      "env": {
        "SKRAPE_API_KEY": "your-key-here"
      }
    }
  }
}

Using with LLMs

Here's how to use the server with Claude or other LLM models:

1. First, ensure the server is properly configured in your LLM application
2. Then, you can ask the ALLMI to fetch and process any webpage:

Convert this webpage to markdown: https://example.com

Claude will use the MCP tool like this:
<use_mcp_tool>
<server_name>skrape</server_name>
<tool_name>get_markdown</tool_name>
<arguments>
{
"url": "https://example.com",
"options": {
"renderJs": true
}
}
</arguments>
</use_mcp_tool>

The resulting Markdown will be clean, structured, and ready for LLM processing.

Advanced Options

The get_markdown tool accepts these parameters:

- url (required): Any webpage URL to convert
- returnJson (optional): Set to true to get the full JSON response instead of just markdown
- options (optional): Additional scraping options
- renderJs: Whether to render JavaScript before scraping (default: true)

Example with all options:

<use_mcp_tool>
<server_name>skrape</server_name>
<tool_name>get_markdown</tool_name>
<arguments>
{
  "url": "https://example.com",
  "returnJson": true,
  "options": {
    "renderJs": false
  }
}
</arguments>
</use_mcp_tool>

Development

For development with auto-rebuild:

npm run watch

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

---

<a href="https://glama.ai/mcp/servers/7i81qzgkzd">

</a>

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.