Serpapi MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Serpapi MCP or direct API to fetch live search results, analyze SERP data, monitor keyword rankings, and automate SEO reporting through natural language.

Serpapi logoSerpapi
Api Key

SerpApi is a real-time API for structured search engine results. It lets you automate SERP data collection, parsing, and analysis for SEO and research.

59 Tools

Try Serpapi now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Serpapi
Try asking
TOOLS

Supported Tools

Every Serpapi action and event your agent gets out of the box. No Serpapi signup needed. Give your agents access to the Serpapi API and pay per call from your Composio balance.

Amazon Search

Search Amazon by keyword or category for products, prices, and ratings.

Search Baidu with Query

Search Baidu (Chinese search engine) and retrieve search results.

Bing Maps Search

Search Bing Maps via SerpApi for local businesses and places, using a required query and an optional place ID.

Bing Search

Retrieve Bing Search Engine Results via SerpAPI.

DuckDuckGo Light Search

Tool to access the world's fastest DuckDuckGo Search API via SerpApi.

DuckDuckGo Maps search

Scrapes DuckDuckGo Maps results via SerpApi.

DuckDuckGo search

Performs a DuckDuckGo search via SerpApi to retrieve SERP data, including organic results, ads, and structured information.

eBay Search

Search eBay product listings via SerpApi using keywords and optional location and marketplace settings.

Search Google Events

Searches for events in Google Search's structured event results.

Search finance

Retrieves structured financial information (e.g., company data, stock details, market trends, news) from Google Finance via SERP API based on a query.

Get SerpApi Account

Return plan, usage, remaining searches, renewal, throughput, and extra credits.

Amazon Product

Retrieve Amazon product details, variants, sellers, and related items by ASIN.

Get Location Options

Tool to get available location options for Google searches.

Get Facebook profile information

Tool to retrieve public information from a Facebook profile or page using SerpAPI.

Get Google About This Result

Tool to get Google 'About this result' information for a website.

Google AI Overview

Retrieve the full AI Overview referenced by a fresh Google Search page token.

Get Google Hotels Autocomplete

Tool to get autocomplete suggestions for Google Hotels destination searches.

Get Google Images Related Content

Get related content for a specific Google Images result.

Google Jobs Listing

Retrieve employer ratings for a job ID returned by Google Jobs Search.

Get Google Patent Details

Tool to retrieve detailed information about a specific patent or scholar document from Google Patents via SerpApi.

Get Search Archive

Retrieve an archived search by its search ID, including status and modeled result fields when available.

YouTube Video

Retrieve YouTube video metadata, chapters, comments, and related videos.

YouTube Video Transcript

Retrieve timestamped transcript content for a YouTube video.

Google Domains List

Retrieve the list of supported Google domains for search queries.

Google Forums Search

Tool to scrape forum results from Google's Forums Platform using SerpApi.

Google Jobs Search

Retrieve Google Jobs search results via SerpApi, with pagination, location and remote-job filtering.

Google Lens search

Performs reverse image search using Google Lens to find visually similar images, products, and related content.

Google Light Search

Retrieve Google Light Search Results via SerpApi.

Google Maps Posts

Scrapes Google Maps Posts for a business location via SerpApi.

Google maps search

Performs a Google Maps search via SERP API.

Google Play Product Search

Tool to retrieve detailed Google Play product information using SerpApi.

Google Scholar Author Profile

Scrapes full Google Scholar Author page including articles, citations, metrics, and co-authors.

Google Scholar Cite

Scrapes full Google Scholar Citations with multiple citation formats.

Google Videos Light Search

Tool to scrape Google Videos results using SerpApi's ultra-fast Google Videos Light API.

Hotel Search

Search Google Hotels via SerpApi using a query and check-in and check-out dates, or retrieve property details with a property token.

Image search

Searches Google Images via SERP API for a given query, returning structured image results.

Google Maps Reviews

Retrieve Google Maps place reviews, topics, place data, and pagination.

Naver Search

Search Naver for Korean web content, news, videos, and shopping results.

Search for news articles

Search Google news results via SerpApi for articles matching a query.

OpenTable Reviews Search

Tool to scrape OpenTable restaurant reviews using SerpApi.

Google Play Search

Retrieve Google Play Store search results in JSON, with query, country, language, category, chart, and pagination options.

Google AI Mode

Query Google AI Mode for generated text, references, and follow-up data.

Search Google Scholar

Searches Google Scholar via SerpApi for academic literature, papers, articles, and citations based on a query.

Serp API search

Search Google via SerpApi and return up to five organic results nested under results.organic_results, with position, title, and link for each.

Search Apple App Store

Tool to search Apple App Store for iOS and Mac apps.

Google Images Light Search

Tool to scrape Google Images results using SerpApi's Google Images Light API.

Search Google Local Services

Search Google Local Services for providers such as electricians, plumbers and HVAC technicians.

Search Index

Search SerpApi's preview LLM-first web index for grounding results.

Search public Google ads

Find public Google advertisements by advertiser or domain.

Search Yelp businesses

Search Yelp for businesses and places using SerpApi.

Shopping search

Searches Google Shopping via SerpAPI for a specific product, returning structured listings in results.shopping_results.

Google Trends search

Fetches Google Trends data; returns relative 0–100 interest indices (not absolute volumes) meaningful only when comparing queries within the same request.

Walmart Product Reviews

Tool to scrape full Walmart product reviews using SerpApi's Walmart Product Reviews API.

Walmart Search

Retrieve Walmart search results by query, location, store ID, and other parameters.

Yahoo Search

Retrieve Yahoo!

Yahoo Videos Search

Scrape Yahoo!

Yandex Images Search

Tool to search Yandex Images for image results with advanced filters.

Yandex Search

Retrieve Yandex Search Results.

YouTube Search

Retrieve YouTube Search Results.

SETUP GUIDE

Connect Serpapi MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["serpapi"],
  mcp: true,
});
Create a session scoped to Serpapi and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Show top Google search results for \"AI research news\"",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Serpapi request
SETUP GUIDE

Connect Serpapi API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["serpapi"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Serpapi
3

Run Serpapi tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Show top Google search results for \"AI research news\"" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Serpapi tool calls through the session, and print the final answer

Why Use Composio?

AI Native Serpapi Integration

  • Supports both Serpapi MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Serpapi data

Managed Auth

  • Built-in API key handling with secure storage
  • Central place to manage, scope, and revoke Serpapi access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Serpapi
  • Scoped, least privilege access to Serpapi resources
  • Full audit trail of agent actions to support review and compliance

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Serpapi.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Serpapi tool your agent needs.Free to start.

Start building