MCP server for Scrapy request inspection and debugging
Project description
Scrapy MCP Server
MCP (Model Context Protocol) server for Scrapy request inspection and debugging.
Installation & Usage
Use uvx to run the MCP server:
uvx scrapy-mcp-server
Configuration
Add to your MCP client configuration (e.g., Claude Desktop):
For Claude Desktop on MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
For Claude Desktop on Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"scrapy-inspector": {
"command": "uvx",
"args": ["scrapy-mcp-server"]
}
}
}
Prerequisites
Install the required Scrapy middleware in your Scrapy project:
pip install scrapy-mcp-middleware
Add to your Scrapy settings.py:
SPIDER_MIDDLEWARES = {
'scrapy_mcp_middleware.SessionTrackerMiddleware': 100,
}
SESSION_STORE_URL = "http://127.0.0.1:8765"
Features
- Request Tree: View all captured requests in hierarchical structure
- Request Details: Inspect headers, bodies, and response data
- Selector Testing: Test CSS/XPath selectors interactively
- Spider Development: Get comprehensive spider development guides
Requirements
- Python >= 3.8
- Compatible with Windows, Linux, and macOS (Intel & Apple Silicon)
License
Copyright © 2015–2025 CoreDump Engineering. All rights reserved.
Support
For issues and questions, visit the GitHub repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scrapy_mcp_server-0.1.0-py3-none-any.whl.
File metadata
- Download URL: scrapy_mcp_server-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dfa45616fe5a3c7fb7e652525a7a7fe661ad103e0df80fe510eed4c60735cf8
|
|
| MD5 |
b35303ab21e0f9fc57090a061bab4745
|
|
| BLAKE2b-256 |
eeea2ae256c1d730f27fc60f051f3ce1962abbd5062e359dcfd1c94f33c6a03f
|