Basic information
About Fetch MCP Server with CSS selectors function
# Fetch MCP Server with CSS selectors function
Fetch MCP Server with CSS selectors function is a MCP server in the Browser Automation category listed in the AddMCP.net directory, published by burnworks. Supported transport: stdio. Runtime: python. License: MIT. Source code is hosted on github.com. Related topics: fetch, mcp-server, web-content-fetching.
Setup
claude mcp add burnworks-mcp-server-fetch --transport http https://example.com
[mcp_servers.burnworks-mcp-server-fetch] url = "https://example.com"
{
"mcpServers": {
"burnworks-mcp-server-fetch": {
"url": "https://example.com"
}
}
}
{
"servers": {
"burnworks-mcp-server-fetch": {
"type": "http",
"url": "https://example.com"
}
}
}
Fetch MCP Server with CSS selectors function config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"burnworks-mcp-server-fetch": {
"url": "https://example.com",
"selector": "main-content",
"selector_type": "id"
}
}
}
Fetch MCP Server with CSS selectors function tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Fetch MCP Server with CSS selectors function?
Fetch MCP Server with CSS selectors function is a Model Context Protocol server that enables LLMs to fetch and extract web page content, converting HTML to markdown. It supports CSS, ID, and element selectors for targeted content extraction, and allows chunked reading of large pages.
How to use Fetch MCP Server with CSS selectors function?
Install using uvx (recommended) or pip. Configure in Claude.app by adding an MCP server entry with command uvx burnworks-mcp-server-fetch or python -m burnworks_mcp_server_fetch. Use the custom-fetch tool with parameters like url, max_length, start_index, raw, selector, and selector_type.
Key features of Fetch MCP Server with CSS selectors function
- Fetches web pages and converts to markdown
- Supports CSS, ID, and element selectors
- Reads large pages in chunks with start_index
- Returns raw content optionally
- Respects or ignores robots.txt
- Configurable user-agent and proxy
Use cases of Fetch MCP Server with CSS selectors function
- Extracting main article content from news websites
- Focusing on specific sections of documentation pages
- Targeting specific content from large web pages using selectors
- Reading a webpage in chunks to find needed information
Frequently asked questions
1 Does this server require Node.js?
Installing Node.js is optional; it makes the HTML simplifier more robust but is not required.
2 How do I handle truncated responses?
Use the start_index parameter to read content in chunks, specifying where to start extraction.
3 Can I extract specific parts of a page?
Yes, use selector and selector_type with values 'css', 'id', or 'element' to target specific content.
4 How do I configure robots.txt behavior?
By default, the server obeys robots.txt for tool requests but not prompt requests. Use --ignore-robots-txt to disable compliance.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In