SearchApi

Datos SERP y web en tiempo real para asistentes de IA: más de 100 herramientas en Google, Bing, Amazon, YouTube, Maps, viajes y redes sociales desde un servidor MCP remoto.

Documentación

MCP Server

Give AI assistants access to real-time data. Search the web, compare flights, find hotels, and more.

Get Started

Create an integration and connect with OAuth in under a minute.

Authentication

OAuth and token-based authentication methods.

Quickstart

Set up Claude Code, Claude Desktop, VS Code, and more.

Available Tools

Explore available search engines and data sources.

Limits

Usage limits and rate limiting.

SearchApi's MCP server supports two authentication methods.

OAuth (Recommended)

Compatible clients (including Claude, Cursor, Codex, VS Code, and Zed) handle authentication automatically. Modern clients use Client ID Metadata Documents; other OAuth clients use secure dynamic registration. Just provide the base MCP URL:

https://www.searchapi.io/mcp

Copy

When your client connects for the first time, it will open a browser window where you can sign in and select which MCP integration to authorize. Subsequent connections reuse the stored token automatically.

Token Authentication

For clients without OAuth support or for server-to-server integrations, send your MCP token in the X-MCP-Token header:

X-MCP-Token: YOUR_TOKEN

Copy

Get your token from the MCP integrations dashboard. Do not put credentials in an MCP URL; URLs can be retained in browser history and intermediary logs.

Which method should I use?

Use OAuth if your client supports it — it's more secure (tokens expire and rotate automatically) and easier to manage. Use token auth for programmatic access or clients that don't support OAuth.

Set up your client

If your client supports OAuth, use the base URL. Authentication is handled automatically on first connect.

No token needed. Your client handles authentication automatically via OAuth.

Claude Code

Run this command in your terminal:

claude mcp add --transport http searchapi https://www.searchapi.io/mcp

Copy

Your browser opens on first connect to sign in and pick an integration.

Claude Desktop

Add it from the app — no config file needed:

  1. Open Customize → Connectors.
  2. Click Add → Add custom connector.
  3. Paste the URL above, click Add, then follow the OAuth prompt to authorize.

Available on all plans.

VS Code

Create .vscode/mcp.json in your project root:

{
  "servers": {
    "searchapi": {
      "type": "http",
      "url": "https://www.searchapi.io/mcp"
    }
  }
}

Copy

Start the SearchApi server from the MCP view; VS Code handles the OAuth sign-in.

Zed

Add this under context_servers in your Zed settings:

{
  "context_servers": {
    "searchapi": {
      "url": "https://www.searchapi.io/mcp"
    }
  }
}

Copy

Zed uses context_servers instead of mcpServers and runs the OAuth sign-in on first connect.

Cursor

Add this to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "searchapi": {
      "url": "https://www.searchapi.io/mcp"
    }
  }
}

Copy

Cursor opens the OAuth sign-in when it first connects.

Codex

codex mcp add searchapi --url https://www.searchapi.io/mcp

Copy

Codex discovers OAuth automatically. Run codex mcp login searchapi if sign-in is not opened immediately.

Any stdio-only client

Use the OAuth-aware mcp-remote bridge:

{
  "mcpServers": {
    "searchapi": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://www.searchapi.io/mcp"
      ]
    }
  }
}

Copy

Requires Node.js (for npx). Your browser opens for authorization on first connect.

Replace YOUR_TOKEN with the token from your dashboard.

Send the token with the X-MCP-Token header — not in the URL or the Authorization header (that's reserved for OAuth).

Cursor

{
  "mcpServers": {
    "searchapi": {
      "url": "https://www.searchapi.io/mcp",
      "headers": {
        "X-MCP-Token": "YOUR_TOKEN"
      }
    }
  }
}

Copy

Or install it automatically:

Install in Cursor

Windsurf

Add this to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "searchapi": {
      "serverUrl": "https://www.searchapi.io/mcp",
      "headers": {
        "X-MCP-Token": "YOUR_TOKEN"
      }
    }
  }
}

Copy

Windsurf uses the serverUrl key instead of url.

Codex

Add this to ~/.codex/config.toml:

[mcp_servers.searchapi]
url = "https://www.searchapi.io/mcp"
http_headers = { "X-MCP-Token" = "YOUR_TOKEN" }

Copy

VS Code

{
  "servers": {
    "searchapi": {
      "type": "http",
      "url": "https://www.searchapi.io/mcp",
      "headers": {
        "X-MCP-Token": "YOUR_TOKEN"
      }
    }
  }
}

Copy

Zed

{
  "context_servers": {
    "searchapi": {
      "url": "https://www.searchapi.io/mcp",
      "headers": {
        "X-MCP-Token": "YOUR_TOKEN"
      }
    }
  }
}

Copy

OpenCode

Add this to opencode.json in your project root:

{
  "mcp": {
    "searchapi": {
      "type": "remote",
      "url": "https://www.searchapi.io/mcp",
      "enabled": true,
      "oauth": false,
      "headers": {
        "X-MCP-Token": "YOUR_TOKEN"
      }
    }
  }
}

Copy

Claude Code

claude mcp add --transport http searchapi https://www.searchapi.io/mcp --header "X-MCP-Token: YOUR_TOKEN"

Copy

Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "searchapi": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://www.searchapi.io/mcp",
        "--header",
        "X-MCP-Token:${MCP_TOKEN}"
      ],
      "env": {
        "MCP_TOKEN": "YOUR_TOKEN"
      }
    }
  }
}

Copy

Restart Claude Desktop after saving. Requires Node.js (for npx).

Any other client

Bridge a stdio-only client with mcp-remote. Set MCP_TOKEN in its environment:

npx mcp-remote https://www.searchapi.io/mcp --header "X-MCP-Token:${MCP_TOKEN}"

Copy

What you can do

Click any tool card to copy an example prompt you can use with your AI assistant.

Airbnb Experience Details

Get details about Airbnb experience 394929

Airbnb Experiences Search

Find cooking classes in Tokyo for 2 adults this weekend

Airbnb Property Availability Calendar

Show availability for Airbnb property 357576 for the next 3 months

Airbnb Property Reviews

Get reviews for Airbnb property 41895465

Airbnb Property

Get details for Airbnb property 12345678 from March 1-7 for 2 adults

Airbnb Search

Find entire homes in Barcelona for 2 adults from March 1-7

Amazon Categories

Find Amazon categories matching 'laptop'

Amazon Product

Get product details for Amazon ASIN B088NRLMPV

Amazon Search

Search for 'wireless noise cancelling headphones' on Amazon

Apple App Details

Get details for the Instagram app with product_id '389801252'

Apple Appstore Search

Search for 'Instagram' on the Apple App Store

Apple Appstore Top Grossing

What are the top grossing iPhone apps in the US App Store?

Apple Maps Guide

Show the places in Apple Maps guide 15492827070352335266

Apple Maps Place Details

Get Apple Maps details for the place with id ID14FABEE6C8FC5A

Apple Maps Search

Find coffee shops near Times Square, New York on Apple Maps

Bestbuy Product

Look up BestBuy product 6667474 and tell me how the open-box price compares to new

Bestbuy Search

Search for '4K TV' on BestBuy

Bing News

Search Bing News for 'climate change policy updates'

Bing Product

Get product details using the product_token from bing_shopping results

Bing Search

Search Bing for 'latest news about artificial intelligence'

Bing Shopping

Search Bing Shopping for 'wireless headphones under $100'

Duckduckgo Search Light

Search DuckDuckGo for 'best programming languages 2026'

Ebay Product

Get details for eBay listing with item_id '123456789012'

Ebay Search

Search eBay for 'vintage mechanical keyboard' under $200

Facebook Business Page Reviews

Get the latest Facebook reviews for https://www.facebook.com/starbucks/

Facebook Business Page

Get the Facebook page at https://www.facebook.com/share/17XQPhAQRd/

Google Ads Advertiser Search

Search for advertisers named 'Tesla'

Google Ads Search

Find ads run by Tesla or search ads for domain tesla.com

Google Ai Mode

Get AI-generated overview for 'benefits of long distance running'

Google Flights Calendar One Way

Show me the cheapest days to fly one-way from SFO to NRT in March

Google Flights Calendar Round Trip

Show me the cheapest dates for a round-trip from JFK to LHR, departing in April and returning a week later

Google Flights Location Search

Find the airport code for Chicago

Google Flights One Way

Find one-way flights from JFK to LAX on January 20th

Google Flights Round Trip

Find round-trip flights from JFK to LAX, departing January 20th and returning January 25th

Google Hotels Autocomplete

Find destination suggestions matching 'paris'

Google Hotels Property

Get details for hotel property_token ChcI7uLR18qD4MG_ARoKL20vMGMwMmh5bBAB from March 1-7

Google Hotels

Search for hotels in Paris from December 20-25 for 2 adults

Google Images Light

Search for images of 'aurora borealis over mountains'

Google Jobs

Find software engineer jobs in San Francisco

Google Lens

Identify this image: https://i.ibb.co/12qRDsk/tower.png

Google Local

Find pizza places near Brooklyn

Google Maps Directions Search Along Route

Find gas stations along the route from Los Angeles to Las Vegas

Google Maps Directions

Get driving directions from Times Square to JFK Airport

Google Maps Directions Transit

Get public transit directions from Brooklyn to Times Square

Google Maps Photos

Get photos of the Statue of Liberty from Google Maps

Google Maps Place

Get detailed info about a specific coffee shop from my Maps search

Google Maps Reviews

Get reviews for the Statue of Liberty from Google Maps

Google Maps Search

Find coffee shops near Times Square, New York

Google News Light

Search for recent news about 'artificial intelligence regulation'

Google Patents Search

Search for patents about machine learning image recognition

Google Place

Get the Knowledge Graph card for kgmid /g/11b_3cn7rv

Google Play Details

Get details for the Spotify app with product_id 'com.spotify.music'

Google Play Search

Search for 'Spotify' on the Google Play Store

Google Product

Get product details using the product_token from shopping results

Google Rank Tracking

Get top 100 organic results for 'best coffee shops'

Google Scholar Case Law

Get the full opinion of the Google Scholar case with caselaw_id 6386252699535531764

Google Scholar Cases

Search Google Scholar case law for 'qualified immunity' in the fifth_circuit

Google Scholar Courts

Find the Google Scholar court identifier for the Southern District of Texas

Google Scholar

Search Google Scholar for 'transformer architecture in natural language processing'

Google Search Light

Search for 'best coffee shops in NYC'

Google Shopping Search

Search for 'iPhone 15 Pro Max' on Google Shopping

Google Travel Explore Destination

Show flights from JFK to /m/05qtj in March

Google Travel Explore

Explore destinations to fly to from JFK in March

Google Vacation Rentals

Find vacation rentals in Lake Tahoe with 3 bedrooms from March 1-7

Instagram Profile

Get profile information for @leomessi on Instagram

Linkedin Ads Search

Search for Google's ads on LinkedIn

Meta Ads Page Search

Search for Tesla pages in Meta Ad Library

Meta Ads Search

Search for Nike ads on Meta platforms

Tiktok Ads Search

Search for Nike ads on TikTok

Tiktok Advertiser Search

Search for advertisers named 'Nike' on TikTok

Tiktok Profile

Get profile information for @therock on TikTok

Tripadvisor Forums Search

Find TripAdvisor forum threads about visiting Paris

Tripadvisor Place

Get TripAdvisor details for place_id 190166

Tripadvisor Reviews

Get TripAdvisor reviews for place_id 190164

Tripadvisor

Find top attractions in Rome on TripAdvisor

Walmart Product

Get product details for Walmart product ID 123456789

Walmart Reviews

Read customer reviews for Walmart product ID 2068427086, sorted by most helpful

Walmart Search

Search for 'air fryer' on Walmart under $50

Walmart Stores

Find Walmart stores near ZIP code 33177

Youtube Search

Search YouTube for 'how to make sourdough bread'

Youtube Transcript

Get the transcript for YouTube video dQw4w9WgXcQ

Youtube Video

Get details for YouTube video RcYjXbSJBN8

Zillow Property

Get full details for Zillow property 69817587

Zillow Search

Find 3-bedroom houses for sale in Austin, TX under $500,000

Limits

  • Maximum 10 MCP integrations per account
  • Standard API rate limits apply
  • Each tool call counts as one API request

By connecting a client you agree to SearchApi's Terms and Privacy Policy.