[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Trip.com hotel details](https://spiral.ai/integrations/claude-code/trip-com-hotel-details)

# How to Use Trip.com hotel details in Claude Code

Returns a hotel's published identity, street address, description, and property facts. Use it to check which property a listing describes before comparing its rooms or policies.

|  |  |
| --- | --- |
| Model | Trip.com hotel details |
| Available through | Alexandria |
| Category | Maps & Reviews |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Trip.com hotel details in Claude Code

- Use Trip.com hotel details for Royal National Hotel in London at https://www.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/ and populate my planner's property summary with its published address and description.
- Use Trip.com hotel details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Trip.com hotel details and tell me what changed since last week.
- Check Trip.com hotel details and summarize what you find in three bullet points.
- Pull the newest data from Trip.com hotel details and give me the result as a table.

## How to set up Trip.com hotel details in Claude Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **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

1. **Send Claude Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Trip.com hotel details**: One request; the result comes back by polling or a webhook.

```bash
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/hotel",
    "input": {
      "url": "<url>"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds Trip.com hotel details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## Trip.com hotel details tools and prices

- [Trip.com · Hotel](https://spiral.ai/tools/alexandria/trip-com/hotels/hotel) (Alexandria): $0.00873 per call.

## What can you do with Trip.com hotel details 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.

### Compare sleeping arrangements

Match each shortlisted property's identity to its published room descriptions, then compare double, twin, and suite arrangements alongside any room-specific crib or extra-bed qualifications.

### Prepare arrival questions

Read the selected hotel's address, arrival policies, and listed luggage-storage or parking facilities. Turn the published details into questions to resolve before traveling.

### Review a hotel's published listing changes

Compare successive readings of a hotel's description, room types, amenities, and policy sections to identify changes that affect a planned personal stay.

### 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## Trip.com hotel details in other agents

- [Amp](https://spiral.ai/integrations/amp/trip-com-hotel-details)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/trip-com-hotel-details)
- [Claude](https://spiral.ai/integrations/claude-desktop/trip-com-hotel-details)
- [Cline](https://spiral.ai/integrations/cline/trip-com-hotel-details)
- [Codex](https://spiral.ai/integrations/codex/trip-com-hotel-details)
- [Cursor](https://spiral.ai/integrations/cursor/trip-com-hotel-details)
- [Devin](https://spiral.ai/integrations/devin/trip-com-hotel-details)
- [dots](https://spiral.ai/integrations/dots/trip-com-hotel-details)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/trip-com-hotel-details)
- [Gemini](https://spiral.ai/integrations/gemini/trip-com-hotel-details)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/trip-com-hotel-details)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/trip-com-hotel-details)
- [goose](https://spiral.ai/integrations/goose/trip-com-hotel-details)
- [Grok](https://spiral.ai/integrations/grok/trip-com-hotel-details)
- [Grok Build](https://spiral.ai/integrations/grok-build/trip-com-hotel-details)
- [Hermes](https://spiral.ai/integrations/hermes/trip-com-hotel-details)
- [Instinct](https://spiral.ai/integrations/instinct/trip-com-hotel-details)
- [Manus](https://spiral.ai/integrations/manus/trip-com-hotel-details)
- [Muse](https://spiral.ai/integrations/muse/trip-com-hotel-details)
- [Muse Code](https://spiral.ai/integrations/muse-code/trip-com-hotel-details)
- [n8n](https://spiral.ai/integrations/n8n/trip-com-hotel-details)
- [Notion](https://spiral.ai/integrations/notion/trip-com-hotel-details)
- [OpenClaw](https://spiral.ai/integrations/openclaw/trip-com-hotel-details)
- [opencode](https://spiral.ai/integrations/opencode/trip-com-hotel-details)
- [Perplexity](https://spiral.ai/integrations/perplexity/trip-com-hotel-details)
- [Raycast](https://spiral.ai/integrations/raycast/trip-com-hotel-details)
- [VS Code](https://spiral.ai/integrations/vscode/trip-com-hotel-details)
- [Windsurf](https://spiral.ai/integrations/windsurf/trip-com-hotel-details)
- [Zapier](https://spiral.ai/integrations/zapier/trip-com-hotel-details)

## More Claude Code guides

- [Trip.com hotel destinations](https://spiral.ai/integrations/claude-code/trip-com-hotel-destinations)
- [Trip.com hotel policies](https://spiral.ai/integrations/claude-code/trip-com-hotel-policies)
- [Trip.com hotel amenities](https://spiral.ai/integrations/claude-code/trip-com-hotel-amenities)
- [Trip.com room types](https://spiral.ai/integrations/claude-code/trip-com-room-types)
- [Trip.com city hotel listings](https://spiral.ai/integrations/claude-code/trip-com-city-hotel-listings)
- [Turo rental categories](https://spiral.ai/integrations/claude-code/turo-rental-categories)

## Questions about Trip.com hotel details in Claude Code

**Can Claude Code use Trip.com hotel details?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Trip.com hotel details like any built-in tool.

**How much does Trip.com hotel details 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 hotel details in Claude Code?**

No. Spiral runs Trip.com hotel details 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 hotel details in Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while Trip.com hotel details runs?**

Trip.com hotel details 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.

