为本地大模型提供联网搜索与网页内容提取,减少 token 消耗。
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add crawl4ai -- python -m venv crawl4ai_env~/.codex/config.toml
[mcp_servers.crawl4ai]
command = "python"
args = ["-m", "venv", "crawl4ai_env"]
# codex mcp add crawl4ai -- python -m venv crawl4ai_env~/.cursor/mcp.json
{
"mcpServers": {
"crawl4ai": {
"command": "python",
"args": [
"-m",
"venv",
"crawl4ai_env"
]
}
}
}.vscode/mcp.json
{
"servers": {
"crawl4ai": {
"type": "stdio",
"command": "python",
"args": [
"-m",
"venv",
"crawl4ai_env"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"crawl4ai": {
"command": "python",
"args": [
"-m",
"venv",
"crawl4ai_env"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"crawl4ai": {
"command": "python",
"args": [
"-m",
"venv",
"crawl4ai_env"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"crawl4ai": {
"command": "python",
"args": [
"-m",
"venv",
"crawl4ai_env"
]
}
}
}