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
相关服务器
Bright Data
赞助Discover, extract, and interact with the web - one interface powering automated access across the public internet.
Outscraper
Access Outscraper's data extraction services for business intelligence, location data, reviews, and contact information from various online platforms.
Puppeteer
Provides browser automation using Puppeteer, enabling interaction with web pages, taking screenshots, and executing JavaScript.
MyBrowserAPI
A browser API for interacting with web services like X, Reddit, ChatGPT, and WhatsApp using Puppeteer.
MCP Webscan Server
Fetch, analyze, and extract information from web pages.
Web Scout
A server for web scraping, searching, and analysis using multiple engines and APIs.
Chrome Debug
Automate Chrome via its debugging port with session persistence. Requires Chrome to be started with remote debugging enabled.
Clawpage
Extract and structure any web page into clean JSON.
Steel Puppeteer
Provides browser automation capabilities using Puppeteer and Steel, configurable for local or cloud instances.
Tech Collector MCP
Collects and summarizes technical articles from sources like Qiita, Dev.to, NewsAPI, and Hacker News using the Gemini API.
Web Search
Performs web searches and extracts full page content from search results.