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.
Kakuyomu MCP Server
An MCP server for the Kakuyomu novel posting site, enabling users to search for works, retrieve episode lists, and read content.
Redbook Search & Comment Tool
An automated tool to search notes, analyze content, and post AI-generated comments on Xiaohongshu (Redbook) using Playwright.
BrowserLoop
Take screenshots and read console logs from web pages using Playwright.
brosh
A browser screenshot tool to capture scrolling screenshots of webpages using Playwright, with support for intelligent section identification and multiple output formats.
Scrapfly
Scrapfly MCP Server gives AI agents a simple, unified way to scrape live web data with built-in anti-bot handling.
comet-mcp
Connect Claude Code to Perplexity Comet browser for agentic web browsing, deep research, and real-time task monitoring
Browser MCP
A fast, lightweight MCP server that empowers LLMs with browser automation via Puppeteerโs structured accessibility data, featuring optional vision mode for complex visual understanding and flexible, cross-platform configuration.
YouTube
Fetch YouTube subtitles
Firecrawl
Extract web data with Firecrawl
Simple MCP Tool Server
A simple MCP server that provides a tool for fetching website content using SSE transport.