How to Use Trip.com city hotel listings in Claude Code
Returns featured hotel profiles linked from a city directory. Use it to build an initial property shortlist; the directory does not establish availability for your travel dates.
Prompts to try with Trip.com city hotel listings in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use Trip.com city hotel listings for https://www.trip.com/hotels/london-hotels-list-338/ and build a shortlist view from the returned featured hotel names and profile links.
Use Trip.com city hotel listings to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Trip.com city hotel listings and tell me what changed since last week.
Check Trip.com city hotel listings and summarize what you find in three bullet points.
Pull the newest data from Trip.com city hotel listings and give me the result as a table.
How to set up Trip.com city hotel listings in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Trip.com city hotel listings
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "trip-com/hotels/hotels", "input": { "url": "<url>" } }'
Then paste one of the prompts above: Claude Code finds Trip.com city hotel listings on Spiral, shows the price and runs it.
Trip.com city hotel listings providers and prices
Spiral runs Trip.com city hotel listings through Alexandria. Open a card for today's price, with every fee included.
What can you do with Trip.com city hotel listings in Claude Code?
Build a personal hotel comparison view from Trip.com's published directory and property records. A coding agent can organize returned details in your project while preserving room descriptions, amenity charge labels, and policy wording.
Compare destinations for a personal vacation
Find linked destination directories, collect featured hotels, and compare property descriptions, room layouts, amenities, and stay policies before choosing which city and hotels to investigate.
Plan a stay with children
Start with a destination directory and its featured hotels. Check property identity, published bed arrangements, useful facilities, and child policies to prepare a shortlist and questions about cribs or extra beds.
Research a road trip's overnight stops
Find hotel directories for potential stopover cities, select featured properties, and compare addresses, parking charge labels, room arrangements, and arrival policies for a personal driving itinerary.
Prepare a shared vacation shortlist
Explore destination directories with friends, select featured hotels, and assemble property summaries covering addresses, room types, shared facilities, and house policies for discussion.
Find properties to investigate in a new city
Follow a linked destination directory, collect its featured hotel names and profile links, and read the property descriptions to decide which listings deserve closer inspection.
More on Trip.com city hotel listings and Claude Code
Overview
Trip.com city hotel listings in other agents
Questions about Trip.com city hotel listings in Claude Code
Can Claude Code use Trip.com city hotel listings?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Trip.com city hotel listings like any built-in tool.
How much does Trip.com city hotel listings cost in Claude Code?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need an Alexandria account to use Trip.com city hotel listings in Claude Code?
No. Spiral runs Trip.com city hotel listings on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Trip.com city hotel listings in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while Trip.com city hotel listings runs?
Trip.com city hotel listings runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.
Which parts of the world appear in Trip.com's hotel directories?
The public hotels landing page links destinations under Asia, China, Europe, the Americas, and Oceania. These links describe the landing page's selections, rather than the full geographic reach of every hotel listed on Trip.com.
Does a listed hotel or room type mean it is available for my dates?
No. The documented scope excludes date-specific availability and offers, so directory entries and published room descriptions cannot confirm vacancy.
Are city-directory results a complete hotel inventory?
The provider describes them as featured hotel profiles. Use them as a shortlist from a published directory, rather than a count of every property in the city.
Do listed hotel amenities all come without an extra charge?
No. Trip.com uses separate charge labels: Royal National Hotel's page marks parking as carrying an additional charge and luggage storage as free.
Can a hotel's child policy settle whether a crib or extra bed is included?
Not by itself. Trip.com explicitly says extra-bed and crib policies may vary by room type, so a property-level child policy does not settle the terms for every room.
Start using Trip.com city hotel listings in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


