MCP Server

Setup Guide

Connect Your AI to STR Data in 30 Seconds

One command is all it takes. Follow the setup guide for your AI client and start querying 20M+ Airbnb listings, market analytics, and revenue projections through natural language.

30-second setup

No coding required

Works with 7+ AI clients

Terminal
$ claude mcp add --transport http airroi \
  https://mcp.airroi.com \
  --header "X-API-KEY: YOUR_API_KEY"

# That's it. 25 tools. 20M+ properties.
# Start asking questions in plain English.

30s

Setup Time

25

Tools Available

20M+

Properties

$10

Starting Credits

Before You Start

API Key

Sign up at AirROI, grab your api key from the Developer Dashboard. $10 minimum, pay-as-you-go.

AI Client

Install Claude Code, Claude Desktop, Codex, Cursor, VS Code, or any MCP-compatible client.

Setup Instructions

Select your AI client below — ordered by popularity. Each tab walks through the complete setup process, from opening settings to verifying the connection.

Using Cursor? One-click install

Adds the AirROI MCP server to Cursor automatically -- replace YOUR_KEY after install.

Add to Cursor
Recommended
One command
~30 seconds

Claude Code is Anthropic's terminal-based AI coding agent and the most widely used AI dev tool of 2026. It supports MCP natively with a single CLI command -- no config files, no manual editing. This is the fastest path to connecting AirROI.

Step 1: Open your terminal

Launch your terminal application (Terminal on macOS, iTerm, Windows Terminal, or any shell). Claude Code must already be installed -- if not, run npm install -g @anthropic-ai/claude-code first.

Step 2: Run the setup command

This single command registers AirROI as an MCP server with HTTP transport and authenticates using your API key:

claude mcp add --transport http airroi https://mcp.airroi.com \
  --header "X-API-KEY: YOUR_API_KEY"

Replace only YOUR_API_KEY — keep the X-API-KEY: prefix exactly as written.

✓ --header "X-API-KEY: a1b2c3d4e5f6"

✗ --header "a1b2c3d4e5f6"

By default the server is added for the current project only. Add --scope user to make AirROI available in all your projects.

Step 3: Verify the connection

Start a new Claude Code session and type /mcp to check the server status, or ask: “What MCP tools do you have from AirROI?” You can also verify with claude mcp list.

Replace YOUR_API_KEY with your actual API key from the Developer Dashboard.

What to Ask After Connecting

Once connected, just ask your AI in plain English. The MCP server automatically selects the right tool and returns structured data.

Price Recommendations

Recommend a USD base price for a 2-bedroom, 2-bath property sleeping 4 at latitude 25.7907, longitude -80.13.

Use that base price and returned currency to recommend nightly rates with balanced last-minute pricing. Explain warnings before I review the prices.

Market Analysis

What's the average occupancy in Miami Beach for 2BR listings?

Compare ADR trends in Austin vs Nashville over the last 12 months

Investment Research

Find top 10 highest-revenue listings within 5 miles of downtown Denver

Estimate annual revenue for a 3BR property near Disneyland

Competitive Intelligence

How many active listings are in the Smoky Mountains?

What's the average lead time for bookings in Maui?

Portfolio Management

Get metrics for listing ID 12345678 including occupancy and revenue trends

What are future rates for comparable listings near my property?

Your First Query

Here is what a real interaction looks like after setup. You ask a question in natural language, your AI calls the appropriate tool, and returns structured market intelligence instantly.

claude — airroi-mcp-session
> What's the average occupancy rate in Miami Beach for 2BR listings?
Called search_markets("Miami Beach")
Called market_summary("Miami Beach", bedrooms=2)
  Miami Beach, FL — 2BR Performance

  Average Occupancy:  72.4%
  Average Daily Rate: $289
  RevPAR:             $209
  Active 2BR Listings: 3,847

  Seasonality:
    Peak (Dec-Mar):   89.1% occ · $342 ADR
    Shoulder (Apr-Jul): 68.5% occ · $278 ADR
    Low (Aug-Oct):    58.2% occ · $231 ADR

The market shows strong seasonal patterns with peak demand during winter months. At 72.4% average occupancy and $289 ADR, 2-bedroom listings in Miami Beach generate approximately $76,000 in annual revenue at the median. The summer shoulder season still holds above 68%, making this a relatively year-round market.

This is a representative example. Actual values depend on the current dataset and your query parameters.

Dive Deeper

Price Recommendations: From Base Price to Nightly Rates

Use both pricing tools through your existing AirROI MCP connection and API key. These tools calculate recommended prices; listing_future_rates shows observed listing rates, and estimate_revenue projects earnings.

Recommend Base Price

airroi_recommend_base_price

Estimate a year-round nightly starting price from property coordinates and known property facts. Optional amenities, reviews, and other details can refine the estimate. Nothing is saved or published.

Try asking: Recommend a base price in USD for a 2-bedroom, 2-bath property sleeping 4 at latitude 25.7907, longitude -80.13. Explain the recommendation.

Returns: Recommended base price, conservative/balanced/aggressive options, typical local price range, returned currency, and itemized explanation

View API contract

Recommend Calendar Prices

airroi_recommend_calendar_prices

Calculate nightly prices from coordinates, currency, and a base price. Modeled seasonality, weekdays, events, and demand combine with optional pricing rules, seasonal overrides, price limits, and stay restrictions.

Try asking: Use the returned base price and currency to recommend nightly rates for the same property with balanced last-minute pricing. Summarize the next 30 days and all warnings; do not publish anything.

Returns: The complete response inline: nightly recommendations, explanations, stay restrictions, coverage, and warnings. Omitted or null start_date and end_date return one to two years of dates from today in the property timezone; inclusive boundaries select a window

View API contract

A two-call pricing workflow

  1. Provide exact coordinates, bedrooms, bathrooms, and guest capacity to recommend_base_price. Omit optional property facts you do not know.

  2. Pass recommended_base_price and the returned uppercase currency to recommend_calendar_prices, or supply your own base price and currency. Currency uses codes such as USD or JPY; the analytics option native does not apply.

  3. Add pricing rules and availability evidence when needed. The calendar is booking evidence, not an output date selector. Missing dates are unknown; include surrounding reservations and blocked dates for calendar-dependent rules.

  4. Review explanations and warnings, including warnings on successful responses, before publishing through your own integration.

Calendar Prices returns the complete response inline with nightly prices, explanations, stay restrictions, coverage, and all warnings. Output starts today in the property's timezone unless start_date is set. Omitted or null start_date and end_date return the full one- to two-year calendar; inclusive boundaries select a window. The same day in both returns one row. Past or malformed dates fail; an end_date beyond available coverage returns available rows with a warning. Output selection preserves full-calendar calculations and warnings, whose counts may include later dates. Review warnings even on success. The calculation is stateless: resend settings and calendar evidence; no property settings are changed or rates published. Your booking integration must enforce returned stay restrictions. Length-of-stay discounts are accepted but are not applied to recommendations.

Each tool uses the same paid credits as its REST endpoint. Calendar Prices is billed per successful request, not per night. Check current rates on the API pricing page.

Frequently Asked Questions

Yes. Use airroi_recommend_base_price with coordinates and property facts, then pass its recommended_base_price and returned currency to airroi_recommend_calendar_prices. You can also supply your own base price. Calendar Prices returns the complete response inline with explanations, stay restrictions, coverage, and all warnings. Omitted or null start_date and end_date return one to two years of dates from today in the property timezone; inclusive boundaries select a window. The same day in both returns one row, past dates fail, and an end_date beyond coverage produces a warning. Review warnings even on success. Calculations are stateless: no property settings are changed or rates published. They consume the same paid credits as the REST endpoints; Calendar Prices is billed per successful request, not per night.

One command: claude mcp add --transport http airroi https://mcp.airroi.com --header "X-API-KEY: YOUR_API_KEY". Keep the X-API-KEY: prefix exactly as written and replace only YOUR_API_KEY with your actual key from the Developer Dashboard. Claude can immediately query 20M+ Airbnb listings, market analytics, and revenue estimates through natural language.

No. If you can install Claude Desktop or Claude Code, you can use the MCP server. The one-command setup takes 30 seconds, and then you query data in plain English. No coding, no API integration, no data processing required.

Same pay-as-you-go pricing as the REST API. No subscriptions, no contracts, no monthly minimums. Buy API credits starting at $10, and each MCP tool call consumes the same credits as the equivalent REST API call. You only pay for the queries your AI actually makes.

Yes. Both the MCP server and the REST API use the same API key, the same credit balance, and return the same data. Use the MCP server for natural-language queries through Claude or Cursor, and the REST API for programmatic integrations in your own applications. They complement each other and share your pay-as-you-go credits.

When credits are exhausted, tool calls return a clear error message indicating insufficient credits -- no data loss, no silent failures. Your AI assistant will relay the message and suggest purchasing additional credits from the Developer Dashboard. You can top up instantly and resume querying without reconfiguring anything.

Any client that supports the Model Context Protocol (MCP) over HTTP transport with custom headers. The most popular are Claude Code, Claude Desktop, OpenAI Codex (the ChatGPT desktop app, CLI, and VS Code extension), Cursor, and VS Code with GitHub Copilot. Windsurf (now Devin Desktop), Gemini CLI, and other MCP-compatible clients work too. MCP is an open standard created by Anthropic and adopted by OpenAI, Google, and Microsoft, so compatibility keeps expanding.

Yes -- through Codex. ChatGPT's built-in Codex (in the desktop app, the Codex CLI, and the VS Code extension) fully supports the AirROI MCP server: add three lines to ~/.codex/config.toml and all three surfaces are connected. The one exception is ChatGPT's chat-side developer-mode connectors, which currently support only OAuth or no-auth servers and therefore can't connect with an API key.

Ready to Connect Your AI?

One command. 25 tools. 20M+ properties. Start querying in 30 seconds.
made with