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
Serveurs connexes
Bright Data
sponsorDiscover, extract, and interact with the web - one interface powering automated access across the public internet.
Parallel Task MCP
Perform Deep Research and Batch Tasks
Selenium MCP Server
Control web browsers using the Selenium WebDriver for automation and testing.
scrape-do-mcp
MCP Server for Scrape.do - Web Scraping & Google Search with anti-bot bypass
Booli MCP Server
Access Swedish real estate data from Booli.se through a GraphQL API.
Cloudflare Playwright
Control a browser for web automation tasks like navigation, typing, clicking, and taking screenshots using Playwright on Cloudflare Workers.
Yahoo Finance
Fetch stock data, news, and financial information from Yahoo Finance.
DOMShell
Browse the web with filesystem commands. 38 MCP tools let AI agents ls, cd, grep, click, and type through Chrome via a Chrome Extension.
ElToque MCP Server
Fetches USD and EUR prices from the Cuban parallel market via eltoque.com.
Crawl4AI RAG
Integrates web crawling and Retrieval-Augmented Generation (RAG) into AI agents and coding assistants.
Puppeteer
A server for browser automation using Puppeteer, enabling web scraping, screenshots, and JavaScript execution.