브라우저 가져오기
AI 에이전트가 API 키 없이 웹 콘텐츠를 가져오고 Google 검색을 수행할 수 있도록 지원하는 강력한 헤드리스 브라우저 MCP 서버입니다. 최신 웹 표준을 기반으로 구축되었으며 AI 플랫폼과 완벽하게 통합되도록 설계되었습니다.
특징
- API 키 필요 없음 : 정교한 헤드리스 브라우저 방식을 사용하여 콘텐츠를 직접 가져옵니다.
- 스마트한 구글 검색 :
- Google 검색에서 구조화된 결과 추출
- 웹 및 뉴스 결과 모두 지원
- 구성 가능한 결과 수(1~100)
- 검색 결과의 전체 콘텐츠 가져오기
- 자동 재시도 및 오류 처리
- 유니버설 콘텐츠 페칭 :
- 모든 웹 페이지 또는 API 엔드포인트 지원
- 다양한 출력 형식(HTML, JSON, 텍스트, 마크다운)
- 자동 콘텐츠 유형 감지
- 응답 크기 제한 및 시간 초과 보호
- 속도 제한 보호
- 형식 변환 :
- 깔끔한 HTML을 마크다운으로 변환
- 예쁘게 인쇄된 JSON 응답
- 구조화된 HTML 출력
- 적절한 서식이 적용된 일반 텍스트
도구
1. 구글 검색 도구( google_search
)
Google 검색을 실행하고 결과의 전체 내용을 가져옵니다.
지엑스피1
2. URL 가져오기 도구( fetch_url
)
모든 URL에서 콘텐츠를 가져옵니다.
{
url: "https://example.com",
responseType: "markdown", // or "json", "html", "text"
timeout: 30000 // optional, in milliseconds
}
설치
스미서리를 통해
# For Claude
npx -y @smithery/cli install @TheSethRose/fetch-browser --client claude
# For Cursor
npx -y @smithery/cli install @TheSethRose/fetch-browser --client cursor
# For TypeScript
npx -y @smithery/cli install @TheSethRose/fetch-browser --client typescript
수동 설치
# Clone the repository
git clone https://github.com/TheSethRose/fetch-browser.git
cd fetch-browser
# Install dependencies
npm install
# Build the project
npm run build
# Start the server
npm start
개발
# Watch mode with auto-rebuild
npm run watch
# Run with inspector
npm run inspector
# Debug mode
npm run debug
# Debug with watch mode
npm run debug:watch
응답 형식
1. 마크다운 형식
## [Page Title](https://example.com)
Content converted to clean markdown with:
- Lists
- **Bold text**
- *Italic text*
- [Links](https://example.com)
2. JSON 형식
{
"url": "https://example.com",
"content": "Extracted content...",
"error": null
}
3. HTML 형식
<div class="search-result">
<h2><a href="https://example.com">Page Title</a></h2>
<div class="content">
Original HTML content
</div>
</div>
4. 텍스트 형식
### https://example.com
Plain text content with preserved formatting
==========
오류 처리
- 지수 백오프를 통한 자동 재시도
- 속도 제한 보호
- 타임아웃 처리
- 자세한 오류 메시지
- 개별 결과 오류 추적
보안 기능
- 응답 크기 제한
- 요청 시간 초과
- 속도 제한 보호
- API 키나 비밀번호가 필요하지 않습니다
- 적절한 오류 처리
크레딧
Seth Rose가 생성함 :
특허
MIT 라이선스 - 자세한 내용은 라이선스를 참조하세요.