Comprehensive configuration examples for different installation methods, platforms, and use cases.
For English environment:
{
"mcpServers": {
"crawl-mcp": {
"transport": "stdio",
"command": "uvx",
"args": [
"--from",
"git+https://github.com/walksoda/crawl-mcp",
"crawl-mcp"
],
"env": {
"CRAWL4AI_LANG": "en"
}
}
}
}For Japanese environment:
{
"mcpServers": {
"crawl-mcp": {
"transport": "stdio",
"command": "uvx",
"args": [
"--from",
"git+https://github.com/walksoda/crawl-mcp",
"crawl-mcp"
],
"env": {
"CRAWL4AI_LANG": "ja"
}
}
}
}{
"mcpServers": {
"crawl-mcp-debug": {
"transport": "stdio",
"command": "uvx",
"args": [
"--from",
"git+https://github.com/walksoda/crawl-mcp",
"crawl-mcp"
],
"env": {
"CRAWL4AI_LANG": "en",
"FASTMCP_LOG_LEVEL": "DEBUG"
}
}
}
}Linux/macOS:
{
"mcpServers": {
"crawl4ai-dev": {
"command": "/home/user/prj/crawl/venv/bin/python",
"args": ["-m", "crawl4ai_mcp.server"],
"cwd": "/home/user/prj/crawl",
"env": {
"FASTMCP_LOG_LEVEL": "DEBUG"
}
}
}
}Windows:
{
"mcpServers": {
"crawl4ai-dev": {
"command": "C:\\path\\to\\your\\crawl\\venv\\Scripts\\python.exe",
"args": ["-m", "crawl4ai_mcp.server"],
"cwd": "C:\\path\\to\\your\\crawl",
"env": {
"FASTMCP_LOG_LEVEL": "DEBUG"
}
}
}
}{
"mcpServers": {
"crawl4ai-custom": {
"command": "python",
"args": ["-m", "crawl4ai_mcp.server"],
"cwd": "/path/to/crawl",
"env": {
"PYTHONPATH": "/path/to/crawl/venv/lib/python3.11/site-packages"
}
}
}
}{
"mcpServers": {
"crawl4ai-stdio": {
"command": "python",
"args": ["-m", "crawl4ai_mcp.server"],
"cwd": "/home/user/prj/crawl",
"env": {
"PYTHONPATH": "/home/user/prj/crawl/venv/lib/python3.11/site-packages"
}
}
}
}{
"mcpServers": {
"crawl4ai-legacy-http": {
"url": "http://127.0.0.1:8001/mcp"
}
}
}{
"mcpServers": {
"crawl4ai-pure-http": {
"url": "http://127.0.0.1:8000/mcp"
}
}
}{
"mcpServers": {
"crawl4ai-http-custom": {
"command": "python",
"args": ["-m", "crawl4ai_mcp.server", "--transport", "http", "--port", "8080"],
"cwd": "/path/to/project",
"env": {
"PYTHONPATH": "/path/to/venv/lib/python3.11/site-packages"
}
}
}
}{
"mcpServers": {
"crawl4ai-wsl": {
"command": "wsl",
"args": [
"-e",
"bash",
"-c",
"cd /home/user/prj/crawl && source venv/bin/activate && PYTHONPATH=/home/user/prj/crawl:$PYTHONPATH python -m crawl4ai_mcp.server"
],
"env": {
"FASTMCP_LOG_LEVEL": "DEBUG"
}
}
}
}{
"mcpServers": {
"crawl4ai-wsl-simple": {
"command": "wsl",
"args": [
"/home/user/prj/crawl/venv/bin/python",
"-m",
"crawl4ai_mcp.server"
],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR"
}
}
}
}{
"mcpServers": {
"crawl4ai-macos": {
"command": "/home/user/prj/crawl/venv/bin/python",
"args": ["-m", "crawl4ai_mcp.server"],
"cwd": "/home/user/prj/crawl",
"env": {}
}
}
}{
"mcpServers": {
"crawl4ai-full-env": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/walksoda/crawl-mcp",
"crawl-mcp"
],
"env": {
"CRAWL4AI_LANG": "en",
"FASTMCP_LOG_LEVEL": "INFO",
"MCP_TRANSPORT": "stdio",
"MCP_HOST": "127.0.0.1",
"MCP_PORT": "8000"
}
}
}
}{
"mcpServers": {
"crawl4ai-production": {
"transport": "stdio",
"command": "uvx",
"args": [
"--from",
"git+https://github.com/walksoda/crawl-mcp",
"crawl-mcp"
],
"env": {
"CRAWL4AI_LANG": "en",
"FASTMCP_LOG_LEVEL": "ERROR"
}
}
}
}{
"mcpServers": {
"crawl4ai-llm": {
"command": "python",
"args": ["-m", "crawl4ai_mcp.server"],
"cwd": "/path/to/crawl",
"env": {
"PYTHONPATH": "/path/to/crawl/venv/lib/python3.11/site-packages",
"OPENAI_API_KEY": "your-api-key-here",
"ANTHROPIC_API_KEY": "your-api-key-here"
}
}
}
}{
"mcpServers": {
"crawl4ai-primary": {
"transport": "stdio",
"command": "uvx",
"args": [
"--from",
"git+https://github.com/walksoda/crawl-mcp",
"crawl-mcp"
],
"env": {
"CRAWL4AI_LANG": "en"
}
},
"crawl4ai-secondary": {
"url": "http://127.0.0.1:8000/mcp"
}
}
}{
"mcpServers": {
"crawl4ai-test": {
"command": "/home/user/prj/crawl/venv/bin/python",
"args": ["-m", "crawl4ai_mcp.server"],
"cwd": "/home/user/prj/crawl",
"env": {
"FASTMCP_LOG_LEVEL": "DEBUG",
"PYTEST_CURRENT_TEST": "true"
}
}
}
}Windows:
%APPDATA%\Claude\claude_desktop_config.json
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Linux:
~/.config/claude-desktop/claude_desktop_config.json
Linux/macOS:
# Copy configuration file
cp configs/claude_desktop_config.json ~/.config/claude-desktop/claude_desktop_config.json
# Create directory if it doesn't exist
mkdir -p ~/.config/claude-desktop/Windows PowerShell:
# Copy configuration file
Copy-Item "configs\claude_desktop_config.json" "$env:APPDATA\Claude\claude_desktop_config.json"
# Create directory if it doesn't exist
New-Item -ItemType Directory -Force -Path "$env:APPDATA\Claude"{
"wait_for_js": true,
"simulate_user": true,
"timeout": 30,
"generate_markdown": true
}{
"wait_for_js": true,
"simulate_user": true,
"timeout": 60,
"wait_for_selector": ".content-loaded",
"execute_js": "window.scrollTo(0, document.body.scrollHeight);",
"generate_markdown": true
}{
"url": "https://example.com",
"max_depth": 2,
"crawl_strategy": "bfs",
"content_filter": "bm25",
"filter_query": "important content keywords",
"chunk_content": true,
"auto_summarize": true,
"summary_length": "medium"
}{
"mcpServers": {
"crawl4ai-debug": {
"command": "/home/user/prj/crawl/venv/bin/python",
"args": ["-m", "crawl4ai_mcp.server"],
"cwd": "/home/user/prj/crawl",
"env": {
"FASTMCP_LOG_LEVEL": "DEBUG",
"PYTHONPATH": "/home/user/prj/crawl",
"DEBUG": "1"
}
}
}
}{
"mcpServers": {
"crawl4ai-isolated": {
"transport": "stdio",
"command": "uvx",
"args": [
"--from",
"git+https://github.com/walksoda/crawl-mcp",
"crawl-mcp"
],
"env": {
"CRAWL4AI_LANG": "en",
"FASTMCP_LOG_LEVEL": "ERROR",
"PYTHONUNBUFFERED": "1"
}
}
}
}# Test configuration syntax
python -m json.tool claude_desktop_config.json
# Test server startup
python -m crawl4ai_mcp.server --help
# Test UVX installation
uvx --from git+https://github.com/walksoda/crawl-mcp crawl-mcp --help{
"mcpServers": {
"crawl4ai-health": {
"url": "http://127.0.0.1:8000/mcp",
"timeout": 30000
}
}
}- Installation Guide: INSTALLATION.md
- HTTP Integration: HTTP_INTEGRATION.md
- API Reference: API_REFERENCE.md
- Advanced Usage: ADVANCED_USAGE.md
- Development Guide: DEVELOPMENT.md
- Use UVX for simplicity: Recommended for most users
- Debug locally first: Start with development environment
- Check file paths: Ensure all paths are absolute and correct
- Environment variables: Use them for sensitive data
- Test configurations: Validate JSON syntax before use
- Platform considerations: Different paths for different OSes
- Log levels: Use DEBUG for troubleshooting, ERROR for production