MM

marcopesani/mcp-server-serper

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

171 stars 25 forks 품질 70 트렌드 17MIT

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 domain
      • filetype: Limit to specific file types (e.g., ‘pdf’, ‘doc’)
      • inurl: Search for pages with word in URL
      • intitle: Search for pages with word in title
      • related: Find similar websites
      • cache: View Google’s cached version of a specific URL
      • before: Date before in YYYY-MM-DD format
      • after: Date after in YYYY-MM-DD format
      • exact: Exact phrase match
      • exclude: Terms to exclude from search results
      • or: 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_KEY environment 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
GitHub에서 전체 README 보기

설치

npx -y serper-search-scrape-mcp-server
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "serper-search": { "command": "npx", "args": ["-y", "serper-search-scrape-mcp-server"], "env": { "SERPER_API_KEY": "your_api_key_here" } } } }