Socket
Book a DemoInstallSign in
Socket

cheerio-mcp

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cheerio-mcp

MCP server for web scraping with Cheerio

latest
npmnpm
Version
1.2.2
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Cheerio MCP Server

A Model Context Protocol (MCP) server that provides web scraping capabilities using Cheerio. This server allows AI assistants to download and parse web pages into clean DOM structures with CSS class information.

Features

  • Web Scraping: Download and parse any webpage using the scrape-url tool
  • Clean DOM Output: Returns structured HTML content with CSS classes preserved
  • MCP Compatible: Works with any MCP-compatible AI assistant or application

Installation

Install and run directly using npx:

npx cheerio-mcp

Manual Installation

  • Install globally:
npm install -g cheerio-mcp
  • Run the server:
cheerio-mcp

Usage

This MCP server provides the following tool:

  • scrape-url: Downloads a webpage and parses it into a clean DOM structure with CSS class information

Configuration

Add this server to your MCP client configuration. For example, in Claude Desktop:

{
  "mcpServers": {
    "cheerio": {
      "command": "npx",
      "args": ["cheerio-mcp"]
    }
  }
}

Development

To develop this package locally:

# Install dependencies
bun install

# Run in development mode
bun run src/index.ts

# Build for production
bun run build

License

MIT

Keywords

mcp

FAQs

Package last updated on 25 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts