Skrape MCP
Skrape MCP Server converts any URL into clean, LLM-ready Markdown, supporting JavaScript rendering and structured output for AI use.
How to Install and Use Skrape MCP
Skrape MCP is a tool that helps you convert any webpage into clean Markdown format, which is great for working with language models like Claude. It removes ads, extra navigation, and irrelevant stuff to give you a neat, readable output. Below, you will find simple and practical steps to get Skrape MCP installed and running with examples of the code you need.
Installing Skrape MCP
Before you start, you need an API key from skrape.ai. This key lets Skrape MCP work properly.
Step 1: Install Dependencies
Once you have your API key, you need to install the necessary dependencies on your computer by running this command in your terminal:
npm install
This command installs everything Skrape MCP needs to run.
Step 2: Build the Server
Next, you need to build the server. This prepares the program so it can run smoothly:
npm run build
Building the server creates the files necessary to start Skrape MCP.
Adding Skrape MCP to Claude Desktop
To use Skrape MCP with the Claude Desktop app or other LLM apps, you need to tell Claude where to find and how to run Skrape MCP.
Step 1: Open the Configuration File
On MacOS, open this file with the terminal command:
nano ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows, open this file using:
notepad %APPDATA%/Claude/claude_desktop_config.json
Step 2: Add the Skrape MCP Server Configuration
Paste the following configuration inside the file, making sure to change "path/to/skrape-mcp/build/index.js" to the actual path where you built Skrape MCP, and replace "your-key-here" with your real API key:
{
"mcpServers": {
"skrape": {
"command": "node",
"args": ["path/to/skrape-mcp/build/index.js"],
"env": {
"SKRAPE_API_KEY": "your-key-here"
}
}
}
}
Save the file after adding this.
Using Skrape MCP with LLMs
After setup, you can convert webpages to Markdown by asking Claude or your LLM app to use the Skrape MCP tool.
Here is an example prompt for Claude:
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>
This request tells Skrape MCP to fetch the webpage at "https://example.com", render any JavaScript if needed, and return clean, structured Markdown.
Optional: Advanced Usage
You can customize the request to Skrape MCP by using extra options.
For example, if you want the full JSON response instead of just Markdown, or you want to disable JavaScript rendering, use this:
<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>
This flexibility allows you to control how Skrape MCP processes the webpage.
By following these simple steps, you can install Skrape MCP quickly and integrate it into your workflow with Claude or other LLM applications. Skrape MCP makes scraping webpages easy and delivers ready-to-use Markdown for AI programs.