The Prysm MCP Server enables AI assistants to scrape web content with high accuracy and flexibility. It offers various scraping modes, content analysis, format options, and image support to give AI models better access to web information.
You can install the Prysm MCP Server using npm:
# Recommended: Install the LLM-optimized version
npm install -g @pinkpixel/prysm-mcp
# Or install the standard version
npm install -g prysm-mcp
You can also run the server directly with npx without installing:
npx @pinkpixel/prysm-mcp
Create a mcp.json
file with the following configuration:
{
"mcpServers": {
"prysm-scraper": {
"description": "Prysm web scraper with custom output directories",
"command": "npx",
"args": [
"-y",
"@pinkpixel/prysm-mcp"
],
"env": {
"PRYSM_OUTPUT_DIR": "${workspaceFolder}/scrape_results",
"PRYSM_IMAGE_OUTPUT_DIR": "${workspaceFolder}/scrape_results/images"
}
}
}
}
By default, when saving formatted results, files will be saved to ~/prysm-mcp/output/
. You can customize this in several ways:
# Linux/macOS
export PRYSM_OUTPUT_DIR="/path/to/custom/directory"
export PRYSM_IMAGE_OUTPUT_DIR="/path/to/custom/image/directory"
# Windows (Command Prompt)
set PRYSM_OUTPUT_DIR=C:\path\to\custom\directory
set PRYSM_IMAGE_OUTPUT_DIR=C:\path\to\custom\image\directory
# Windows (PowerShell)
$env:PRYSM_OUTPUT_DIR="C:\path\to\custom\directory"
$env:PRYSM_IMAGE_OUTPUT_DIR="C:\path\to\custom\image\directory"
You can specify output paths directly when calling the tools:
# For general results
Format the scraped data as markdown and save it to "/absolute/path/to/file.md"
# For image downloads when scraping
Please scrape https://example.com and download images to "/absolute/path/to/images"
The server provides three scraping modes with different intensity levels:
Fast web scraping optimized for speed (fewer scrolls, main content only).
Please scrape https://example.com using the focused mode
Available Parameters:
url
(required): URL to scrapemaxScrolls
(optional): Maximum number of scroll attempts (default: 5)scrollDelay
(optional): Delay between scrolls in ms (default: 1000)scrapeImages
(optional): Whether to include images in resultsdownloadImages
(optional): Whether to download images locallymaxImages
(optional): Maximum images to extractoutput
(optional): Output directory for downloaded imagesBalanced web scraping approach with good coverage and reasonable speed.
Please scrape https://example.com using the balanced mode
Available Parameters:
scrapeFocused
with different defaultsmaxScrolls
default: 10scrollDelay
default: 2000timeout
parameter to limit total scraping time (default: 30000ms)Maximum extraction web scraping (slower but thorough).
Please scrape https://example.com using the deep mode with maximum scrolls
Available Parameters:
scrapeFocused
with different defaultsmaxScrolls
default: 20scrollDelay
default: 3000maxImages
default: 100After scraping, you can format the data into different structured formats:
Format the scraped data as markdown
Available Parameters:
data
(required): The scraped data to formatformat
(required): Output format - "markdown", "html", or "json"includeImages
(optional): Whether to include images in output (default: true)output
(optional): File path to save the formatted resultYou can also save formatted results to a file by specifying an output path:
Format the scraped data as markdown and save it to "my-results/output.md"
The formatResult
tool handles paths in the following ways:
/home/user/file.md
)subfolder/file.md
)output.md
)There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.