@hasdata/google-hotels-mcp 1.0.0 → 1.0.1

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 +7 -7
  2. package/index.mjs +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -7,7 +7,7 @@ A hosted Model Context Protocol (MCP) server that gives Claude, Cursor, Windsurf
7
7
  **1,000 free credits every month, no card required**, which is about 100 hotel searches.
8
8
 
9
9
  ```
10
- https://mcp.hasdata.com/api/mcp?apis=google_travel_hotels
10
+ https://mcp.hasdata.com/mcp?apis=google_travel_hotels
11
11
  ```
12
12
 
13
13
  [![Glama score](https://glama.ai/mcp/servers/HasData/google-hotels-mcp/badges/score.svg)](https://glama.ai/mcp/servers/HasData/google-hotels-mcp)
@@ -44,7 +44,7 @@ The server URL is the same for every client. We run it hands-on in Claude Code a
44
44
 
45
45
  | Field | Value |
46
46
  | :--- | :--- |
47
- | URL | `https://mcp.hasdata.com/api/mcp?apis=google_travel_hotels` |
47
+ | URL | `https://mcp.hasdata.com/mcp?apis=google_travel_hotels` |
48
48
  | Transport | HTTP, streamable |
49
49
  | Auth header | `x-api-key: HASDATA_API_KEY` |
50
50
 
@@ -54,7 +54,7 @@ Clients with OAuth support can add the same URL as a connector and sign in witho
54
54
  <summary><b>Claude Code</b></summary>
55
55
 
56
56
  ```bash
57
- claude mcp add --transport http google-hotels "https://mcp.hasdata.com/api/mcp?apis=google_travel_hotels" \
57
+ claude mcp add --transport http google-hotels "https://mcp.hasdata.com/mcp?apis=google_travel_hotels" \
58
58
  --header "x-api-key: HASDATA_API_KEY"
59
59
  ```
60
60
 
@@ -63,7 +63,7 @@ claude mcp add --transport http google-hotels "https://mcp.hasdata.com/api/mcp?a
63
63
  <details>
64
64
  <summary><b>Claude Desktop</b></summary>
65
65
 
66
- Settings, then Connectors, then Add custom connector, then paste `https://mcp.hasdata.com/api/mcp?apis=google_travel_hotels` and sign in.
66
+ Settings, then Connectors, then Add custom connector, then paste `https://mcp.hasdata.com/mcp?apis=google_travel_hotels` and sign in.
67
67
 
68
68
  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-hotels-mcp` package is that launcher, and it reads the key from the environment. Add this to `claude_desktop_config.json`:
69
69
 
@@ -104,7 +104,7 @@ For Python instead of Node, swap the launcher for the PyPI package, which `uvx`
104
104
  {
105
105
  "mcpServers": {
106
106
  "google-hotels": {
107
- "url": "https://mcp.hasdata.com/api/mcp?apis=google_travel_hotels",
107
+ "url": "https://mcp.hasdata.com/mcp?apis=google_travel_hotels",
108
108
  "headers": { "x-api-key": "HASDATA_API_KEY" }
109
109
  }
110
110
  }
@@ -122,7 +122,7 @@ For Python instead of Node, swap the launcher for the PyPI package, which `uvx`
122
122
  {
123
123
  "mcpServers": {
124
124
  "google-hotels": {
125
- "serverUrl": "https://mcp.hasdata.com/api/mcp?apis=google_travel_hotels",
125
+ "serverUrl": "https://mcp.hasdata.com/mcp?apis=google_travel_hotels",
126
126
  "headers": { "x-api-key": "HASDATA_API_KEY" }
127
127
  }
128
128
  }
@@ -141,7 +141,7 @@ For Python instead of Node, swap the launcher for the PyPI package, which `uvx`
141
141
  "servers": {
142
142
  "google-hotels": {
143
143
  "type": "http",
144
- "url": "https://mcp.hasdata.com/api/mcp?apis=google_travel_hotels",
144
+ "url": "https://mcp.hasdata.com/mcp?apis=google_travel_hotels",
145
145
  "headers": { "x-api-key": "HASDATA_API_KEY" }
146
146
  }
147
147
  }
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_travel_hotels';
9
+ const URL = 'https://mcp.hasdata.com/mcp?apis=google_travel_hotels';
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-hotels-mcp",
3
3
  "mcpName": "com.hasdata/google-hotels",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "description": "MCP server for Google Hotels through HasData's hosted API: hotels and vacation rentals with nightly and total rates, price comparisons across booking sites, ratings, amenities and images. 1,000 free credits every month.",
6
6
  "type": "module",
7
7
  "bin": {