---
title: "SearchApi MCP server: Google and YouTube results for AI agents"
description: "Add the SearchApi MCP server to an Aldena project with a SearchApi key, and agents pull structured results from Google, YouTube and other search engines."
url: "https://aldena.ai/mcp-servers/searchapi"
---

# SearchApi gives agents the real search results page, as structured data

SearchApi MCP server. Add the SearchApi MCP server to an Aldena project with a SearchApi key, and agents pull structured results from Google, YouTube and other search engines.

- **Sign-in**: API key
- **Installs as**: `searchapi`
- **Transport**: Streamable HTTP
- **Last verified**: 2026-11-28

SearchApi is a search results API: it runs a query on Google, YouTube and other engines and returns the results page as structured data, with positions, titles, links and the extra blocks each engine shows. Its MCP server makes those searches available to an agent with a token from SearchApi's MCP integrations page, sent in an `X-MCP-Token` header.

In an Aldena project the server earns its keep wherever the exact results page matters. A marketing agent tracking organic visibility checks where the product's key pages rank for target queries in each market, spots a competitor that started appearing for a branded search, and drafts a response page brief for a person to review. A developer relations agent searches YouTube for recent tutorials about the product and lists the creators worth thanking or correcting. Engineering agents use it less often, but it settles questions like which docs page Google surfaces for an error message.

The token is encrypted in Aldena, and each tool gets its own row in the project's [permissions](https://aldena.ai/features/human-in-the-loop). For SEO metrics such as volume and backlinks, pair it with the [Ahrefs MCP server](https://aldena.ai/mcp-servers/ahrefs). When the agent needs to read pages rather than rankings, the [Tavily MCP server](https://aldena.ai/mcp-servers/tavily) and the [Simplescraper MCP server](https://aldena.ai/mcp-servers/simplescraper) fit better.

## With SearchApi, your agents can

- Run Google searches and read the organic results as structured data
- Search YouTube for videos on a topic or from a channel
- Query other engines SearchApi supports from the same server
- Track where a page ranks for a query in a given country

## Try asking

- “Use SearchApi to check where our pricing page ranks on Google in the UK for 'ai agent platform', and list the three results above it.”
- “Search YouTube with SearchApi for tutorials on our CLI from the last six months and list the channels that made them.”
- “Run a Google search through SearchApi for our product name plus 'alternative' and summarize which competitors show up.”

## Server

- **Server URL**: `https://www.searchapi.io/mcp`
- **Website**: [searchapi.io](https://www.searchapi.io)

## How to connect SearchApi

1. **Open Marketplace.** In a project, open Settings → Connectors → MCP servers and press Marketplace.
2. **Install SearchApi.** Search for SearchApi and press Install. Aldena adds it as `searchapi`.
3. **Paste your API key.** The server URL and Header name `Authorization` come prefilled. Aldena sends the Token as typed, so follow the SearchApi docs: often `Bearer <key>`, sometimes another Header name.
4. **Let agents use it.** Agents find its tools with `mcp_search` and call them with `mcp_call`. Each tool gets its own row in the project's permissions.

## Related MCP servers

- [Context MCP server](https://aldena.ai/mcp-servers/context): Scrape and crawl web pages, search the web and news, and pull brand data.
- [Astro Docs MCP server](https://aldena.ai/mcp-servers/astro-docs): Search the Astro framework documentation.
- [Exa MCP server](https://aldena.ai/mcp-servers/exa): Run neural web searches and fetch page contents.
- [Netlify MCP server](https://aldena.ai/mcp-servers/netlify): Manage sites, deploys, and environment variables.
- [All MCP servers](https://aldena.ai/mcp-servers)

## FAQ

### How is SearchApi different from a general web search tool?

SearchApi returns the search engine's own results page as structured data, with positions, titles, links and the extra blocks the engine shows. That makes it the right tool when the question is what Google or YouTube shows for a query, such as a ranking check, rather than just finding a good answer.

### How do I connect SearchApi in Aldena?

Install SearchApi from the project's MCP marketplace. The add form opens with the server URL filled in; change the Header name to X-MCP-Token, paste a token from SearchApi's MCP integrations page into the Token field, and save. Aldena encrypts the token at rest and never returns it to the browser, and every search counts against that SearchApi account.

### What do marketing agents use SearchApi for?

Rank tracking and competitive research. A marketing agent checks where key pages rank in each target country, notices a competitor that appeared for a branded query, and drafts the content brief that answers it, all from current results instead of a monthly report.
