Logotipo de Airbnb

Airbnb

Organización
openbnb-org

Search Airbnb using your AI Agent

Editoropenbnb-org
Repositoriomcp-server-airbnb
IdiomaJavaScript
Forks
125
Estrellas
540
Herramientas disponibles
2
Tipo de transportestdio, streamable-http
Categorías
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    Airbnb ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 2 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    540 estrellas y 125 forks en el repositorio enlazado.

downloads

Airbnb Search & Listings - MCP Bundle (MCPB)

A comprehensive MCP Bundle for searching Airbnb listings with advanced filtering capabilities and detailed property information retrieval. Built as a Model Context Protocol (MCP) server packaged in the MCP Bundle (MCPB) format for easy installation and use with compatible AI applications.


🚀 Prefer not to run a local server? Try openbnb.ai

👉 openbnb.ai is a hosted MCP server that solves the same problem — searching Airbnb listings — without any local setup.

If you don't want to deal with installing and running this server yourself, openbnb.ai is a separate, fully-hosted alternative you can connect to directly from your MCP client. It goes beyond what this open-source server offers:

  • ✅ Zero setup — no Node, no npx, no config files, no updates to manage
  • ✅ Advanced filters — richer search controls beyond the base tools here
  • ✅ MCP UI — interactive UI components for browsing results, not just plain text
  • ✅ Managed & maintained — kept running for you

Head to openbnb.ai for setup instructions and the connection details for your MCP client.

If you'd rather self-host the open-source server, read on.


Features

🔍 Advanced Search Capabilities

  • Location-based search with support for cities, states, and regions
  • International location support via client-side geocoding, so non-US queries (e.g. "Paris, France", "Copenhagen, Denmark") return results in the right city
  • Google Maps Place ID integration for precise location targeting
  • Property type filtering for entire homes, private rooms, shared rooms, or hotel rooms
  • Date filtering with check-in and check-out date support
  • Guest configuration including adults, children, infants, and pets
  • Price range filtering with minimum and maximum price constraints
  • Pagination support for browsing through large result sets

🏠 Detailed Property Information

  • Comprehensive listing details including amenities, policies, and highlights
  • Location information with coordinates and neighborhood details
  • House rules and policies for informed booking decisions
  • Property descriptions and key features
  • Direct links to Airbnb listings for easy booking

🛡️ Security & Compliance

  • Robots.txt compliance with configurable override for testing
  • Request timeout management to prevent hanging requests
  • Enhanced error handling with detailed logging
  • Rate limiting awareness and respectful API usage
  • Secure configuration through MCPB user settings

Installation

For Claude Desktop

This extension is packaged as an MCP Bundle (.mcpb) file. To install:

  1. Download the .mcpb file from the latest release
  2. Open the file — Claude Desktop will show an installation dialog
  3. Configure the extension settings as needed

To ignore robots.txt, open Claude Desktop settings, navigate to the extension, and enable the Ignore robots.txt toggle.

For Cursor, etc.

Before starting make sure Node.js is installed on your desktop for npx to work.

  1. Go to: Cursor Settings > Tools & Integrations > New MCP Server

  2. Add one the following to your mcp.json:

    json
    {
      "mcpServers": {
        "airbnb": {
          "command": "npx",
          "args": [
            "-y",
            "@openbnb/mcp-server-airbnb"
          ]
        }
      }
    }

    To ignore robots.txt for all requests, use this version with --ignore-robots-txt args

    json
    {
      "mcpServers": {
        "airbnb": {
          "command": "npx",
          "args": [
            "-y",
            "@openbnb/mcp-server-airbnb",
            "--ignore-robots-txt"
          ]
        }
      }
    }
  3. Restart.

Configuration

The extension provides the following user-configurable options:

Ignore robots.txt

  • Type: Boolean (checkbox)
  • Default: false
  • Description: Bypass robots.txt restrictions when making requests to Airbnb
  • Recommendation: Keep disabled unless needed for testing purposes

Disable third-party geocoding

  • Type: Boolean (checkbox)
  • Environment variable: DISABLE_GEOCODING
  • Default: false
  • Description: Skip the Photon/Nominatim geocoding step and let Airbnb resolve the location string on its own. Enabling this restores the pre-PR behavior — every search goes only to airbnb.com, no third-party calls.
  • Recommendation: Keep disabled unless you specifically need zero third-party outbound traffic. With it enabled, non-US searches could return incorrect results. See External Services.

Tools

airbnb_search

Search for Airbnb listings with comprehensive filtering options.

Parameters:

  • location (required): Location to search (e.g., "San Francisco, CA"). When supplied without placeId, the server geocodes this string client-side via Photon/Nominatim — see External Services.
  • placeId (optional): Google Maps Place ID. Overrides location and skips client-side geocoding entirely (no third-party calls).
  • checkin (optional): Check-in date in YYYY-MM-DD format
  • checkout (optional): Check-out date in YYYY-MM-DD format
  • adults (optional): Number of adults (default: 1)
  • children (optional): Number of children (default: 0)
  • infants (optional): Number of infants (default: 0)
  • pets (optional): Number of pets (default: 0)
  • minPrice (optional): Minimum price per night
  • maxPrice (optional): Maximum price per night
  • cursor (optional): Pagination cursor for browsing results
  • propertyType (optional): Filter by property type — entire_home, private_room, shared_room, or hotel_room
  • ignoreRobotsText (optional): Override robots.txt for this request

Returns:

  • Search results with property details, pricing, and direct links
  • Pagination information for browsing additional results
  • Search URL for reference

airbnb_listing_details

Get detailed information about a specific Airbnb listing.

Parameters:

  • id (required): Airbnb listing ID
  • checkin (optional): Check-in date in YYYY-MM-DD format
  • checkout (optional): Check-out date in YYYY-MM-DD format
  • adults (optional): Number of adults (default: 1)
  • children (optional): Number of children (default: 0)
  • infants (optional): Number of infants (default: 0)
  • pets (optional): Number of pets (default: 0)
  • ignoreRobotsText (optional): Override robots.txt for this request

Returns:

  • Detailed property information including:
    • Location details with coordinates

    • Amenities and facilities, as seeAllAmenitiesGroups — an object keyed by amenity category, so a category can be addressed directly. Amenities Airbnb shows struck through arrive under its own "Not included" category:

      json
      {
        "seeAllAmenitiesGroups": {
          "Bathroom": "Hair dryer",
          "Heating and cooling": "AC - split type ductless system, Heating",
          "Not included": "Dryer, Hot water"
        }
      }
    • House rules and policies

    • Property highlights and descriptions

    • Direct link to the listing

Technical Details

Architecture

  • Runtime: Node.js 18+
  • Protocol: Model Context Protocol (MCP) via stdio transport
  • Format: MCP Bundle (MCPB) v0.3
  • Dependencies: Minimal external dependencies for security and reliability

External Services

In addition to airbnb.com, the server makes geocoding requests to two third-party services to translate location queries into accurate map bounding boxes. This bypasses Airbnb's own server-side geocoder, which produces incorrect results for many non-US queries (e.g. "Paris, France" lands in Vendée; "Copenhagen, Denmark" lands in Wisconsin).

ServiceEndpointUsed forNotes
Photonphoton.komoot.ioPrimary geocoder, called on every search without placeIdFree OSM-based service hosted by Komoot. One request per search.
Nominatimnominatim.openstreetmap.orgFallback geocoder, called only when Photon does not return a bounding boxSubject to the OSMF usage policy (max ~1 req/sec).

Each search sends only the location string from the request to the geocoder — no other request fields, no IP geolocation, no tracking identifiers. The location string itself is, of course, the same string the user typed.

Opting out: there are two ways to skip the geocoders:

  • Per-request: supply an explicit placeId. When placeId is present, the server uses Airbnb's own place lookup directly with no third-party calls.
  • Globally: set the environment variable DISABLE_GEOCODING=true. The server will skip Photon/Nominatim entirely and pass the raw location string to Airbnb. This restores the pre-PR behavior for every search and guarantees zero third-party outbound traffic — at the cost of broken results for non-US locations that Airbnb's own geocoder mishandles. Defaults to false.

If a geocoder is unreachable or returns no result, the server falls back to sending the location string to Airbnb directly, exactly as it did before — so the worst case for an outage is that international searches degrade to the previous (broken) behavior, not that the search fails entirely.

Error Handling

  • Comprehensive error logging with timestamps
  • Graceful degradation when Airbnb's page structure changes
  • Timeout protection for network requests
  • Detailed error messages for troubleshooting

Security Measures

  • Robots.txt compliance by default
  • Request timeout limits
  • Input validation and sanitization
  • Secure environment variable handling
  • No sensitive data storage

Performance

  • Efficient HTML parsing with Cheerio
  • Request caching where appropriate
  • Minimal memory footprint
  • Fast startup and response times

Compatibility

  • Platforms: macOS, Windows, Linux
  • Node.js: 18.0.0 or higher
  • Claude Desktop: 0.10.0 or higher
  • Other MCP clients: Compatible with any MCP-supporting application

Development

Building from Source

bash
# Install dependencies
npm install

# Build the project
npm run build

# Watch for changes during development
npm run watch

Testing

bash
# Build, then run both suites
npm test

npm test drives the built server over stdio and calls the tools for real:

  • test-extension.js — MCP handshake, tool listing, a search, listing details, and the geocoding paths (Photon, Nominatim fallback)
  • test-amenities.js — amenity extraction across several live listings, checking that amenities Airbnb strikes through never appear as ones the listing offers

Both hit airbnb.com and the geocoders over the network, so they need connectivity and can fail if Airbnb changes its page structure — that's the point of them, but it also means they aren't suitable as an unattended CI gate.

The server can also be run directly:

bash
# Run with robots.txt compliance (default)
node dist/index.js

# Run with robots.txt ignored (for testing)
node dist/index.js --ignore-robots-txt

Legal and Ethical Considerations

  • Respect Airbnb's Terms of Service: This extension is for legitimate research and booking assistance
  • Robots.txt Compliance: The extension respects robots.txt by default
  • Rate Limiting: Be mindful of request frequency to avoid overwhelming Airbnb's servers
  • Data Usage: Only extract publicly available information for legitimate purposes

Support

  • Issues: Report bugs and feature requests on GitHub Issues
  • Documentation: Additional documentation available in the repository
  • Community: Join discussions about MCP and MCPB development

License

MIT License - see LICENSE file for details.

Contributing

Contributions are welcome! Please read the contributing guidelines and submit pull requests for any improvements.


Note: This extension is not affiliated with Airbnb, Inc. It is an independent tool designed to help users search and analyze publicly available Airbnb listings.

Instalación

TypingMind
Requisitos:

Node.js 18+

{
  "mcpServers": {
    "airbnb": {
      "command": "npx",
      "args": [
        "-y",
        "@openbnb/mcp-server-airbnb"
      ]
    }
  }
}

Herramientas disponibles

  • airbnb_search

    Search for Airbnb listings with various filters and pagination. Provide direct links to the user

  • airbnb_listing_details

    Get detailed information about a specific Airbnb listing. Provide direct links to the user

Usa el MCP de Airbnb con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado Airbnb, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Puedes ejecutar MCP localmente en tu dispositivo o conectarte a la URL de un servidor MCP remoto.

Opción 1: Usa el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade Airbnb como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de Airbnb.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "airbnb": {
      "command": "npx",
      "args": [
        "-y",
        "@openbnb/mcp-server-airbnb"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de Airbnb y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de Airbnb.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Airbnb para ayudarme con esta tarea?
Airbnb
Claro. Lo he leído.
Esto he encontrado usando Airbnb.

Opción 2: Añade la URL de un servidor MCP

Usa esta opción si Airbnb ya está alojado en un servidor remoto o si tu equipo quiere un conector compartido al que puedan acceder varios usuarios.

1

Abre Conectores MCP

En TypingMind, ve a Plugins, abre Conectores MCP y elige Añadir URL.

  1. Abre TypingMind en tu navegador.
  2. Ve a Plugins.
  3. Abre Conectores MCP.
  4. Haz clic en Añadir URL.
Formulario de TypingMind para añadir la URL de un servidor MCP personalizado
2

Pega la URL del servidor

Introduce la URL de tu servidor en el campo URL del servidor. Añade un nombre de conexión, una descripción, un icono, cabeceras HTTP personalizadas o la configuración del cliente OAuth si el servidor los requiere.

  1. Pega la URL de tu servidor en el campo URL del servidor.
  2. Introduce un nombre para la conexión de Airbnb.
  3. Añade una descripción y un icono si quieres que sea más fácil de identificar.
  4. Añade cabeceras HTTP personalizadas o los datos del cliente OAuth si el servidor requiere autenticación.
3

Crea la conexión

Haz clic en Crear conexión, vuelve a la lista de plugins y comprueba que la nueva conexión MCP esté activa.

  1. Haz clic en Crear conexión.
  2. Vuelve a la lista de conectores MCP.
  3. Comprueba que la conexión de Airbnb aparezca como activa.
  4. Actualiza la lista de plugins si la conexión no aparece de inmediato.
4

Cambia de modelo sin volver a conectar

Inicia un chat con tu modelo preferido, activa las herramientas de Airbnb desde Plugins y cambia de modelo cuando lo necesites. La conexión MCP seguirá disponible en el espacio de trabajo de TypingMind.

  1. Inicia un nuevo chat en TypingMind.
  2. Selecciona el modelo de IA que quieras usar.
  3. Activa las herramientas de Airbnb desde Plugins.
  4. Pide al modelo que use la herramienta cuando sea necesario.
  5. Cambia a otro modelo de IA y reutiliza la misma conexión MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Airbnb para ayudarme con esta tarea?
Airbnb
Claro. Lo he leído.
Esto he encontrado usando Airbnb.

Preguntas frecuentes

¿Para qué sirve el servidor MCP Airbnb?

Airbnb es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP Airbnb con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar Airbnb con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de Airbnb con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con Airbnb conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP Airbnb a TypingMind?

Puedes conectar Airbnb en TypingMind con el conector MCP local o añadiendo la URL de un servidor MCP remoto. Usa el conector local cuando el servidor necesite acceder a archivos, aplicaciones o recursos privados de tu dispositivo, y una URL de servidor cuando el servidor MCP esté alojado de forma remota.

¿Qué herramientas ofrece el servidor MCP Airbnb en TypingMind?

Airbnb ofrece 2 herramientas MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP Airbnb?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si Airbnb requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇