site-crawler-mcp
site-crawler-mcp
사이트 전체를 크롤링하는 MCP 서버로, crawl4ai(Apache-2.0) 기반입니다. 검색 엔진 스파이더처럼 웹사이트의 모든 내부 링크를 크롤링하고(BFS), 게시 시간/제목/URL로 페이지를 필터링하며, 크롤링된 페이지에서 작업(요약, 링크 클릭, 파일 다운로드)을 수행할 수 있습니다. 결과는 JSON으로 반환되고 SQLite에 저장되어 어떤 프로젝트에서도 재사용할 수 있습니다.
한국어 소개: 「구글 크롤러처럼」 사이트 전체 내부 링크를 크롤링하는 MCP입니다. crawl4ai 기반으로 자체 래핑했으며, BFS 전체 사이트 탐색, 시간/제목/URL 필터링, 페이지 작업(LLM 요약/링크 클릭/파일 다운로드), 결과 JSON 반환 + SQLite 영속화를 지원합니다. Reasonix / Claude Desktop / Cursor 등 어떤 MCP 클라이언트에든 등록하면 전역에서 재사용할 수 있습니다.
기능
✅ 사이트 전체 BFS 크롤링 — 모든 내부 링크를 순회합니다 (max_depth / max_pages 조절 가능)
✅ 시간 필터 — 페이지 메타 / JSON-LD / URL에서 게시 시간을 먼저 추출하고, 없는 경우 크롤링 시간으로 대체합니다 (결과는
time_source로 표시)✅ 제목 필터 — 제목 키워드로 포함/제외 (대소문자 구분 안 함)
✅ URL 패턴 및 도메인 필터 — glob/regex URL 매칭, 동일 도메인 제한
✅ 정중한 크롤링 — 기본적으로
robots.txt를 존중하고 속도 제한을 적용합니다 (전환 가능)✅ 페이지 작업 — LLM 요약 (LiteLLM: DeepSeek / GLM / OpenAI…, 로컬 폴백), 특정 링크 클릭 (CSS 선택자 또는 링크 텍스트), 파일 다운로드
✅ SQLite 영속화 — 나중 프로젝트에서 크롤링 데이터를 재사용할 수 있는
query_crawls도구
Related MCP server: Spider MCP Server
도구
도구 | 설명 |
| BFS 전체 사이트 크롤링. 매개변수: |
| 단일 페이지 스크레이핑 (markdown / 제목 / 게시 시간 / 링크) |
| 페이지 콘텐츠 요약. |
| 페이지 내부의 링크 클릭 ( |
| 페이지 파일을 출력 디렉터리로 다운로드 (기본값 |
| SQLite에서 저장된 크롤링 결과 쿼리 (제목/URL/시간 필터) |
요구 사항
Python ≥ 3.12 (3.12.13에서 테스트됨)
uv 권장 (선택 사항 — 일반
pip도 작동합니다)Playwright 브라우저:
python -m playwright install chromium(또는PLAYWRIGHT_BROWSERS_PATH를 기존 브라우저 설치 경로로 설정)
설치 및 등록
# 1. Create environment & install
uv venv .venv --python 3.12
uv pip install --python .venv\Scripts\python.exe crawl4ai "mcp>=1.2,<2"
uv pip install --python .venv\Scripts\python.exe -e .
# 2. Install browser (once)
.venv\Scripts\python.exe -m playwright install chromium
# 3. Register as MCP server (example for Reasonix config.toml)
[[plugins]]
name = "site-crawler-mcp"
type = "stdio"
command = "C:\\path\\to\\site-crawler-mcp\\.venv\\Scripts\\python.exe"
args = ["-m", "site_crawler_mcp.server"]Claude Desktop / Cursor의 경우, 해당 설정 파일의 mcpServers 아래에 동일한 command/args를 추가하세요.
빠른 시작 (Python API)
import asyncio
from mcp import ClientSession, StdioServerParameters
from mcp.client.stdio import stdio_client
async def main():
params = StdioServerParameters(command="python", args=["-m", "site_crawler_mcp.server"])
async with stdio_client(params) as (read, write):
async with ClientSession(read, write) as session:
await session.initialize()
res = await session.call_tool("crawl_site", {
"start_url": "https://example.com",
"max_depth": 2,
"max_pages": 20,
"title_contains": "Example",
})
print(res.content[0].text)
asyncio.run(main())시간 필터 작동 방식
crawl4ai의 URL 필터는 URL에만 적용되므로, 여기서는 콘텐츠 수준 필터링을 구현했습니다:
URL 수준 가지치기 —
TimeRangeFilter/TitleFilter(URL 날짜 패턴, URL 키워드)콘텐츠 수준 — 각 페이지를 가져온 후
<meta property="article:published_time">, JSON-LDdatePublished,<time datetime>, URL의YYYY/MM/DD에서 게시 시간을 추출합니다. 찾지 못하면 크롤링 시간을 사용합니다 (결정 사항은time_source로 기록됨).
준수 사항
기본적으로
robots.txt와 속도 제한을 존중하여 대상 사이트에 부담을 주거나 IP가 차단되는 것을 방지합니다.학습 / 연구 / 자신의 사이트를 위한 용도입니다. 대상 사이트의 이용약관과 현지 법률을 준수하세요.
라이선스
crawl4ai(Apache-2.0) 기반으로 제작되었습니다.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables automated web research and intelligence gathering through recursive web crawling, multi-engine search integration, and persistent SQLite storage with support for keyword filtering and multiple export formats.MIT
- Flicense-qualityDmaintenanceEnables crawling and extracting clean content from documentation websites with optional LLM-powered analysis for intelligent summaries, code example extraction, and content classification.
- AlicenseAqualityFmaintenanceA comprehensive website crawler and SEO analyzer that stores site data in a local SQLite database for AI-driven auditing. It enables users to detect technical SEO issues, broken links, and security vulnerabilities through natural language queries or terminal commands.45416Apache 2.0
- Alicense-qualityCmaintenanceEnables web crawling and content extraction from web pages, supporting multiple output formats like text, markdown, XML, and JSON, with robots.txt compliance and rate limiting.141MIT
Related MCP Connectors
Scrape, crawl, map & search the web. Open-source, self-hostable Rust crawler & search for AI agents.
Converts any URL to clean, LLM-ready Markdown using real Chrome browsers
Web scraping for AI agents. Converts URLs to clean, LLM-ready Markdown with anti-bot bypass.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/coolaigit/site-crawler-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server