Google Search MCP Server

by moritalous
Apache 2.0

Integrations

  • Manages environment variables for storing Google API credentials and configuration

  • Enables web search capabilities through Google Search API, allowing retrieval of up to 20 search results in JSON format

  • Provides the interface between AI assistants and the Google Search API functionality

Google Search MCP 서버

이 프로젝트는 AI 어시스턴트에 Google 검색 API 기능을 제공하는 MCP(Model Context Protocol) 서버입니다.

개요

Google Search MCP 서버는 AI 어시스턴트가 Google 검색 API를 사용하여 웹 검색을 수행할 수 있게 해주는 도구입니다.

기능

  • Google 검색 API를 사용한 웹 검색
  • 검색 결과를 JSON 형식으로 반환
  • 최대 20개의 검색 결과 검색

요건

  • 파이썬 3.12 이상
  • Google Custom Search Engine ID
  • Google API 키

설치

  1. 리포지토리를 복제합니다.
git clone https://github.com/yourusername/google-search-mcp-server.git cd google-search-mcp-server
  1. 종속성을 설치합니다.
pip install -e .
  1. 환경 변수를 설정합니다.

.env.sample 파일을 .env 에 복사하고 필요한 API 키를 추가합니다.

cp .env.sample .env

.env 파일을 편집하여 다음 값을 설정합니다.

GOOGLE_CSE_ID=あなたのGoogleカスタム検索エンジンID GOOGLE_API_KEY=あなたのGoogleAPIキー

사용방법

서버를 시작하려면:

python app.py

그러면 Gradio 인터페이스가 시작되고 MCP 서버 역할을 합니다.

MCP와의 통합

이 서버는 Model Context Protocol(MCP)을 사용하여 AI 어시스턴트와 통합됩니다.

API 참조

perform_web_search(query: str, num_results: int = 10)

매개변수 :

  • query (str): 검색어(최대 400자, 50단어)
  • num_results (int): 결과 수(1-20, 기본값 10)

반환값 :

  • str : JSON 형식 검색 결과
-
security - not tested
A
license - permissive license
-
quality - not tested

A Model Context Protocol server that enables AI assistants to perform web searches using Google Search API, returning up to 20 search results in JSON format.

  1. 개요
    1. 기능
      1. 요건
        1. 설치
          1. 사용방법
            1. MCP와의 통합
              1. API 참조
                1. perform_web_search

              Related MCP Servers

              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that enables AI assistants like Claude to perform real-time web searches using the Exa AI Search API in a safe and controlled manner.
                Last updated -
                2,806
                • Apple
              • A
                security
                F
                license
                A
                quality
                A Model Context Protocol server that enables AI assistants to perform real-time web searches, retrieving up-to-date information from the internet via a Crawler API.
                Last updated -
                1
                44
                8
                JavaScript
                • Apple
                • Linux
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that provides real-time web search capabilities to AI assistants through pluggable search providers, currently integrated with the Brave Search API.
                Last updated -
                3
                TypeScript
                MIT License
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server implementation that enables AI assistants like Claude to perform Google searches and retrieve web data directly through natural language requests.
                Last updated -
                1
                75
                3
                TypeScript
                MIT License

              View all related MCP servers

              ID: pqwszp1v9d