@chrischall/tripadvisor-mcp 0.5.0 → 0.5.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.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/dist/bundle.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/skills/tripadvisor/SKILL.md +43 -3
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"metadata": {
|
|
9
9
|
"description": "MCP server for the TripAdvisor Terra API — location search, details, photos, and reviews",
|
|
10
|
-
"version": "0.5.
|
|
10
|
+
"version": "0.5.1"
|
|
11
11
|
},
|
|
12
12
|
"plugins": [
|
|
13
13
|
{
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"displayName": "TripAdvisor",
|
|
16
16
|
"source": "./",
|
|
17
17
|
"description": "TripAdvisor travel data via the Terra API — search hotels, restaurants, and attractions, with details, photos, and reviews",
|
|
18
|
-
"version": "0.5.
|
|
18
|
+
"version": "0.5.1",
|
|
19
19
|
"author": {
|
|
20
20
|
"name": "Chris Hall"
|
|
21
21
|
},
|
package/dist/bundle.js
CHANGED
|
@@ -35359,7 +35359,7 @@ var pageSchema = {
|
|
|
35359
35359
|
};
|
|
35360
35360
|
|
|
35361
35361
|
// src/version.ts
|
|
35362
|
-
var VERSION = "0.5.
|
|
35362
|
+
var VERSION = "0.5.1";
|
|
35363
35363
|
|
|
35364
35364
|
// src/client.ts
|
|
35365
35365
|
import { dirname, join } from "node:path";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Single source of the server version. release-please bumps the literal below. */
|
|
2
|
-
export const VERSION = '0.5.
|
|
2
|
+
export const VERSION = '0.5.1'; // x-release-please-version
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chrischall/tripadvisor-mcp",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"mcpName": "io.github.chrischall/tripadvisor-mcp",
|
|
5
5
|
"description": "TripAdvisor Terra API MCP server for Claude — search locations, details, photos, and reviews. Developed and maintained by AI (Claude Code).",
|
|
6
6
|
"author": "Claude Code (AI) <https://www.anthropic.com/claude>",
|
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/chrischall/tripadvisor-mcp",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.5.
|
|
9
|
+
"version": "0.5.1",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "@chrischall/tripadvisor-mcp",
|
|
14
|
-
"version": "0.5.
|
|
14
|
+
"version": "0.5.1",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
|
@@ -52,15 +52,55 @@ npm install && npm run build
|
|
|
52
52
|
|
|
53
53
|
| Tool | Use for |
|
|
54
54
|
| --- | --- |
|
|
55
|
-
| `ta_search_locations` | Find places by name — `query` required; filter with `category` (`RESTAURANT`/`ATTRACTION`/`HOTEL`), `country_code`, `geo_name`, `postal_code`, `locale`; page with `page`/`size` (max 20).
|
|
56
|
-
| `ta_search_nearby` | Find places near a center — supply **one** of: `lat`+`lon`+`radius`, `location_id`+`radius`, or a `sw_lat`/`sw_lon`/`ne_lat`/`ne_lon` box (`unit` `MI`/`KM`); filter `category`, `min_rating`, `sort` (`distance`/`rating`), `include_photo`.
|
|
55
|
+
| `ta_search_locations` | Find places by name — `query` required; filter with `category` (`RESTAURANT`/`ATTRACTION`/`HOTEL`), `country_code`, `geo_name`, `postal_code`, `locale`; page with `page`/`size` (max 20). Returns matches with a location `id`. |
|
|
56
|
+
| `ta_search_nearby` | Find places near a center — supply **one** of: `lat`+`lon`+`radius`, `location_id`+`radius`, or a `sw_lat`/`sw_lon`/`ne_lat`/`ne_lon` box (`unit` `MI`/`KM`); filter `category`, `min_rating`, `sort` (`distance`/`rating`), `include_photo`. |
|
|
57
57
|
| `ta_get_location_details` | Full listing for a location `id`: names, descriptions, address, coordinates, traveler ratings, phone, URLs. Optional `locale`. |
|
|
58
|
-
| `ta_get_locations` | Batch details for **multiple** ids (`ids: [..]`, 1–50) in one call — cheaper than repeated details; unknown ids are omitted.
|
|
58
|
+
| `ta_get_locations` | Batch details for **multiple** ids (`ids: [..]`, 1–50) in one call — cheaper than repeated details; unknown ids are omitted. |
|
|
59
59
|
| `ta_get_location_photos` | Photos (multi-size URLs, source, dimensions). Page with `page`/`size`. |
|
|
60
60
|
| `ta_get_location_reviews` | Traveler reviews. Page with `page`/`size`. |
|
|
61
61
|
| `ta_web_healthcheck` | Diagnose the optional tripadvisor.com browser-bridge connection (fetchproxy Transporter). Reports bridge role/port/timing and an actionable hint if it's not connected. |
|
|
62
62
|
| `ta_web_get_location` | Get a location's details (rating, review count, address, coordinates, phone, photo, URL) from its public TripAdvisor page via the browser bridge — **works without an API key**. Covers attractions/hotels/restaurants; no individual review text. |
|
|
63
63
|
|
|
64
|
+
## Response shape
|
|
65
|
+
|
|
66
|
+
`ta_search_locations`, `ta_search_nearby`, `ta_get_locations` and
|
|
67
|
+
`ta_get_location_reviews` take `view: "compact" | "full"`, and **`compact` is
|
|
68
|
+
the default** — the slim rung is what you get without asking for it. Pass
|
|
69
|
+
`view: "full"` for TripAdvisor's whole records.
|
|
70
|
+
|
|
71
|
+
The compact rung is not the same operation on all four:
|
|
72
|
+
|
|
73
|
+
- `ta_search_locations`, `ta_search_nearby` and `ta_get_locations` run a real
|
|
74
|
+
field projection over each Terra location, keeping `id`, `name`, `category`
|
|
75
|
+
(derived from the listing URL prefix), `geo`, `city`, `state`, `rating`,
|
|
76
|
+
`review_count` and `url` — plus `distance_miles` / `distance_kilometers` on
|
|
77
|
+
nearby results. `pagination` is preserved. On an unexpected shape the
|
|
78
|
+
projection warns to stderr and returns the raw payload rather than a page of
|
|
79
|
+
empties.
|
|
80
|
+
- `ta_get_location_reviews` has no projection, so its compact rung strips image
|
|
81
|
+
URLs — reviewer avatars and per-review snapshots — and leaves everything else,
|
|
82
|
+
review text included, exactly as TripAdvisor sent it.
|
|
83
|
+
|
|
84
|
+
The other four tools take no `view`, each for its own reason:
|
|
85
|
+
|
|
86
|
+
- `ta_get_location_photos` — its product **is** the image URLs. A photos item
|
|
87
|
+
hangs its whole payload off the `photo` media key, so stripping would not
|
|
88
|
+
shrink the response, it would empty it, leaving ids pointing at nothing.
|
|
89
|
+
- `ta_web_get_location` — the opposite case: it returns no upstream payload at
|
|
90
|
+
all. The page parser already projects down to a dozen named fields, and the
|
|
91
|
+
`image` among them is a deliberate pick from a page offering hundreds.
|
|
92
|
+
- `ta_get_location_details` — its compact rung would be the same location row
|
|
93
|
+
`ta_search_locations` already handed you with the `id`, so it would return
|
|
94
|
+
what you already have, on the one tool you call to get more than that.
|
|
95
|
+
- `ta_web_healthcheck` — it reports a diagnosis it assembles itself, not a
|
|
96
|
+
TripAdvisor record.
|
|
97
|
+
|
|
98
|
+
A rung that cannot change anything is worse than no parameter.
|
|
99
|
+
|
|
100
|
+
(This replaced an opt-in `compact: true` flag. Passing `compact` now does
|
|
101
|
+
nothing — zod drops the unknown key and you get the compact rung regardless,
|
|
102
|
+
which is what the flag used to ask for.)
|
|
103
|
+
|
|
64
104
|
## Workflow
|
|
65
105
|
|
|
66
106
|
1. `ta_search_locations` (or `ta_search_nearby`) to get a location `id`.
|