web-clipper-mcp
Enables clipping web pages to Markdown with local images, supporting CSS selectors and content analysis.
README
Web Clipper MCP Server
MCP server for clipping web pages to Markdown with local images.
Installation
Using uvx (Recommended)
# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
# Add to Claude Desktop config (~/.config/claude/claude_desktop_config.json)
{
"mcpServers": {
"web-clipper": {
"command": "uvx",
"args": ["--from", "/Users/like/research/web-clipper-mcp", "web-clipper-mcp"]
}
}
}
Using pip
cd /Users/like/research/web-clipper-mcp
python -m venv .venv
source .venv/bin/activate
pip install -e .
{
"mcpServers": {
"web-clipper": {
"command": "/Users/like/research/web-clipper-mcp/.venv/bin/python",
"args": ["-m", "web_clipper_mcp.server"]
}
}
}
Tools
get_page_structure
Analyze a web page's structure and return a summary with CSS selector suggestions.
Parameters:
url(required): The URL to analyze
Example:
Analyze https://example.com/article
clip_url
Extract content from a URL and convert to Markdown.
Parameters:
url(required): The URL to clipselector(optional): CSS selector to extract specific contentsave_to(optional): File path to save the Markdown (default: ~/Downloads/web-clipper/{YYYY-MM-DD}-{timestamp}/{title}.md)download_images(optional): Whether to download images locally (default: true)force_image_attr(optional): Force using specific attribute for images (e.g., "data-src", "src", "file")
Example:
Save https://example.com/article to ~/notes/article.md
clip_html
Convert raw HTML to Markdown.
Parameters:
html(required): Raw HTML content to convertbase_url(optional): Base URL for resolving relative image URLssave_to(optional): File path to save the Markdowndownload_images(optional): Whether to download images locally (default: true)
Example:
Convert this HTML to Markdown: <div>...</div>
Usage
- Install the MCP server
- Add to Claude Desktop config
- Restart Claude Desktop
- Use natural language to clip web pages:
帮我保存 https://example.com/article
这篇文章的结构是什么? https://example.com/article
把这段 HTML 转成 Markdown: <div>...</div>
Prompt
clip-webpage
Recommended workflow for clipping web pages. Guides the LLM through: analyzing page structure, identifying content area, and calling clip_url with appropriate parameters.
Arguments:
url(required): The URL to clipcontent_selector(optional): CSS selector for content area (e.g.,article,div.post)
Features
- Auto-extract main content using Readability
- CSS selector support for manual content selection
- Local image download and path replacement
- Markdown output with proper formatting
- Batch image lazy-loading pattern detection
- Force image attribute selection for ambiguous cases
- Automatic save with timestamp folder to prevent overwrites
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.