google-image-search-mcp
Provides tools for searching Google Images via SerpAPI, including image search, downloading images, and analyzing results.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@google-image-search-mcpsearch for images of a sunset beach"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Google Image Search MCP Server
This MCP (Model Context Protocol) server provides Google Image Search functionality through the SerpAPI. It allows AI assistants to search for images and analyze the results to find the most relevant ones based on specific criteria.
Features
Search for images with Google Image Search
Download images to a local directory
Analyze search results based on relevance criteria
Related MCP server: Nano Banana Pro MCP
Installation
npm installConfiguration
Create a .env file with your SerpAPI key (you can copy from .env.example):
SERP_API_KEY=your_serp_api_key_hereYou can get a SerpAPI key by signing up at serpapi.com.
Usage
Building
npm run buildRunning
npm startDevelopment
npm run devAvailable Tools
search_images
Search for images using Google Image Search.
Parameters:
query(string): The search query for finding imageslimit(number, optional): Maximum number of results to return (default: 10)
download_image
Download an image to a local directory.
Parameters:
imageUrl(string): URL of the image to downloadoutputPath(string): Directory path where the image should be savedfilename(string): Filename for the downloaded image (including extension)
analyze_images
Analyze image search results to find the most relevant ones.
Parameters:
searchResults(array): Array of image search results to analyzecriteria(string): Criteria for selecting the best images (e.g., 'professional', 'colorful', etc.)
License
ISC
Available Tools
3 toolsanalyze_imagesB
Analyze image search results to find the most relevant ones
| Name | Required | Description | Default |
|---|---|---|---|
| criteria | Yes | Criteria for selecting the best images (e.g., 'professional', 'colorful', etc.) | |
| searchResults | Yes | Array of image search results to analyze |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It is minimal and does not disclose how the analysis works, whether it modifies state, what criteria mean beyond the schema, or any side effects. The agent lacks insight into the tool's behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence with no fluff. It front-loads the purpose, though it could benefit from a bit more detail without becoming verbose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of output schema and annotations, the description is incomplete. It does not explain what the tool returns (e.g., a list of filtered images, indices, or scores). The tool's outputs and error conditions are not described.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, baseline 3. The description does not add value beyond the schema; the 'criteria' parameter already has a descriptive example in the schema. No extra semantic explanation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states the tool analyzes image search results to find the most relevant ones. The verb 'analyze' and resource 'image search results' are specific and distinguish from sibling tools (download_image, search_images).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit when-to-use or when-not-to-use guidance. The context implies it follows search_images, but no alternatives are mentioned. The description could be clearer about when to apply this tool vs manual selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
download_imageC
Download an image to a local directory
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Filename for the downloaded image (including extension) | |
| imageUrl | Yes | URL of the image to download | |
| outputPath | Yes | Directory path where the image should be saved |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so the description carries full burden. Only states it downloads to a local directory. Does not disclose behavior on overwrites, missing directories, network errors, or authentication needs. Very limited transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, no unnecessary words. Efficient for a simple tool. Could benefit from slight expansion for clarity, but score reflects appropriate conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema and 3 required parameters, the description is too minimal. It does not explain return behavior, error handling, or side effects. For a file I/O tool, more detail is needed for complete understanding.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with clear descriptions for all three parameters (imageUrl, outputPath, filename). The description adds no extra meaning beyond what the schema already provides, so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states the action and target: 'download an image to a local directory.' It distinguishes from siblings (analyze_images, search_images) by being the only tool for downloading. However, it lacks specifics about supported image formats or size limits.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool vs alternatives. No mention of prerequisites or exclusions. Sibling tools imply different purposes, but the description does not explicitly guide selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_imagesC
Search for images using Google Image Search
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (default: 10) | |
| query | Yes | The search query for finding images |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, and the description does not disclose any behavioral traits such as rate limits, authentication requirements, or result characteristics. The description is insufficient for a tool with no annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence with no wasted words. It is front-loaded with the key action, but could be slightly more structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple search tool with no output schema, the description is incomplete. It does not mention the nature of results (e.g., URLs, metadata) or any limits, leaving the agent with insufficient expectations.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the existing schema already describes the two parameters. The description adds no extra meaning beyond the schema, meeting the baseline for full coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'search for' and the resource 'images' using a specific method 'Google Image Search'. It is distinct from sibling tools 'analyze_images' and 'download_image'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus its siblings or any prerequisites. It lacks explicit context for when it is appropriate to invoke.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v1.0.0- First observed
analyze_images - First observed
download_image - First observed
search_images
TDQS
Scored across 3 tools
Each tool has a distinct role: search returns images, analyze evaluates relevance, download saves locally. The line between search and analyze could cause minor confusion, but descriptions clarify.
All tools follow a consistent verb_noun pattern in snake_case: search_images, analyze_images, download_image.
3 tools is slightly low for a search service, but for a focused utility it's reasonable and each tool serves a clear purpose.
Core search, analysis, and download are covered, but missing image metadata retrieval, pagination, or search refinement are notable gaps.
Maintenance
Related MCP Connectors
Search Google straight from your AI agent. Web results, images, videos, news, products, scholarly ar
Web search, browser automation, scraping, crawling and CAPTCHA solving for AI agents.
Scrape Google search results with SERP data, ads, and knowledge panels
SEO & marketing toolkit for AI agents: GA4, Search Console, AdSense, GTM, PageSpeed, Trends.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to download images from URLs and perform basic image optimization tasks.2917Apache 2.0
- AlicenseNot gradedqualityFmaintenanceEnables AI agents to generate, edit, and analyze images using Google's Gemini image generation models including Nano Banana Pro (gemini-3-pro-image-preview).13717MIT
- AlicenseNot gradedqualityDmaintenanceIntegrates with SerpAPI and YouTube to provide comprehensive search capabilities across Google Search, News, Scholar, Trends, Finance, Maps, Images, YouTube, and transcript retrieval for AI assistants.2MIT
- FlicenseNot gradedqualityDmaintenanceProvides tools for searching and downloading images using Google Image Search API.3-