@hasdata/google-images-mcp 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +14 -10
  2. package/index.mjs +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -9,12 +9,12 @@ It reads the Google Images results page a signed-out visitor sees.
9
9
  **1,000 free credits every month, no card required**, which is 200 Google Images calls at the 5-credit rate.
10
10
 
11
11
  ```
12
- https://mcp.hasdata.com/api/mcp?apis=google_images
12
+ https://mcp.hasdata.com/mcp?apis=google_images
13
13
  ```
14
14
 
15
15
  [![Glama score](https://glama.ai/mcp/servers/HasData/google-images-mcp/badges/score.svg)](https://glama.ai/mcp/servers/HasData/google-images-mcp)
16
16
  [![tool contract](https://github.com/HasData/google-images-mcp/actions/workflows/contract.yml/badge.svg)](https://github.com/HasData/google-images-mcp/actions/workflows/contract.yml)
17
- [![MCP](https://img.shields.io/badge/MCP-remote%20%7C%20streamable%20HTTP-6366f1?style=flat-square)](https://mcp.hasdata.com/api/mcp?apis=google_images)
17
+ [![MCP](https://img.shields.io/badge/MCP-remote%20%7C%20streamable%20HTTP-6366f1?style=flat-square)](https://mcp.hasdata.com/mcp?apis=google_images)
18
18
  [![Tools](https://img.shields.io/badge/tools-1-10b981?style=flat-square)](#tools)
19
19
  [![npm](https://img.shields.io/npm/v/@hasdata/google-images-mcp?style=flat-square&logo=npm&label=npm&color=cb3837)](https://www.npmjs.com/package/@hasdata/google-images-mcp)
20
20
  [![PyPI](https://img.shields.io/pypi/v/hasdata-google-images-mcp?style=flat-square&logo=pypi&logoColor=white&label=PyPI&color=3775a9)](https://pypi.org/project/hasdata-google-images-mcp/)
@@ -45,7 +45,7 @@ The server URL is the same for every client. We run it hands-on in Claude Code a
45
45
 
46
46
  | Field | Value |
47
47
  | :--- | :--- |
48
- | URL | `https://mcp.hasdata.com/api/mcp?apis=google_images` |
48
+ | URL | `https://mcp.hasdata.com/mcp?apis=google_images` |
49
49
  | Transport | HTTP, streamable |
50
50
  | Auth header | `x-api-key: HASDATA_API_KEY` |
51
51
 
@@ -55,7 +55,7 @@ Clients with OAuth support can add the same URL as a connector and sign in witho
55
55
  <summary><b>Claude Code</b></summary>
56
56
 
57
57
  ```bash
58
- claude mcp add --transport http google-images "https://mcp.hasdata.com/api/mcp?apis=google_images" \
58
+ claude mcp add --transport http google-images "https://mcp.hasdata.com/mcp?apis=google_images" \
59
59
  --header "x-api-key: HASDATA_API_KEY"
60
60
  ```
61
61
 
@@ -64,7 +64,7 @@ claude mcp add --transport http google-images "https://mcp.hasdata.com/api/mcp?a
64
64
  <details>
65
65
  <summary><b>Claude Desktop</b></summary>
66
66
 
67
- Settings, then Connectors, then Add custom connector, then paste `https://mcp.hasdata.com/api/mcp?apis=google_images` and sign in.
67
+ Settings, then Connectors, then Add custom connector, then paste `https://mcp.hasdata.com/mcp?apis=google_images` and sign in.
68
68
 
69
69
  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`:
70
70
 
@@ -105,7 +105,7 @@ For Python instead of Node, swap the launcher for the PyPI package, which `uvx`
105
105
  {
106
106
  "mcpServers": {
107
107
  "google-images": {
108
- "url": "https://mcp.hasdata.com/api/mcp?apis=google_images",
108
+ "url": "https://mcp.hasdata.com/mcp?apis=google_images",
109
109
  "headers": { "x-api-key": "HASDATA_API_KEY" }
110
110
  }
111
111
  }
@@ -123,7 +123,7 @@ For Python instead of Node, swap the launcher for the PyPI package, which `uvx`
123
123
  {
124
124
  "mcpServers": {
125
125
  "google-images": {
126
- "serverUrl": "https://mcp.hasdata.com/api/mcp?apis=google_images",
126
+ "serverUrl": "https://mcp.hasdata.com/mcp?apis=google_images",
127
127
  "headers": { "x-api-key": "HASDATA_API_KEY" }
128
128
  }
129
129
  }
@@ -142,7 +142,7 @@ For Python instead of Node, swap the launcher for the PyPI package, which `uvx`
142
142
  "servers": {
143
143
  "google-images": {
144
144
  "type": "http",
145
- "url": "https://mcp.hasdata.com/api/mcp?apis=google_images",
145
+ "url": "https://mcp.hasdata.com/mcp?apis=google_images",
146
146
  "headers": { "x-api-key": "HASDATA_API_KEY" }
147
147
  }
148
148
  }
@@ -164,6 +164,10 @@ One call answers each of these, because a page carries 100 results. Paging is on
164
164
 
165
165
  ## Tools
166
166
 
167
+ | Tool | What it returns |
168
+ | --- | --- |
169
+ | `hasdata_google_images_images_getImageSearchResults` | Each image with title, source page URL, direct image URL, thumbnail, dimensions, source domain, and position. 5 credits a call |
170
+
167
171
  One tool, 5 credits per successful call.
168
172
 
169
173
  ### Get image search results
@@ -238,9 +242,9 @@ The Google Images tool costs **5 credits per successful call**. Response size do
238
242
 
239
243
  The free tier is **1,000 credits every month with no card**, which is 200 Google Images calls at the base rate. It renews with the billing cycle, so a low-volume agent runs on the free tier indefinitely.
240
244
 
241
- Paid plans start at **$49 a month** for 200,000 credits, which is 40,000 calls. The unit price falls with volume, from **$1.23 per 1,000 calls** on the entry plan to **$0.50** on Business, **$0.42** on Growth and **$0.37** on the largest [high-volume plans](https://hasdata.com/prices?utm_source=github&utm_medium=syndication&utm_campaign=google-images-mcp).
245
+ Paid plans start at **$59 a month** for 200,000 credits, which is 40,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](https://hasdata.com/prices?utm_source=github&utm_medium=syndication&utm_campaign=google-images-mcp).
242
246
 
243
- Your plan also sets concurrency. The free tier allows 1 request at a time, Startup 15, Business 30, Growth 50, and the high-volume plans run from 200 to 1,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.
247
+ Your plan also sets concurrency. The free tier allows 1 request 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.
244
248
 
245
249
  A request that comes back non-200 is not billed. A successful call that finds nothing is still a call.
246
250
 
package/index.mjs CHANGED
@@ -6,7 +6,7 @@ import { spawn } from 'node:child_process';
6
6
  import { createRequire } from 'node:module';
7
7
  import { dirname, join } from 'node:path';
8
8
 
9
- const URL = 'https://mcp.hasdata.com/api/mcp?apis=google_images';
9
+ const URL = 'https://mcp.hasdata.com/mcp?apis=google_images';
10
10
  const key = process.env.HASDATA_API_KEY;
11
11
  if (!key) {
12
12
  process.stderr.write('HASDATA_API_KEY is not set. Create a free key at https://app.hasdata.com and set HASDATA_API_KEY.\n');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hasdata/google-images-mcp",
3
3
  "mcpName": "com.hasdata/google-images",
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "description": "MCP server for Google Images through HasData's hosted API: image search with size, colour and type filters, returning 100 results a call with the source page and the full-resolution URL. 1,000 free credits every month.",
6
6
  "type": "module",
7
7
  "bin": {