SearchMCP
Connect any LLM to the internet with the cheapest, most reliable, and developer-friendly search API.
@searchmcp/client
Thin TypeScript/JavaScript SDK for the SearchMCP API.
Generated from the OpenAPI spec using typescript-fetch.
Supports REST (/v1/search) endpoint.
Includes full type definitions out of the box.
Pre-Installation
Checkout
- 📚 SearchMCP Docs
- 🔎 SearchMCP API Reference
Installation
npm install @searchmcp/client
or
pnpm add @searchmcp/client
or
yarn add @searchmcp/client
Requires Node.js 18+ (native fetch).
Usage
import {createClient} from "@searchmcp/client";
const client = createClient(process.env.SEARCHMCP_API_KEY);
// Simple web search const res = await client.search({ query: "latest GPU deals", country: "US", numberOfResults: 5, });
console.log(res.status); // "SUCCESS" console.log(res.results); // array of results
Client Factory
import {createClient, SearchMCPClient} from "@searchmcp/client";
const client: SearchMCPClient = createClient("smcp_123", "https://api.searchmcp.io");
apiKey— requiredbasePath— defaults tohttps://api.searchmcp.io
Schemas & Types
All request/response schemas and types are generated from the OpenAPI spec and exported:
import { SearchRequest, SearchResponse, SearchStatus, } from "@searchmcp/client";
See the interactive API Reference for details:
- SearchRequest model
- SearchResponse model
Development
pnpm install pnpm generate # re-generate from OpenAPI spec pnpm build
License
MIT — see LICENSE
Related Servers
Bright Data
sponsorDiscover, extract, and interact with the web - one interface powering automated access across the public internet.
MCP Go Colly Crawler
A web crawling framework that integrates the Model Context Protocol (MCP) with the Colly web scraping library.
UseScraper
A server for web scraping using the UseScraper API.
SnapSender
Capture any website as PNG, JPEG, WebP, or PDF with a single tool call.
medical-mcp
About An MCP server that provides comprehensive medical information by querying multiple authoritative medical APIs including FDA, WHO, PubMed, Google Scholar, and RxNorm.
Oxylabs
Scrape websites with Oxylabs Web API, supporting dynamic rendering and parsing for structured data extraction.
VLR MCP
MCP server for accessing VLR.gg VALORANT esports data
BrowserCat MCP Server
Remote browser automation using the BrowserCat API.
yt-dlp
Download video and audio content from various websites like YouTube, Facebook, and Tiktok using yt-dlp.
Outscraper
Access Outscraper's data extraction services for business intelligence, location data, reviews, and contact information from various online platforms.
just-every/mcp-screenshot-website-fast
High-quality screenshot capture optimized for Claude Vision API. Automatically tiles full pages into 1072x1072 chunks (1.15 megapixels) with configurable viewports and wait strategies for dynamic content.