Google MCP Server
G

Google MCP Server

This project implements a Model Context Protocol (MCP) server for Google API, supporting integration with AI assistants and other MCP-compatible clients, and providing web search and image search functions.
2 points
6.2K

What is Google MCP Server?

This is a Model Context Protocol (MCP) server specifically designed for Google API, which allows your AI assistant or MCP-compatible client to directly access Google search functionality. It provides a standardized interface to perform web searches and image searches.

How to use Google MCP Server?

You need to set up the Google API key and search engine ID first, and then you can start the server with simple commands or integrate it into your MCP client configuration.

Use cases

It is particularly useful when you need your AI assistant to obtain the latest web information or images, such as querying real-time information, getting reference materials, or finding relevant pictures.

Main Features

Web Search
Perform web searches through the Google Custom Search API and return structured results (title, link, and summary).
Image Search
Perform image searches through the Google Custom Search API and return the Markdown image link of the first result.
Advantages
Standardized interface, easy to integrate with various MCP clients
Returns structured data, convenient for AI assistants to process
Supports simultaneous web and image searches
Limitations
Requires a Google API key and a custom search engine ID
Subject to the limitations of the Google Custom Search API (such as daily query limits)
Currently only supports basic search functions

How to Use

Get API Credentials
Obtain the API key and custom search engine ID from the Google Developer Console.
Set Environment Variables
Create a.env file and fill in your API credentials.
Install Dependencies
Run npm install to install all necessary dependencies.
Test Run
Execute the test script to verify if the settings are correct.
Integrate into MCP Client
Add the server configuration to the MCP client configuration.

Usage Examples

Get Technology News
Let the AI assistant get the latest technology news.
Find Reference Images
Let the AI assistant find pictures of a specific topic.

Frequently Asked Questions

How to get a Google API key?
Why does my search return empty results?
Can I customize the number of returned results?
Which MCP clients are supported?

Related Resources

Google Custom Search API Documentation
Official API documentation and reference
MCP Protocol Specification
Technical specification of the Model Context Protocol
GitHub Repository
Project source code

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "google-api": {
      "command": "npx",
      "args": ["ts-node", "src/index.ts"],
      "env": {
        "GOOGLE_API_KEY": "your_google_api_key_here",
        "GOOGLE_CX_ID": "your_custom_search_engine_id_here"
      }
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

A
Airweave
Airweave is an open - source context retrieval layer for AI agents and RAG systems. It connects and synchronizes data from various applications, tools, and databases, and provides relevant, real - time, multi - source contextual information to AI agents through a unified search interface.
Python
8.0K
5 points
B
Better Icons
An MCP server and CLI tool that provides search and retrieval of over 200,000 icons, supports more than 150 icon libraries, and helps AI assistants and developers quickly obtain and use icons.
TypeScript
6.7K
4.5 points
A
Assistant Ui
assistant - ui is an open - source TypeScript/React library for quickly building production - grade AI chat interfaces, providing composable UI components, streaming responses, accessibility, etc., and supporting multiple AI backends and models.
TypeScript
7.8K
5 points
N
Next Devtools MCP
The Next.js development tools MCP server provides Next.js development tools and utilities for AI programming assistants such as Claude and Cursor, including runtime diagnostics, development automation, and document access functions.
TypeScript
9.9K
5 points
P
Praisonai
PraisonAI is a production-ready multi-AI agent framework with self-reflection capabilities, designed to create AI agents to automate the solution of various problems from simple tasks to complex challenges. It simplifies the construction and management of multi-agent LLM systems by integrating PraisonAI agents, AG2, and CrewAI into a low-code solution, emphasizing simplicity, customization, and effective human-machine collaboration.
Python
9.5K
5 points
H
Haiku.rag
Haiku RAG is an intelligent retrieval - augmented generation system built on LanceDB, Pydantic AI, and Docling. It supports hybrid search, re - ranking, Q&A agents, multi - agent research processes, and provides local - first document processing and MCP server integration.
Python
10.5K
5 points
C
Claude Context
Claude Context is an MCP plugin that provides in - depth context of the entire codebase for AI programming assistants through semantic code search. It supports multiple embedding models and vector databases to achieve efficient code retrieval.
TypeScript
17.2K
5 points
A
Acemcp
Acemcp is an MCP server for codebase indexing and semantic search, supporting automatic incremental indexing, multi-encoding file processing, .gitignore integration, and a Web management interface, helping developers quickly search for and understand code context.
Python
17.5K
5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
20.8K
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
35.2K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
26.2K
4.3 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
73.2K
4.3 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
65.9K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
32.2K
5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
49.4K
4.8 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
98.8K
4.7 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase