
HasData Google Images
com.hasdata由 hasdata.com 发布官方发布者v1.0.3更新于 Oct 24, 2026
Google Images results with source pages, thumbnails and full-resolution URLs, as JSON.
发布方自己的服务:HasData Airbnb
概览
托管的 HasData MCP 服务器,让助手执行 Google 图片搜索,并以 JSON 返回来源页面和原图链接等结构化结果。
- 可以做什么
- 每次调用执行一次 Google 图片搜索,返回最多 100 条 JSON 结果
- 按尺寸、颜色、类型、设备、Google 域名、国家与界面语言筛选,并可翻页获取更多结果
- 读取每条结果的标题、来源页面、来源站点、缩略图、原图链接、尺寸和位置
- 以资源形式读取域名、国家、语言、安全搜索和设备类型的固定取值列表,不消耗额度
- 适用场景
- 适合需要让助手在公开网络上查找图片、查看某个查询的图片来自哪些站点,或跨 Google 域名和语言比较图片结果,同时不想自建浏览器或抓取库的场景。
- 运行要求
- 需要一个 HasData API 密钥:远程端点通过 x-api-key 请求头传入,npm 或 PyPI 的 stdio 启动器则通过环境变量 HASDATA_API_KEY 设置。npm 启动器需要 Node.js,PyPI 启动器需要 uv。每次调用消耗额度,免费额度为每月 1,000 点。
安装
在 SourceWeft 中
- 打开 控制台中的 HasData Google Images,将其添加到工作区。
- 连接 x-api-key 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/com.hasdata%2Fgoogle-images/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"hasdata-google-images": {
"type": "http",
"url": "https://mcp.hasdata.com/mcp?apis=google_images",
"headers": {
"x-api-key": "<YOUR_API_KEY>"
}
}
}
}README
Google Images MCP Server
A hosted Google Images MCP server that gives Claude, Cursor, Windsurf and any other MCP client one read-only Google Images tool. Run an image search with size, colour and type filters and get 100 results a call, each with the page it came from and the full-resolution file URL, as structured JSON, with nothing to host.
It reads the Google Images results page a signed-out visitor sees.
1,000 free credits every month, no card required, which is 100 Google Images calls at the 10-credit rate.
https://mcp.hasdata.com/mcp?apis=google_images
[Glama score] [tool contract] [MCP] [Tools]
Contents
- What you need
- Quick start
- Example prompts
- Tools
- Errors and failure paths
- Pricing, free tier and limits
- How it compares
- FAQ
- HasData links
- Development
- Contributing
- License
What you need
An MCP client and a HasData API key from the dashboard, free to create with no card, and the free tier covers about 100 calls a month at the 10-credit rate. This is a remote server, so the simplest path is a URL and an x-api-key header, with no container to run. A client that only speaks stdio reaches it through a thin launcher, published as @hasdata/google-images-mcp on npm and hasdata-google-images-mcp on PyPI, shown below.
Quick start
The server URL is the same for every client. We run it hands-on in Claude Code and Claude Desktop. The other blocks follow each client's own documented format for a remote server.
| Field | Value |
|---|---|
| URL | https://mcp.hasdata.com/mcp?apis=google_images |
| Transport | HTTP, streamable |
| Auth header | x-api-key: HASDATA_API_KEY |
Clients with OAuth support can add the same URL as a connector and sign in without putting a key in a config file.
Claude Code
claude mcp add --transport http google-images "https://mcp.hasdata.com/mcp?apis=google_images" \
--header "x-api-key: HASDATA_API_KEY"
Claude Desktop
Settings, then Connectors, then Add custom connector, then paste https://mcp.hasdata.com/mcp?apis=google_images and sign in.
For the config-file route, Claude Desktop loads only local (stdio) servers, so it reaches a remote server through a stdio launcher. The @hasdata/google-images-mcp package is that launcher, and it reads the key from the environment. Add this to claude_desktop_config.json:
{
"mcpServers": {
"google-images": {
"command": "npx",
"args": ["-y", "@hasdata/google-images-mcp"],
"env": { "HASDATA_API_KEY": "YOUR_KEY" }
}
}
}
For Python instead of Node, swap the launcher for the PyPI package, which uvx runs without a manual install:
{
"mcpServers": {
"google-images": {
"command": "uvx",
"args": ["hasdata-google-images-mcp"],
"env": { "HASDATA_API_KEY": "YOUR_KEY" }
}
}
}
Cursor
~/.cursor/mcp.json for every project, or .cursor/mcp.json for one:
{
"mcpServers": {
"google-images": {
"url": "https://mcp.hasdata.com/mcp?apis=google_images",
"headers": { "x-api-key": "HASDATA_API_KEY" }
}
}
}
Windsurf
~/.codeium/windsurf/mcp_config.json. Windsurf calls the field serverUrl, not url:
{
"mcpServers": {
"google-images": {
"serverUrl": "https://mcp.hasdata.com/mcp?apis=google_images",
"headers": { "x-api-key": "HASDATA_API_KEY" }
}
}
}
VS Code
.vscode/mcp.json in the workspace:
{
"servers": {
"google-images": {
"type": "http",
"url": "https://mcp.hasdata.com/mcp?apis=google_images",
"headers": { "x-api-key": "HASDATA_API_KEY" }
}
}
}
Example prompts
- Find images of the Austin skyline and give me the ones over 1500 pixels wide.
- Which sites are ranking images for this product name?
- Get black and white photographs for this query, skipping clipart and line art.
- Search this query from the German Google and compare the sources with the US ones.
- Find images of this landmark and tell me which are stock photos.
- Pull the next page of results for this query.
One call answers each of these, because a page carries 100 results. Paging is only needed past that.
Tools
| Tool | What it returns |
|---|---|
hasdata_google_images_images_getImageSearchResults | Each image with title, source page URL, direct image URL, thumbnail, dimensions, source domain, and position. 10 credits a call |
One tool, 10 credits per successful call.
Get image search results
hasdata_google_images_images_getImageSearchResults
One page of Google Images results.
| Parameter | Type | Required | Notes |
|---|---|---|---|
q | string | yes | The search term |
tbs | string | Google's filter string for size, colour and type. See below | |
location | string | Google canonical location for the search | |
uule | string | The encoded location, if you already have one | |
domain | string | Google domain, one of 195, defaults to google.com | |
gl | string | Country code, one of 245 | |
hl | string | Interface language, one of 159 | |
safe | string | active or off | |
filter | number | 1 keeps Google's similar and omitted result filters, 0 drops them | |
deviceType | string | desktop, mobile or tablet | |
ijn | number | Page number, where 0 is the first page |
Returns an imagesResults array. Each entry carries position, title, link to the page hosting the image, source as the site name, thumbnail on Google's CDN, original as the full-resolution file, and originalWidth and originalHeight.
{
"position": 1,
"title": "The city skyline of Austin, Texas - Backyard Image",
"link": "https://www.backyardimage.com/the-city-skyline-of-austin-texas/",
"source": "Backyard Image",
"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSOGtSVdgWtQtW1_x8-gi7iQckNHXBQ5FdKqEpCKXsbWg&s=10",
"original": "https://www.backyardimage.com/wp-content/uploads/2025/01/2025-01-12-drone-Heap-0015-Pano-Edit.jpg",
"originalWidth": 1200,
"originalHeight": 615
}
The tbs parameter is Google's own filter string, and several filters combine with commas.
| Filter | Value |
|---|---|
| Large, medium or icon | isz:l, isz:m, isz:i |
| Larger than a size | isz:lt,islt:qsvga for 400×300, through islt:4mp for 2272×1704 |
| Exact size | isz:ex,iszw:1000,iszh:1000 |
| Full colour or black and white | ic:color, ic:gray |
| A specific colour | ic:specific,isc:red, and the other colour names |
| Type | itp:photo, itp:face, itp:clipart, itp:lineart, itp:animated |
Prompts and resources
The server exposes 5 resources, one per parameter whose accepted values are a fixed list. Reading one is cheaper than learning the vocabulary from a rejected call, and it costs no credits. Each URI is hasdata://google_images/<parameter>.
| Parameter | Values | What it selects |
|---|---|---|
domain | 195 | Google domain to use. Default is google.com. |
gl | 245 | The two-letter country code for the country you want to limit the search to. |
hl | 159 | The two-letter language code for the language you want to use for the search. |
safe | 2 | Adult Content Filtering option. |
deviceType | 3 | Specify the device type for the search. |
The list is served without an API key, so a client can read it before a user has signed up.
Errors and failure paths
Plan for these rather than assuming a happy path.
original is a third-party URL and it can be dead, hotlink-blocked or slow. It points at the file on whichever site hosts it, so it carries none of Google's availability. Fetch it defensively, and fall back to thumbnail, which is served from Google's CDN.
thumbnail is a Google CDN link, not an embedded image. It is a real URL rather than a data URI, so displaying one still costs a request to gstatic.com.
A page carries 100 results, not 10. Cost is per call rather than per result, so one call covering 100 images is the cheapest shape here. Reach for ijn only past the first hundred.
ijn starts at zero. Passing 1 gets the second page, not the first.
Dimensions describe the original, not the thumbnail. originalWidth and originalHeight are the file behind original, so a size filter applied locally has to read those rather than measure what you displayed.
tbs values are Google's, and an unrecognised one is ignored rather than rejected. A filter that silently does nothing looks the same as a filter that found everything, so check that the results actually narrowed before trusting a tbs string you assembled by hand.
domain, gl and hl are three separate axes. The domain is which Google answers, the country code is where the search comes from, and the language is the interface. Changing one moves the results less than you expect.
Results that carry data also carry a requestMetadata.id worth quoting in support.
Pricing, free tier and limits
The Google Images tool costs 10 credits per successful call. Response size does not change the price, and a call returns 100 results, which makes this one of the cheaper tools in the catalogue per row returned.
The free tier is 1,000 credits every month with no card, which is 100 Google Images calls at the base rate. It renews with the billing cycle, so a low-volume agent runs on the free tier indefinitely.
Paid plans start at $59 a month for 200,000 credits, which is 20,000 calls. The unit price falls with volume, from $1.48 per 1,000 calls on the entry plan to $0.60 on Basic and $0.41 across the Growth tiers. Current figures live on the pricing page.
Your plan also sets concurrency. The free tier allows 5 requests at a time, Startup 5, Basic 15, and the Growth tiers run from 50 to 500. Retry on the 429 with a backoff in anything unattended, because an agent that sweeps a keyword list will reach the ceiling before you do.
A request that comes back non-200 is not billed. A successful call that finds nothing is still a call.
How it compares
Google's Custom Search JSON API is the official route to image results, and it is a narrower instrument.
| Custom Search JSON API | This server | |
|---|---|---|
| Eligibility | A Google Cloud project and a search engine you configure | An API key |
| Results per call | 10 | 100 |
| Daily ceiling | 10,000 queries a day, free tier of 100 | Your plan's credits |
| Scope | The sites your programmable engine covers | The public Google Images page |
| Filter set | A documented subset | Google's own tbs string |
| Full-resolution URL | Returned | Returned |
The row that decides it is scope. A programmable search engine covers what you configure it to cover, and searching the open web with it takes extra setup and still behaves differently from the page a person sees. When you control the sites you want to search, the official API is free at low volume and the better fit.
FAQ
Is there an official Google Images MCP server?
Google does not publish one. This one is maintained by HasData and reads public Google Images pages.
What is a Google Images MCP server?
An MCP server exposes tools an AI client can call. This one turns a Google Images results page into JSON an agent can reason over, without a browser or a scraping library in your stack.
Do I need a Google account or a Cloud project?
No. The only credential is your HasData key.
Can I download the images?
The response gives you original, the URL of the file on the site that hosts it. Whether you may download, store or reuse that file is a copyright question about that image, and it is not answered by the fact that Google indexed it. Assume an image is protected unless you have checked otherwise.
Can I search by image rather than by text?
No. This tool takes a text query. Reverse image search is a different endpoint.
How do I filter by size?
Through tbs. isz:l gets large images, isz:lt,islt:2mp gets anything above 1600×1200, and isz:ex,iszw:1000,iszh:1000 gets exactly 1000×1000. Filters combine with commas.
Can I use this together with other HasData APIs?
Yes. One key covers everything, and one endpoint serves them all through the apis parameter. Point a client at ?apis=google_images,google_serp to get both tool sets in one connection, or at mcp.hasdata.com/mcp for the full catalogue.
Is HasData affiliated with Google?
No. HasData is an independent service and is not affiliated with, endorsed by, or sponsored by Google. Google is a trademark of its respective owner. The tools work with publicly available data only, and you are responsible for using the results in line with Google's terms and the law that applies to you.
Compliance and personal data
Image search returns whatever the query matched, so a query naming a person returns pictures of that person, and itp:face asks for faces specifically. Images of identifiable people are personal data, and in several jurisdictions biometric processing is regulated separately and more strictly again. Building a face set from these results is the case to think hardest about before you start, rather than after.
HasData links
- Google Images API, the REST endpoint behind this tool
- API documentation
- MCP server documentation
- Pricing
- Dashboard
Other HasData MCP servers: Google Search, Google Maps, Google Trends, Google Flights, Bing, DuckDuckGo, YouTube, TikTok, Instagram, Amazon, Walmart, Shopify, Yelp, Yellow Pages, Zillow, Redfin, Airbnb, Booking.com, Indeed, Glassdoor.
Development
The launcher is a thin stdio bridge to the remote server, so there is nothing to build.
npm install
HASDATA_API_KEY=your_key_here npm test
The tests in test/ assert the tool contract, the part that can break without a commit here. They check that ?apis=google_images returns the one expected tool, that its name has not changed, that it still requires q and carries a description, that the filter and targeting parameters this README documents are still in the schema, and that the key in use is actually accepted. That last check calls the tool for real and costs 10 credits, which is the price of a canary that can fail for the right reason.
One test asserts that a live search returns results carrying both original and its dimensions. Those three fields are what makes this tool worth calling over a plain SERP, and a parser change that dropped them would leave a green tools list behind it.
The contract suite also runs weekly on a schedule, because the upstream tool list can change without anyone touching this repository.
Contributing
A tool table, a response sample or a documented behaviour that does not match reality is worth an issue. There is a template for exactly that. Pull requests are welcome for the same, and for anything in the launcher.
License
MIT, see LICENSE.
来源:README.md,提交 5317398
工具
0版本历史
3- v1.0.3最新Sep 24, 2026
- v1.0.2Sep 22, 2026
- v1.0.0Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具必需15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Hasdata 集成

HasData Airbnb
com.hasdata官方发布者
HasData 的 Airbnb 托管服务器,让助手按地点或地图区域搜索房源,并以结构化 JSON 读取完整房源详情。

HasData Google Flights Deals
com.hasdata官方发布者
HasData 托管的 MCP 服务器,唯一工具可把一句旅行想法变成带日期的 Google Flights 机票优惠,含票价、航司、经停和预订链接。

HasData ChatGPT
com.hasdata官方发布者
由 HasData 托管的 MCP 服务器,提供一个 ChatGPT 工具,返回匿名的 ChatGPT 回答(Markdown)及其参考网页来源。

HasData Google Hotels
com.hasdata官方发布者
HasData 托管的 MCP 服务器,只提供一个 Google Hotels 工具:按目的地和日期搜索酒店与度假短租,或查看单个住宿的各渠道价格。

HasData Zillow
com.hasdata官方发布者
HasData 托管的服务器,让助手以结构化 JSON 搜索 Zillow 在售、出租和已售房源,并读取完整房产详情。