Skip to main content
MCP server CX Codex

serpapi-hotels — Claude Code MCP server: what it does, how to install

Connects Google Hotels to your coding assistant via SerpAPI. It lets agents check lodging prices, filter by stay dates, and inspect guest feedback.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add serpapi-hotels -e SERPAPI_API_KEY=<SERPAPI_API_KEY> -- npx -y serpapi-hotels-mcp-server
Open on GitHub

What serpapi-hotels does

This integration exposes three main tools: search_hotels, get_hotel_details, and get_hotel_reviews. An assistant can query lodging options across any region, applying constraints on nightly rates, star categories, and free cancellation policies. It also handles vacation rental queries.

Once a property is located, its property_token unlocks comparative pricing across platforms like Expedia or Booking.com. The server also retrieves arrival schedules, surrounding points of interest, and full guest evaluations categorized by parameters like cleanliness or staff service.

The server requires Node. Execution will fail immediately without a valid SERPAPI_API_KEY defined in the environment.

What it helps with

  • search properties by travel dates, guest ratings, and nightly budget
  • compare reservation costs across multiple booking aggregators
  • inspect guest feedback, category sub-scores, and hotel replies
  • filter accommodations by eco-certification and cancellation terms

Example prompts for the agent

  • Find hotels in central Tokyo for October 10 to 15 under $200 per night with free cancellation.
  • Check the booking rate differences for this property across available travel providers.
  • Pull the lowest-rated guest reviews for this place along with any manager responses.

How to install serpapi-hotels

Platform CLI

claude mcp add serpapi-hotels -e SERPAPI_API_KEY=<SERPAPI_API_KEY> -- npx -y serpapi-hotels-mcp-server

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about serpapi-hotels

How to install serpapi-hotels in Claude Code?

Run claude mcp add serpapi-hotels -e SERPAPI_API_KEY=<SERPAPI_API_KEY> -- npx -y serpapi-hotels-mcp-server in your terminal. Replace <SERPAPI_API_KEY> with your actual SerpAPI key.

What does serpapi-hotels do?

It bridges Google Hotels and your assistant using SerpAPI. The model can browse lodging availability, compare vendor prices, and parse traveler opinions without leaving the chat.

Which environment variables are required?

You must define SERPAPI_API_KEY before starting the server. Without this key, all search requests to the API fail immediately.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

From the same set28

twist Bridges your Twist workspace and an AI agent: list channels, open threads, post messages through MCP tools. Handy when discussion lives in Twist but you work from the chat. CX Codex +1 ★ 81repo stars svg-tracer Vectorizes raster graphics into SVG files using potrace directly on your filesystem. Useful for turning PNG or JPG icons into vector assets. CX Codex +1 ★ 81repo stars ssh This MCP server connects an AI agent to a remote host over SSH for commands, directory browsing, and SFTP transfers. It can use an SSH agent. CX Codex +1 ★ 81repo stars slack An MCP server for Slack that reads channels and threads, posts and edits messages, and adds reactions. Useful when your agent has to work with chat without leaving the editor. CX Codex +1 ★ 81repo stars s3 This MCP server lets an agent work with AWS S3 and compatible storage. Use it to inspect buckets, handle objects, and limit available operations. CX Codex +1 ★ 81repo stars remote-filesystem An MCP server that lets your agent work with a Google Cloud Storage bucket: upload, download, list, edit properties and delete files. CX Codex +1 ★ 81repo stars pulse-subregistry Connects your assistant to the PulseMCP Sub-Registry catalog to search and inspect MCP servers. Useful when finding existing tool integrations directly from chat. CX Codex +1 ★ 81repo stars pulse-fetch This MCP server fetches web pages, extracts useful content, and can work around anti-bot checks. It suits agents that lack built-in web fetching. CX Codex +1 ★ 81repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor