mcp-server-spider: A spider MCP server
LocalAbout mcp-server-spider: A spider MCP server
mcp-server-spider connects Spider crawling and scraping capabilities to MCP clients. It can traverse web pages and return discovered URLs or page content with links, and is in early development.
Key features
- 01Crawl pages and discover URLs
- 02Scrape page content and links
- 03Control traversal depth
- 04Filter URLs with allowlists and blocklists
- 05Configure request headers and user agent
Use cases
- 01Discover pages linked from a URL
- 02Collect page content and links
MCP support
Exposes crawl and scrape tools to MCP clients, returning discovered URLs or JSON data containing page URLs, links, and content.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEmcp-server-spider: A spider MCP server
Overview
A Model Context Protocol server for Spider crawler interaction and automation. This server provides tools to crawl and scrape web pages.
Please note that mcp-server-spider is currently in early develpoment. There might be bugs and features added in the future.
Tools
crawl- Crawls the given url and returns the list of URLs that were found
- Input:
url: The url to crawlheaders: Additional headers passed along with crawl requestsuser_agent: User agent to use for the crawl requestsdepth: The depth of link traversalblacklist: A list of regural expression to blacklist URLs from the crawling processwhitelist: A list of regular expression to whitelist URLS from the crawling processrespect_robots_txt: Whether to respectrobots.txtfileaccept_invalid_certs: Whether to accept invalid certifcates or not
- Returns: List of URLs found
scrape- Scrapes the given url and returns a list of JSON objects that contain the url, links and content of each page discovered
- Input: Same as
crawl - Returns: A list of JSON objects (as a string) that contain the url, links and content of each page discovered
Installation
Using uv (recommended)
When using uv no specific installation is needed. We will
use uvx to directly run mcp-server-spider.
Using PIP
Alternatively you can install mcp-server-spider via pip:
pip install mcp-server-spider
After installation, you can run it as a script using:
python -m mcp_server_spider
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.