SearchApi MCP server for AI agents

Live

BEARER TOKEN

SEARCH

Search

SearchApi gives your agent real time search data through your SearchApi account: query Google, Bing, YouTube, Amazon, Maps, News, Scholar, Trends, and more, and get results back as structured JSON.

  • Per-user credentials: each call uses the actual user's access token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
SearchApi
agent · Acme Q3
Run
What are people searching for about electric bikes right now?
S
searchapi_google_trends_trending_now_list
1130ms
Search agent
I found 20 trending searches for the selected country. 3 of them mention electric bikes.
Sources: SearchApi Google Trends, 20 results
searchapi
20 searches
18:29
Message Claude...

Tools your search agent reaches for on SearchApi, scoped per user.

CALL ANY TOOL
60 tools for search data in SearchApi: query Google, Bing, YouTube, Amazon, Maps, News, Scholar, Trends, and more, read AI answers, and get structured results.
searchapi_account_get
Get account
Get your SearchApi account's usage for the month. Returns current_month_usage, monthly_allowance, remaining_credits and remaining_searches. Use this to check remaining searches before large jobs.
Parameters
Name
Type
Required
Description
—
No parameters required
searchapi_amazon_search
Search amazon
searchapi_baidu_search
Search baidu
searchapi_bing_news_search
Search bing news
searchapi_chatgpt_search
Search chatgpt
searchapi_ebay_search
Search ebay
searchapi_google_ai_mode_search
Search google ai mode
searchapi_google_ai_overview_get
Get google ai overview
searchapi_google_autocomplete
Google autocomplete
searchapi_google_events_search
Search google events
searchapi_google_forums_search
Search google forums
searchapi_google_hotels_property_get
Get google hotels property
searchapi_google_images_search
Search google images
searchapi_google_lens_search
Search google lens
searchapi_google_maps_place_get
Get google maps place
searchapi_google_maps_reviews_list
List google maps reviews
searchapi_google_news_search
Search google news
searchapi_google_play_store_search
Search google play store
searchapi_google_product_get
Get google product
searchapi_google_scholar_author_get
Get google scholar author
searchapi_google_scholar_search
Search google scholar
searchapi_google_shopping_search
Search google shopping
searchapi_google_trends_get
Get google trends
searchapi_google_trends_trending_now_list
List google trends trending now
searchapi_indeed_jobs_search
Search indeed jobs
searchapi_locations_search
Search locations
searchapi_perplexity_search
Search perplexity
searchapi_tripadvisor_search
Search tripadvisor
searchapi_yandex_search
Search yandex
searchapi_youtube_transcript_get
Get youtube transcript

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// SearchApi tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["searchapi"], toolNames: [
    "searchapi_google_search",
    "searchapi_google_news_search",
    "searchapi_youtube_search"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Search Google for this topic, then pull recent news and YouTube videos about it" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["searchapi"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Search Google for this topic, then pull recent news and YouTube videos about it" }],
  tools,
});

// Execute the tool call with the user's vaulted SearchApi access token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["searchapi"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Search Google for this topic, then pull recent news and YouTube videos about it" }],
  tools,
});

// Tool call runs with the user's vaulted SearchApi access token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["searchapi"] }, pageSize: 100,
});

const agent = new Agent({
  name: "search_agent",
  model: "gemini-2.5-pro",
  instruction: "SearchApi tools scoped to this user",
  tools,
});

await agent.run("Search Google for this topic, then pull recent news and YouTube videos about it");
Try these prompts
Copy any prompt into your agent. Each maps directly to a SearchApi tool. Click to copy, paste into your agent, done.
Web and news
Copy the prompt
Copied
Search Google for this query.
Copy the prompt
Copied
Find recent Google News articles about this company.
Copy the prompt
Copied
Search Bing for this topic.
Shopping and places
Copy the prompt
Copied
Search Amazon for standing desks.
Copy the prompt
Copied
Find coffee shops near this address on Google Maps.
Copy the prompt
Copied
Get the reviews for this Google Maps place.
Research and trends
Copy the prompt
Copied
Search Google Scholar for papers on this topic.
Copy the prompt
Copied
Get Google Trends interest over time for these 3 queries.
Copy the prompt
Copied
Get the transcript of this YouTube video.
SEE HOW AUTH WORKS
Each user connects their own SearchApi access token once, and Scalekit sends it with every call. Access tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
SearchApi
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
SearchApi
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
SearchApi
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
SearchApi
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other search and analytics connectors.
GTM and RevOps Teams
Competitive intelligence briefing agent
Scans Gong calls for competitor mentions, matches each one to its Notion battlecard, and DMs every affected rep a single Slack digest per cycle. Every call runs as the PMM who owns the briefing, never a shared bot.
GTM and RevOps Teams
Outbound prospecting agent
Searches Apollo for prospects matching your ICP, scores and ranks them, drafts personalized outreach in Gmail, and logs every send to Google Sheets. Mail goes out as the rep, not from a shared inbox.
Test other agents
See the same per-user auth pattern across other search and analytics connectors.
GTM
Competitive intelligence briefing agent
Scan Gong calls for competitor mentions, match each one to its Notion battlecard, and DM every affected rep a single Slack digest.
SALES
Outbound prospecting agent
Search Apollo for ICP matches, rank them, draft personalised Gmail outreach, and log every send to Google Sheets.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared SearchApi access token looks fine in a demo. In production every search looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
SearchApi today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access SearchApi as the user or through a shared key?
As the user. Each user connects their own SearchApi access token once, and Scalekit sends it with every call. Audit logs attribute every search to that user, not a shared service account.
Where is the SearchApi access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in SearchApi?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the Google and Bing search tools without the Meta Ad Library search. All 60 tools are read-only, and Scalekit also enforces scope checks before every API call.
What happens when a user revokes SearchApi access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
How does the agent check SearchApi usage?
searchapi_account_get returns the account's usage for the month, so the agent can check it before a large batch of searches.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""searchapi"": {
""url"": ""https://mcp.scalekit.com/searchapi"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.searchapi]
url = ""https://mcp.scalekit.com/searchapi""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""searchapi"": {
""url"": ""https://mcp.scalekit.com/searchapi"",
""type"": ""http""
}
}
}