Searchapi Mcp Server

io.github.AhmednshPublished by GitHub account Ahmednshv1.0.2Updated Oct 24, 2026

Google Search, Shopping, Jobs, and YouTube tools backed by SearchApi.io

The publisher's own server: Searchapi

Overview

AI-generated overview

A local MCP server that gives an assistant Google Search, Shopping, Jobs and YouTube search results via SearchApi.io, returned as compact text for LLM context.

What you can do
Run Google web searches with country and language options, with answer boxes, knowledge graph and AI overviews placed before organic results when available. Look up Google Shopping products with prices, sellers, ratings and return policies. Find Google Jobs listings by query and location, with HTML-stripped descriptions. Search YouTube for videos with channel, view count, duration and publish age.
When to use it
Use it when an assistant needs current web, product, job or video results from Google and you want the output already shaped for a model's context rather than raw JSON. Useful for research, price comparison, job hunting and video discovery tasks.
Requirements
Runs locally over stdio, typically launched with npx from the npm package, so Node.js is needed. Requires a SearchApi.io account and an API key supplied in the SEARCHAPI_API_KEY environment variable. Network access to SearchApi.io is required.
Before you install
The SearchApi.io API key is a secret passed in SEARCHAPI_API_KEY; keep it out of shared config files. SearchApi.io is a paid third-party service, so queries may consume plan credits or incur charges. Queries and search terms are sent to SearchApi.io. The project is community-made and not affiliated with SearchApi.io.

Installation

In SourceWeft

  1. Open Searchapi Mcp Server in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

searchapi-mcp-server

[CI]

bash
npx @ahmednsh/searchapi-mcp-server

MCP server exposing SearchApi.io as four tools: Google Search, Google Shopping, Google Jobs, and YouTube Search. Results come back as compact structured text built for an LLM context — direct answers first, no raw JSON.

Community project — not affiliated with or endorsed by SearchApi.io. "SearchApi" is a trademark of its respective owner.

Claude Desktop setup

Get an API key at searchapi.io, then add the server to claude_desktop_config.json (%AppData%\Claude\ on Windows, ~/Library/Application Support/Claude/ on macOS):

json
{  "mcpServers": {    "searchapi": {      "command": "npx",      "args": ["-y", "@ahmednsh/searchapi-mcp-server"],      "env": {        "SEARCHAPI_API_KEY": "your-api-key"      }    }  }}

Restart Claude Desktop. The four tools appear under the "searchapi" server.

Tools

google_search

q (required), num (1–20, default 10), gl (country code, e.g. sa), hl (language code, e.g. ar).

Direct-answer features (answer box, knowledge graph, AI overview) are placed before the organic results whenever Google returns them:

Search results for "capital of Saudi Arabia":
---
[Answer box]Saudi Arabia Capital: Riyadh
---
1. Riyadh   https://en.wikipedia.org/wiki/Riyadh   Riyadh is the capital and largest city of Saudi Arabia. It is also the capital of the Riyadh Province and the centre of the Riyadh Governorate.2. Riyadh | Population, Climate, Map, History, & Facts   https://www.britannica.com/place/Riyadh   Riyadh is Saudi Arabia's capital and largest city. It became the capital of the Saud dynasty in 1824 and, except for a brief period in the ...

google_shopping

q (required), gl (country code), include_links (boolean, default false).

Shopping results for "wireless mouse" (showing 10 of 40):
1. Logitech M220 Silent Wireless Mouse   $13.83 — Walmart — 4.8★ (44,000 reviews)   Free 90-day returns2. Logitech G305 Lightspeed Wireless Gaming Mouse   $29.99 — Target — 4.6★ (8,100 reviews)   30-day returns

google_jobs

q (required), location (e.g. "Riyadh, Saudi Arabia").

Job results for "software engineer" in "Riyadh, Saudi Arabia":
1. Senior Software Engineer - Backend — Delivery Hero   Riyadh Saudi Arabia · via Delivery Hero   No degree mentioned   Apply: https://careers.deliveryhero.com/job/senior-software-engineer-backend-in-riyadh-saudi-arabia-jid-7417   About the opportunity We are looking for a highly talented Senior Backend Engineer to join our Riyadh office. If you are looking for a place where ...

youtube_search

q (required).

YouTube results for "model context protocol tutorial":
1. Model Context Protocol Clearly Explained | MCP Beyond the Hype   https://www.youtube.com/watch?v=tzrwxLNHtRY   codebasics ✓ — 557,404 views — 15:04 — 1 year ago   This video contains a very simple explanation of MCP, also known as Model Context Protocol. We will first understand what ...2. What is MCP? Integrate AI Agents with Databases & APIs   https://www.youtube.com/watch?v=eur8dUO9mvE   IBM Technology ✓ — 684,035 views — 3:46 — 1 year ago   Dive into the world of Model Context Protocol and learn how to seamlessly connect AI agents to databases, APIs, and more.

For developers

  • Error semantics: tool execution failures (missing/invalid key, HTTP 429/4xx/5xx, network errors) return a readable message with isError: true, so clients and models can distinguish a failed call from search content. "No results" is deliberately not an error — an empty search succeeded, and the message tells the model to change keywords instead of retrying.
  • include_links on google_shopping is off by default because Google Shopping product links are ~500-character tracking URLs pointing back at Google, not at the merchant; the seller name is shown instead. Set include_links: true if you need them.
  • Output caps: at most 10 results per call (the header says showing 10 of N when truncated); job descriptions are stripped of HTML and cut at 250 characters.
  • Layout: src/index.ts registers the tools and talks to SearchApi; src/format.ts holds the pure response-to-text formatters, unit-tested in src/format.test.ts (npm test).

Development

bash
git clone https://github.com/Ahmednsh/searchapi-mcp-server.git && cd searchapi-mcp-server && npm install && npm run build
bash
npm test

License

MIT

Source: README.md at commit 6625a1d

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.2LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Searchapi integrations