MCP.so
登录

Google Search MCP Server

@hunter-arton

基本信息

分类

搜索

传输方式

stdio

作者

hunter-arton

关于 Google Search MCP Server

A Google Search MCP server that connects with LLMs or any MCP client to enable realtime search.

Google Search MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "google_search_mcp_server": {
      "command": "node",
      "args": [
        "dist/index.js"
      ]
    }
  }
}

Google Search MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Google Search MCP Server?

A Model Context Protocol (MCP) server that provides web and image search capabilities through Google's Custom Search API. It integrates with Claude and other AI assistants to give them up‑to‑date web and image search abilities.

How to use Google Search MCP Server?

Clone the repository, install dependencies, and build with npm run build. Set up a .env file with GOOGLE_API_KEY and GOOGLE_CSE_ID. Then connect the server to an MCP‑compatible client (Claude for Desktop, VSCode with Claude, or Cursor) by editing the client’s configuration to point to dist/index.js and providing the environment variables.

Key features of Google Search MCP Server

  • Two tools: google_web_search and google_image_search
  • Uses Google Custom Search API for real‑time results
  • Follows MCP specification for tool‑based interaction
  • Communicates via standard input/output transport
  • Requires Node.js v18 or higher and Google Cloud credentials

Use cases of Google Search MCP Server

  • AI assistant retrieving latest news about a topic
  • Finding images related to a query during a conversation
  • Getting current information while answering user questions

常见问题

1

What tools does this server provide?

It provides `google_web_search` for web searches and `google_image_search` for image searches.

2

What are the prerequisites to run this server?

Node.js v18 or higher, npm, a Google Cloud Platform account, a Custom Search API key, and a Search Engine ID.

3

How do I set up Google API credentials?

Go to Google Cloud Console, create a project, enable the Custom Search API, and create an API key. Then create a Programmable Search Engine that searches the entire web and copy its Search Engine ID.

4

How do I connect the server to Claude for Desktop?

Add a `google_search` entry to `claude_desktop_config.json` with the command `node`, the absolute path to `dist/index.js`, and environment variables for `GOOGLE_API_KEY` and `GOOGLE_CSE_ID`.

5

How can I test the server manually?

Run a JSON‑RPC call via `echo '{"jsonrpc":"2.0","method":"callTool","params":{"name":"google_web_search","arguments":{"query":"test"}},"id":1}' | node dist/index.js`.

评论

搜索 分类下的更多 MCP 服务器