mcp-searchapi
Provides Amazon product search, returning product details such as price, rating, ASIN, and sponsored status.
Provides general web search via Google, returning organic results with source and domain information.
Provides local business and place search via Google Maps, returning address, rating, coordinates, and open state.
Provides recent news search via Google News, returning articles with source and publication date.
Provides academic paper search via Google Scholar, returning publication, authors, and citation counts.
Provides video search via YouTube, returning channel, views, length, and publication time.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-searchapi Find the latest job postings for data scientists"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-searchapi
An MCP server for SearchApi.io. Eight search engines exposed as discrete tools, returning trimmed structured results instead of raw SERP payloads.
npx -y mcp-searchapiWhy this exists
Two SearchApi MCP packages were already on npm when this was written. Both are single-version releases from mid-2025 that have not been updated since, neither has a test suite, and one of them targets SearchAPI**.site**, a different product. So this is not a third copy of the same thing:
One tool per engine, not one search tool with a mode flag. A model picks google_jobs correctly far more often than it picks search(engine="google_jobs"). Every parameter carries a description written as guidance, because those descriptions are the prompt the model actually reads.
Trimmed structured output. SearchApi returns results under a different key per engine (organic_results, local_results, shopping_results, videos, jobs), each with a different field set, and the payloads are large. Measured against live responses on 7 August 2026:
Tool | Raw payload | Returned at | Saved |
| 171,668 B | 2,507 B | 98.5% |
| 117,262 B | 4,391 B | 96.3% |
| 71,607 B | 3,172 B | 95.6% |
| 56,836 B | 3,587 B | 93.7% |
| 86,433 B | 7,772 B | 91.0% |
| 38,176 B | 4,221 B | 88.9% |
| 47,732 B | 7,718 B | 83.8% |
| 19,066 B | 5,813 B | 69.5% |
The percentage matters less than the ceiling: whatever the engine sends back, a page of results stays under 8KB. Handing a model 171KB of ad blocks, favicons and pagination tokens spends its context window on things it will never use.
Every result normalises to a common core (position, title, url, snippet) plus the extras that matter for that engine: price and rating for shopping, coordinates and opening state for maps, company and posting date for jobs, channel and view count for YouTube, citation counts for Scholar.
Related MCP server: evo-scry
Setup
Get a key at searchapi.io. The free tier is 100 searches a month.
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows:
{
"mcpServers": {
"searchapi": {
"command": "npx",
"args": ["-y", "mcp-searchapi"],
"env": { "SEARCHAPI_API_KEY": "your-key" }
}
}
}Cursor
~/.cursor/mcp.json:
{
"mcpServers": {
"searchapi": {
"command": "npx",
"args": ["-y", "mcp-searchapi"],
"env": { "SEARCHAPI_API_KEY": "your-key" }
}
}
}VS Code
.vscode/mcp.json:
{
"servers": {
"searchapi": {
"type": "stdio",
"command": "npx",
"args": ["-y", "mcp-searchapi"],
"env": { "SEARCHAPI_API_KEY": "your-key" }
}
}
}Hosted
SEARCHAPI_API_KEY=your-key npx -y mcp-searchapi --http --port 3000Serves streamable HTTP at /mcp and a health check at /health. Stateless, so it scales horizontally without sticky sessions.
Tools
Tool | Engine | Use it for | Extra fields |
| General questions, fact-checking, finding sources |
| |
| Google News | Recent events, "what's happening with X" |
|
| Google Shopping | Price comparison, product availability |
|
| Google Jobs | Vacancies, hiring, job market |
|
| Google Scholar | Papers, citations, academic sources |
|
| Google Maps | Places, local business, "near me" |
|
| YouTube | Videos, tutorials, talks |
|
| Amazon | Amazon product lookups |
|
Parameters
query is required everywhere. limit (default 10, max 50) caps what comes back to the model. The rest are offered only on the engines that accept them:
Parameter | Meaning | Available on |
| Geo-target as | search, news, shopping, jobs, maps |
| Two-letter country code | search, news, shopping, maps, youtube, amazon |
| Two-letter language code | all except amazon |
| Results to request from the engine | search, news, shopping, scholar |
| Page number, from 1 | all except youtube |
google_jobs deliberately does not offer gl: the API rejects country codes on that engine (gl=ie returns HTTP 400 Unsupported value). Use location instead. Advertising a parameter the API will reject is worse than not having it, because the model has no way to discover the constraint.
Example
google_jobs(query: "backend engineer", location: "Dublin,Ireland", limit: 3){
"engine": "google_jobs",
"query": "backend engineer",
"totalResults": 10,
"results": [
{
"position": 1,
"title": "Backend Engineer",
"url": "https://...",
"company": "Example Ltd",
"location": "Dublin, Ireland",
"via": "LinkedIn",
"postedAt": "2 days ago",
"scheduleType": "Full-time",
"snippet": "..."
}
]
}totalResults reports what the engine returned, not what was kept, so the model can tell there is more available behind a higher limit.
Errors
Failures come back as tool errors with something actionable, not a bare status code:
Condition | Message |
Missing key | Server exits at startup rather than failing on the first call |
401 | Names |
429 | Says quota or rate limit, and notes the free tier is 100/month |
400 | Passes through the API's own message, for example the |
Timeout | Reports the elapsed limit; defaults to 30s |
No results | Not an error. Returns an empty |
Development
npm install
npm test # 77 tests, no network
npm run typecheck
npm run build
SEARCHAPI_API_KEY=... node scripts/smoke.mjs # end-to-end, costs 1 searchTests run against real captured API responses in test/fixtures/, one per engine plus an empty-result case, so they exercise the shapes the API actually returns rather than the shapes it was assumed to return. Nothing in npm test touches the network.
Adding an engine is a data change: append an entry to ENGINES in src/engines.ts with its result key, supported parameters and a normaliser. The server registers tools from that registry.
Licence
MIT
Available Tools
8 toolsamazon_searchamazon_searchA
Search Amazon for products with price, rating, review count and ASIN. Use this for e-commerce product lookups on Amazon specifically.
Inputs: query (required), gl, page, limit.
google_jobsgoogle_jobsA
Search Google Jobs for job listings with company, location and apply links. Use this for any hiring, vacancy or job market question. This engine does not accept a country code. Pass location (for example 'Dublin,Ireland') to geo-target.
Inputs: query (required), hl, page, limit, +1 more.
google_mapsgoogle_mapsA
Search Google Maps for places and local businesses with addresses, ratings, hours and coordinates. Use this for 'near me', 'where can I', or any location-bound question.
Inputs: query (required), gl, hl, page, +2 more.
google_newsgoogle_newsA
Search Google News for recent news articles. Use this instead of google_search when recency matters or the user asks what is happening with a topic.
Inputs: query (required), gl, hl, num, +3 more.
google_scholargoogle_scholarA
Search Google Scholar for academic papers, citations and authors. Use this for research questions where peer-reviewed sources matter.
Inputs: query (required), hl, num, page, +1 more.
google_searchgoogle_searchA
Search Google and return organic web results. Use this for general questions, current events, fact-checking, and finding authoritative pages on any topic.
Inputs: query (required), gl, hl, num, +3 more.
google_shoppinggoogle_shoppingA
Search Google Shopping for products with prices, sellers and ratings. Use this for price comparison and product availability questions.
Inputs: query (required), gl, hl, num, +3 more.
youtube_searchyoutube_searchA
Search YouTube for videos with channel, duration, view count and publish date. Use this when the user wants video content, tutorials or talks.
Inputs: query (required), gl, hl, limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a distinct search vertical (general web, news, shopping, jobs, academic, maps, videos, Amazon). The descriptions clearly specify when to use each, leaving no ambiguity between them.
Most tools follow a 'google_<service>' pattern, but youtube_search and amazon_search use a '<service>_search' pattern, creating a minor inconsistency. The overall style is still readable and predictable.
With 8 tools, the server is well-scoped for a search aggregation service. Each tool covers a major search category without unnecessary redundancy.
The tool surface covers a broad range of search needs: general web, news, shopping, jobs, academic, maps, videos, and e-commerce. For a search-focused server, this is a comprehensive set with no obvious missing core capabilities.
Maintenance
Related MCP Connectors
Web search API and MCP server for developers building AI agents.
Unified 15-tool SEO, SERP, clean Markdown & GEO (LLM citation Share-of-Voice) MCP server.
One MCP server for all web data. Scrape, search, crawl, and AI research in one install.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for using various search tools like Tavily API. Planning to support various search tools (i.e. wiki search, searxng, etc)3MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for internet search via direct Google and DuckDuckGo HTML scraping with AI-powered result normalization and optional summarization, requiring no API keys for search.MIT
- FlicenseAqualityDmaintenanceMCP server that provides a search_web tool to query a self-hosted SearXNG instance and return structured web search results.1-
- AlicenseAqualityDmaintenanceAn MCP server for SearchApi that provides Google web, news, scholar, and YouTube search as agent-ready MCP tools.47 npmMIT