
marcopesani/mcp-server-serper
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
marcopesani/mcp-server-serper는 [[T0]에서 가져온 MCP 서버 후보입니다.
개요
marcopesani/mcp-server-serper는 [[T0]에서 가져온 MCP 서버 후보입니다.
개요(AI 번역)
Serper API를 사용하여 웹 검색 및 웹페이지 스크래핑 기능을 제공하는 TypeScript 기반 MCP 서버입니다. 이 서버는 Claude Desktop과 통합되어 강력한 웹 검색 및 콘텐츠 추출 기능을 지원합니다.
특징
도구
-
google_search- Serper API를 통한 웹 검색 수행 -
유기적 결과, 지식 그래프, "사람들도 묻는다"는 검색 등 풍부한 검색 결과
-
지역 및 언어 타겟팅 지원
-
위치, 페이지네이션, 시간 필터, 자동 수정에 대한 선택적 매개변수
-
고급 검색 연산자 지원:
-
site: 결과를 특정 도메인으로 제한 -
filetype: 특정 파일 형식(예: ‘pdf’, ‘doc’) 제한 -
inurl: URL에 단어가 들어간 페이지 검색 -
intitle: 제목에 단어가 포함된 페이지 검색 -
related: 유사 웹사이트 찾기 -
cache: 구글의 특정 URL의 캐시 버전 보기 -
before: YYYY-MM-DD 형식의 날짜 이전 -
after: YYYY-MM-DD 형식의 날짜 후 -
exact: 정확한 구문 일치 -
exclude: 검색 결과에서 제외할 용어 -
or: 대체 용어 (OR 연산자) -
scrape- 웹페이지에서 콘텐츠 추출 -
일반 텍스트 및 선택적 마크다운 콘텐츠 제공
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Serper Search and Scrape MCP Server
A TypeScript-based MCP server that provides web search and webpage scraping capabilities using the Serper API. This server integrates with Claude Desktop to enable powerful web search and content extraction features.
Features
Tools
-
google_search- Perform web searches via Serper API- Rich search results including organic results, knowledge graph, “people also ask”, and related searches
- Supports region and language targeting
- Optional parameters for location, pagination, time filters, and autocorrection
- Supports advanced search operators:
site: Limit results to specific domainfiletype: Limit to specific file types (e.g., ‘pdf’, ‘doc’)inurl: Search for pages with word in URLintitle: Search for pages with word in titlerelated: Find similar websitescache: View Google’s cached version of a specific URLbefore: Date before in YYYY-MM-DD formatafter: Date after in YYYY-MM-DD formatexact: Exact phrase matchexclude: Terms to exclude from search resultsor: Alternative terms (OR operator)
-
scrape- Extract content from web pages- Get plain text and optional markdown content
- Includes JSON-LD and head metadata
- Preserves document structure
Requirements
- Node.js >= 18
- Serper API key (set as
SERPER_API_KEYenvironment variable)
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Run tests:
npm test # Run all tests
npm run test:watch # Run tests in watch mode
npm run test:coverage # Run tests with coverage
npm run test:integration # Run integration tests
Environment Variables
Create a .env file in the root directory:
SERPER_API_KEY=your_api_key_here
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
Installation
Installing via Smithery
To install Serper Search and Scrape for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @marcopesani/mcp-server-serper --client claude
Claude Desktop
Add the server config at:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
설치
npx -y serper-search-scrape-mcp-server설정
{
"mcpServers": {
"serper-search": {
"command": "npx",
"args": ["-y", "serper-search-scrape-mcp-server"],
"env": {
"SERPER_API_KEY": "your_api_key_here"
}
}
}
}