MCP.so
ログイン

Google Search MCP サーバー

@moritalous

基本情報

カテゴリ

検索

ライセンス

Apache-2.0 license

トランスポート

stdio

作者

moritalous

Google Search MCP サーバー について

概要はまだありません

Google Search MCP サーバー の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "google-search-mcp-server-moritalous": {
      "command": "python",
      "args": [
        "app.py"
      ]
    }
  }
}

Google Search MCP サーバー のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Google Search MCP サーバー?

Google Search MCP サーバー is a Model Context Protocol (MCP) server that provides AI assistants with Google Search API capabilities. It uses Gradio and MCP to act as an interface between AI assistants and the Google Search API, enabling web search functionality.

How to use Google Search MCP サーバー?

Install dependencies with pip install -e ., set the GOOGLE_CSE_ID and GOOGLE_API_KEY environment variables in a .env file, then start the server with python app.py. The server launches a Gradio interface that functions as an MCP endpoint.

Key features of Google Search MCP サーバー

  • Performs web searches using the Google Custom Search API
  • Returns search results in JSON format
  • Supports up to 20 results per query
  • Integrates with AI assistants via the Model Context Protocol (MCP)
  • Requires Python 3.12 or later

Use cases of Google Search MCP サーバー

  • Enabling AI assistants to fetch real‑time web data
  • Answering queries that require up‑to‑date or external information
  • Fact‑checking or verifying claims during a conversation
  • Integrating Google Search into custom AI workflows and chat interfaces

よくある質問

1

What prerequisites are needed?

The server requires Python 3.12+, a Google Custom Search Engine ID (CSE ID), and a Google API key. Both credentials must be set in a `.env` file.

2

How many search results can I get per request?

You can request between 1 and 20 results; the default is 10. The `num_results` parameter controls this.

3

Are there limits on the search query?

The query string is limited to 400 characters (approximately 50 words). The `perform_web_search` function enforces this limit.

4

Where does the data come from?

All search results are fetched from the Google Custom Search API. No local caching or data storage is described in the README.

5

How does authentication work?

Authentication is handled via the Google Custom Search API key and CSE ID set as environment variables. No additional OAuth or user‑level authentication is mentioned.

コメント

「検索」の他のコンテンツ