Searchapi MCP Server logo

Searchapi MCP Server

Search Google, Shopping, Jobs, and YouTube through SearchApi.io using structured MCP tool responses.

Install Searchapi MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "searchapi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ahmednsh/searchapi-mcp-server"
      ],
      "env": {
        "SEARCHAPI_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 4 tools correctly ().

Overview

The searchapi-mcp-server MCP server exposes SearchApi.io through four MCP tools for Google Search, Shopping, Jobs, and YouTube Search. It runs through npx, uses a SearchApi.io API key, and returns compact structured text rather than raw JSON. Search results prioritize direct-answer content when available, while shopping, job, and video results use specialized formats. Reach for it when an agent needs web, product, employment, or YouTube search without implementing SearchApi.io calls directly.

Use cases

  • Search Google for direct answers and web results
  • Compare products from Google Shopping
  • Find jobs by role and location
  • Search YouTube videos for a topic

Key features

  • Google web search
  • Google Shopping search
  • Google Jobs search
  • YouTube search
  • Structured text output
  • Explicit MCP error semantics

Tools4

What Searchapi MCP Server lets your agent do. Expand a tool for its parameters.

Verified live~493 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 83d

What it can do

From the 4 tools this server returned when we ran it.

Read-only tools · 4
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age61 days
Maintainers1

Observed 2026-11-06 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · @ahmednsh/searchapi-mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads234Package downloads in the last 30 days.
Last commit2mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed4Callable tools this server registers over MCP.

How Searchapi MCP Server works

What the searchapi-mcp-server MCP server does

The searchapi-mcp-server MCP server connects an MCP-compatible client to SearchApi.io and exposes four search operations: Google Search, Google Shopping, Google Jobs, and YouTube Search. It is a community project and is not affiliated with or endorsed by SearchApi.io.

Responses are formatted as compact text for model context. Google Search places available answer boxes, knowledge graphs, and AI overviews before organic links. Shopping results include product names, prices, sellers, ratings, and return information when supplied by the upstream service. Job results include the position, employer, location, source, application link, and a shortened description. YouTube results include titles, URLs, channels, view counts, durations, dates, and descriptions when available.

How it works

The package starts as an npx command and registers the four tools with the connected MCP client. Each tool sends its request to SearchApi.io, then converts the response into readable structured text. Raw JSON is not returned to the model.

Google Search requires q and accepts num, gl, and hl. The result count can range from 1 to 20, although the server caps output at 10 results per call. Shopping requires q and supports a country code plus an include_links option. Jobs requires a query and location, while YouTube Search requires only a query.

Tool failures, including missing or invalid credentials, rate limits, HTTP errors, and network problems, return readable error text with isError: true. An empty search is treated as a successful call rather than an execution error, with guidance to revise the search terms.

Setup and configuration

Install or run the searchapi-mcp-server MCP server with:

Terminal
npx -y @ahmednsh/searchapi-mcp-server

Create an API key at SearchApi.io and provide it through the SEARCHAPI_API_KEY environment variable. For Claude Desktop, add the package as an MCP server in claude_desktop_config.json, using npx as the command and the package name as an argument. The configuration places the key in the server's env object. Restart Claude Desktop after saving the file so the tools are registered.

For local development, clone the repository, run npm install, build with npm run build, and execute tests with npm test.

Tools and capabilities

  • google_search: Search Google with query, result-count, country, and language parameters.
  • google_shopping: Find products and optionally include Google-provided product links.
  • google_jobs: Search job listings by query and location.
  • youtube_search: Find YouTube videos by query.
  • Structured text formatting designed for LLM context.
  • Direct-answer content before organic Google results when returned by Google.

Limitations and notes

The server returns no more than 10 results per call. Job descriptions are stripped of HTML and truncated to 250 characters. Shopping links are excluded by default because they are typically long Google tracking URLs rather than direct merchant links; set include_links to true when those URLs are needed.

The project is licensed under MIT. SearchApi.io access, quotas, rate limits, and the quality of returned search data depend on the upstream service and are not replaced by this package.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Searchapi MCP Server

searchapi-mcp-server is an MCP server that connects AI clients to SearchApi.io and exposes four tools: Google Search, Google Shopping, Google Jobs, and YouTube Search. It runs through npx, authenticates with SEARCHAPI_API_KEY, and returns compact structured text instead of raw JSON for model context.

Run `npx -y @ahmednsh/searchapi-mcp-server` to start it. Set `SEARCHAPI_API_KEY` with an API key from SearchApi.io, then add the command and package argument to your MCP client's configuration.

Yes, searchapi-mcp-server works with Claude Desktop through its standard MCP configuration. Add an entry that runs `npx` with `-y @ahmednsh/searchapi-mcp-server`, provide `SEARCHAPI_API_KEY` in the environment, and restart Claude Desktop.

It provides `google_search`, `google_shopping`, `google_jobs`, and `youtube_search`. The tools cover Google web results, product listings, job listings, and YouTube videos, with parameters appropriate to each search type.

Yes, set `include_links` to `true` for `google_shopping`. The option defaults to `false` because the returned links are generally long Google tracking URLs rather than direct merchant URLs.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSearchapi MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/searchapi-mcp-server?style=directory)](https://allmcps.com/mcp/searchapi-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/searchapi-mcp-server"><img src="https://allmcps.com/api/badge/searchapi-mcp-server?style=directory" alt="Searchapi MCP Server on AllMCPs" /></a>