Simple icons/modelcontextprotocol
MCP Server
Give AI assistants access to real-time data. Search the web, compare flights, find hotels, and more.
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.
OAuth (Recommended)
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.
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.
Simple icons/claude
Claude Desktop
Add it from the app — no config file needed:
Open Customize → Connectors .
Click Add → Add custom connector .
Paste the URL above, click Add , then follow the OAuth prompt to authorize.
Available on all plans.
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.
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.
Simple icons/cursor
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.
Run this command in your terminal:
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.
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.
Token Authentication
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).
Simple icons/cursor
Cursor
Add this to ~/.cursor/mcp.json:
{
"mcpServers": {
"searchapi": {
"url": "https://www.searchapi.io/mcp",
"headers": {
"X-MCP-Token": "YOUR_TOKEN"
}
}
}
}
Copy
Or install it automatically:
Simple icons/cursor
Install in Cursor
Simple icons/windsurf
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.
Add this to ~/.codex/config.toml:
[mcp_servers.searchapi]
url = "https://www.searchapi.io/mcp"
http_headers = { "X-MCP-Token" = "YOUR_TOKEN" }
Copy
Create .vscode/mcp.json in your project root:
{
"servers": {
"searchapi": {
"type": "http",
"url": "https://www.searchapi.io/mcp",
"headers": {
"X-MCP-Token": "YOUR_TOKEN"
}
}
}
}
Copy
Add this under context_servers in your Zed settings:
{
"context_servers": {
"searchapi": {
"url": "https://www.searchapi.io/mcp",
"headers": {
"X-MCP-Token": "YOUR_TOKEN"
}
}
}
}
Copy
Simple icons/opencode
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
Run this command in your terminal:
claude mcp add --transport http searchapi https://www.searchapi.io/mcp --header "X-MCP-Token: YOUR_TOKEN"
Copy
Simple icons/claude
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).
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
Click any tool card to copy an example prompt you can use with your AI assistant.
Simple icons/airbnb
Airbnb Experience Details
Get details about Airbnb experience 394929
Simple icons/airbnb
Airbnb Experiences Search
Find cooking classes in Tokyo for 2 adults this weekend
Simple icons/airbnb
Airbnb Property Availability Calendar
Show availability for Airbnb property 357576 for the next 3 months
Simple icons/airbnb
Get reviews for Airbnb property 41895465
Simple icons/airbnb
Get details for Airbnb property 12345678 from March 1-7 for 2 adults
Simple icons/airbnb
Find entire homes in Barcelona for 2 adults from March 1-7
Simple icons/alibabadotcom
Find bluetooth speakers on Alibaba from Verified suppliers in China that are ready to ship
Simple icons/aliexpress
Aliexpress Product Reviews
What do 1-star reviews say about AliExpress product 1005007502032342?
Simple icons/aliexpress
Get the price, SKUs and delivery estimate of AliExpress product 1005009623988175 shipped to Germany
Simple icons/aliexpress
Find wireless earbuds on AliExpress with free shipping to Germany, cheapest first
Simple icons/aliexpress
Aliexpress Store Products
List the newest products of the Ugreen store on AliExpress (store 301635)
Simple icons/amazon
List Stephen King's books on Amazon (author ID B000AQ0842) with their prices
Simple icons/amazon
Get Amazon search suggestions for 'coffee'
Simple icons/amazon
What are this week's most sold nonfiction books on Amazon Book Charts?
Simple icons/amazon
Find Amazon categories matching 'laptop'
Simple icons/amazon
What are today's best Amazon deals on electronics at 50% off or more?
Simple icons/amazon
Show the seller offers for Amazon ASIN B088NRLMPV
Simple icons/amazon
Get product details for Amazon ASIN B088NRLMPV
Simple icons/amazon
Show the recent Amazon reviews of reviewer AHBEI6Q4F4WHRIFK5CWQMRVPOQMA and the products they reviewed
Simple icons/amazon
Search for 'wireless noise cancelling headphones' on Amazon
Simple icons/amazon
List the products in the Amazon brand store D24FDA17-DECF-46BB-AF47-AF4647D2B1F8
Simple icons/amazon
What does Amazon wish list 397W9WUFUP2KA still need, highest priority first, and what does each item cost?
Simple icons/appstore
Get details for the Instagram app with product_id '389801252'
Simple icons/appstore
Search for 'Instagram' on the Apple App Store
Simple icons/appstore
Apple Appstore Top Grossing
What are the top grossing iPhone apps in the US App Store?
Simple icons/apple
Show the places in Apple Maps guide 15492827070352335266
Simple icons/apple
Get Apple Maps details for the place with id ID14FABEE6C8FC5A
Simple icons/apple
Find coffee shops near Times Square, New York on Apple Maps
Get the full detail sheet for this AutoScout24 listing
Find Volkswagen Golf listings in Germany under €15,000
Simple icons/baidu
Find the newest Chinese news articles about 'OpenAI' on Baidu News from the past week
Simple icons/bestbuy
Look up BestBuy product 6667474 and tell me how the open-box price compares to new
Search for '4K TV' on BestBuy
Simple icons/bing
Find coffee shops in Austin, Texas on Bing Maps
Simple icons/bing
Search Bing News for 'climate change policy updates'
Simple icons/bing
Get product details using the product_token from bing_shopping results
Simple icons/bing
Search Bing for 'latest news about artificial intelligence'
Simple icons/bing
Search Bing Shopping for 'wireless headphones under $100'
Simple icons/bookingdotcom
Look up Booking.com destination ids matching 'dubro'
Simple icons/bookingdotcom
Get Booking.com details for this booking.com hotel from September 10-17 for 2 adults
Simple icons/bookingdotcom
What do couples say about booking.com on Booking.com? Show the newest reviews.
Simple icons/bookingdotcom
Find Booking.com stays in Dubrovnik from September 10-17 for 2 adults
What do Slack users on Capterra complain about most?
Simple icons/openai
Ask ChatGPT to explain the difference between TCP and UDP
Simple icons/duckduckgo
Find DuckDuckGo News articles about electric vehicles from the past week
Simple icons/duckduckgo
Search DuckDuckGo for 'best programming languages 2026'
Simple icons/ebay
Get eBay search suggestions for 'nike'
Simple icons/ebay
Get details for eBay listing with item_id '123456789012'
Simple icons/ebay
Search eBay for 'vintage mechanical keyboard' under $200
Simple icons/ebay
What would eBay charge a seller to ship a 3.5 lb, 12x9x4 inch package from ZIP 10001 to 90210?
Find 4 and 5 star hotels near the Eiffel Tower on Expedia for 2 adults, checking in December 18 and out December 21, with free cancellation
Facebook Business Page Reviews
Get the latest Facebook reviews for this facebook.com page
Search Flipkart for 'running shoes men' under 2000 rupees and list the five best rated with their prices and discounts
Get a Gemini answer for 'benefits of long distance running'
Simple icons/github
Show me the pinned repositories and contribution activity for torvalds on GitHub
Simple icons/github
How active is rails/rails on GitHub, and who contributes to it?
Simple icons/github
Find the most starred Rust web framework repositories on GitHub
Simple icons/github
What Python repositories are trending on GitHub this week?
What do Google employees on Glassdoor say about work-life balance?
Google Ads Advertiser Search
Search for advertisers named 'Tesla'
Find ads run by Tesla or search ads for domain tesla.com
Get AI-generated overview for 'benefits of long distance running'
Find concerts in Austin this weekend and show the full details of the first one, including where to get tickets
Find concerts in Austin this weekend
Simple icons/google flights
Google Flights Calendar One Way
Show me the cheapest days to fly one-way from SFO to NRT in March
Simple icons/google flights
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
Simple icons/google flights
Find cheap flight deals from New York
Simple icons/google flights
Google Flights Location Search
Find the airport code for Chicago
Simple icons/google flights
Find one-way flights from JFK to LAX on January 20th
Simple icons/google flights
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 Price Calendar
Show the cheapest check-in dates in December for 3-night stays at hotel property_token ChkIsL6Z-KPh0eJyGg0vZy8xMWJ0djZjbTIxEAE
Get details for hotel property_token ChcI7uLR18qD4MG_ARoKL20vMGMwMmh5bBAB from March 1-7
Search for hotels in Paris from December 20-25 for 2 adults
Search for images of 'aurora borealis over mountains'
Google Images Related Content
Search Google Images for 'golden retriever' and show the images and products related to the first result
Find Starbucks barista jobs in New York and show the employer's ratings on review sites for the first one
Find software engineer jobs in San Francisco
Find plumbers advertising on Google Local Services in Austin, Texas
Find pizza places near Brooklyn
What does Google Maps suggest for 'pizz' around the Empire State Building?
Google Maps Contributor Reviews
What else has the Google Maps reviewer with contributor ID 114339123323154895565 reviewed lately?
Google Maps Directions Search Along Route
Find gas stations along the route from Los Angeles to Las Vegas
Get driving directions from Times Square to JFK Airport
Google Maps Directions Transit
Get public transit directions from Brooklyn to Times Square
Who posted the first photo of Joe's Pizza Broadway on Google Maps, and when was it taken?
Get photos of the Statue of Liberty from Google Maps
Get detailed info about a specific coffee shop from my Maps search
What offers and events has Doggett Ford South Loop in Houston posted on Google lately?
Get reviews for the Statue of Liberty from Google Maps
Find coffee shops near Times Square, New York
Search for recent news about 'artificial intelligence regulation'
Search for patents about machine learning image recognition
Show the product catalog with prices for Mellow Johnny's bike shop in Austin (ludocid 17144036082677418217)
Get the Knowledge Graph card for kgmid /g/11b_3cn7rv
Simple icons/googleplay
Get details for the Spotify app with product_id 'com.spotify.music'
Simple icons/googleplay
Search for 'Spotify' on the Google Play Store
Get product details using the product_token from shopping results
Get top 100 organic results for 'best coffee shops'
Search Google for 'best hiking boots', then get the real URLs of the results that came back as Google redirects
Get the full opinion of the Google Scholar case with caselaw_id 6386252699535531764
Search Google Scholar case law for 'qualified immunity' in the fifth_circuit
Find the Google Scholar court identifier for the Southern District of Texas
Search Google Scholar for 'transformer architecture in natural language processing'
Search for 'best coffee shops in NYC'
Search for 'iPhone 15 Pro Max' on Google Shopping
Google Travel Explore Destination
Show flights from JFK to /m/05qtj in March
Explore destinations to fly to from JFK in March
Find vacation rentals in Lake Tahoe with 3 bedrooms from March 1-7
Look up Home Depot product 320326875 and tell me its price and pickup stock at store 121
Read the newest reviews for Home Depot product ID 320326875
Search Home Depot for 'paint roller' and list the five cheapest results with their ratings
Get employee reviews of Amazon.com on Indeed, lowest rated first
How much does Amazon pay software engineers in Seattle according to Indeed?
Find registered nurse jobs on Indeed in Chicago, IL
How much does a registered nurse earn in Chicago according to Indeed?
Get the Instagram post with shortcode DavpizrjugI
Get profile information for @leomessi on Instagram
Find round-trip flights on Kayak from Boston to Miami, leaving December 21 and coming back December 28
Find 4 and 5 star hotels in Paris on Kayak for 2 adults, checking in December 18 and out December 21, cheapest first
Get the variants, prices and delivery dates of Lazada Malaysia product 1133562367
Find the best-selling LazMall running shoes on Lazada Singapore under $100
Search for Google's ads on LinkedIn
Get the full description and seniority level of LinkedIn job 4470016722
Find registered nurse jobs on LinkedIn in Chicago posted in the last week
Find LinkedIn members named John Smith
Show the top LinkedIn posts in the career/resume-tips topic
Search for Tesla pages in Meta Ad Library
Search for Nike ads on Meta platforms
Simple icons/naver
Find the newest Naver News articles from the last day about 삼성전자 (Samsung Electronics)
Simple icons/naver
Find the most reviewed 무선이어폰 (wireless earbuds) on Naver Shopping and compare their prices, ratings and delivery fees
Simple icons/pinterest
Find Pinterest pins for minimalist kitchen ideas
Find 3-bedroom houses for sale in Austin, TX under $500,000 on Realtor.com
Simple icons/reddit
Search Reddit comments about list comprehensions in r/learnpython
Simple icons/reddit
Find the top Reddit posts about mechanical keyboards from the past year
Simple icons/reddit
Get the top comments of all time by Reddit user u/thisisbillgates
Simple icons/reddit
Get the top posts of all time by Reddit user u/nasa
Simple icons/reddit
Look up the Reddit user u/spez
Find 3-bedroom homes for sale in Austin, TX under $600,000 on Redfin
What are customers saying about Gymshark on Reviews.io?
Shopify App Store Reviews
What do merchants complain about in the Klaviyo Shopify app? Show the newest 1-star reviews.
Find rental cars at LAX on Skyscanner, picking up December 4 and dropping off December 7
Skyscanner Flights Itinerary
Find one-way flights on Skyscanner from Dubai to London Heathrow on December 12, then tell me which aircraft the cheapest direct flight uses
Find round-trip flights on Skyscanner from London Heathrow to New York JFK, leaving March 10 and coming back March 17
Find hotels in London on Skyscanner for 2 adults, checking in November 14 and out November 16
What are customers saying about walmart.com on SmartCustomer (Sitejabber)?
Get the price, review score and system requirements of Cyberpunk 2077 on Steam (app_id 1091500)
What do recent negative Steam reviews of Cyberpunk 2077 (app_id 1091500) complain about?
Simple icons/steam
Find discounted puzzle games for Mac on Steam
Search for Nike ads on TikTok
Search for advertisers named 'Nike' on TikTok
Simple icons/tiktok
Get TikTok search suggestions for 'iphone'
Simple icons/tiktok
Get the videos in the TikTok collection tiktok.com
Simple icons/tiktok
What sports videos is TikTok featuring on its Explore page in Brazil right now?
Simple icons/tiktok
How many videos and views does #football have on TikTok?
Tiktok Profile Collections
List the public collections of @tiktok on TikTok
List the most recent followers of @nfl on TikTok
List the accounts @khaby.lame follows on TikTok
Is @tremelobeat live on TikTok right now?
List the playlists on @nfl's TikTok profile
Get profile information for @therock on TikTok
Get the latest videos from @therock on TikTok
Search TikTok for videos about messi
Simple icons/tripadvisor
Tripadvisor Forums Search
Find TripAdvisor forum threads about visiting Paris
Simple icons/tripadvisor
Get TripAdvisor details for place_id 190166
Simple icons/tripadvisor
Get TripAdvisor reviews for place_id 190164
Simple icons/tripadvisor
Find top attractions in Rome on TripAdvisor
Simple icons/trustpilot
Get the most recent Trustpilot reviews for amazon.com with a 1-star rating
Find Levi's 501 jeans in very good condition under 30 euros on Vinted France, cheapest first
Simple icons/walmart
Get Walmart search suggestions for 'milk'
Simple icons/walmart
Get product details for Walmart product ID 123456789
Simple icons/walmart
Read customer reviews for Walmart product ID 2068427086, sorted by most helpful
Simple icons/walmart
Search for 'air fryer' on Walmart under $50
Simple icons/walmart
Find Walmart stores near ZIP code 33177
Simple icons/yahoo
Find extra large, wide photos of mountain lakes on Yahoo Images that are free to use commercially
Simple icons/yahoo
Find the newest Yahoo News articles about the Premier League from the last day in the UK edition
Simple icons/yahoo
Find long guitar lesson videos in 1080p on Yahoo Videos from the past month
Get the Yellow Pages details and latest reviews for place_id 531159833
Simple icons/youtube
Which live streams does @NASA have scheduled or live right now on YouTube?
Simple icons/youtube
Get the latest community posts from @MrBeast on YouTube
Simple icons/youtube
Show me YouTube shorts tagged #cooking
Simple icons/youtube
Search YouTube for 'how to make sourdough bread'
Simple icons/youtube
Get the transcript for YouTube video dQw4w9WgXcQ
Simple icons/youtube
Show me the shorts trending on YouTube in Japan
Simple icons/youtube
Get details for YouTube video RcYjXbSJBN8
Simple icons/zillow
Get the Zillow profile, reviews and recent sales of the real estate team everydoorrealestate
Simple icons/zillow
Find Spanish-speaking Zillow Top Agents in Austin, TX
Simple icons/zillow
Get full details for Zillow property 69817587
Simple icons/zillow
Find 3-bedroom houses for sale in Austin, TX under $500,000
Get Capital One's company profile on ZipRecruiter
Get the full description of the first ZipRecruiter registered nurse job in Austin, TX
Find remote senior software engineer jobs on ZipRecruiter paying at least $150,000
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 .