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
Servidores relacionados
Bright Data
patrocinadorDiscover, extract, and interact with the web - one interface powering automated access across the public internet.
Playwright MCP
Control a browser for automation and web scraping tasks using Playwright.
Feed
A server for fetching and parsing RSS, Atom, and JSON feeds.
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.
HTML to Markdown MCP
Fetch web pages and convert HTML to clean, formatted Markdown. Handles large pages with automatic file saving to bypass token limits.
Claimify
Extracts factual claims from text using the Claimify methodology. Requires an OpenAI API key.
Puppeteer Real Browser
Enables powerful, detection-resistant browser automation for AI assistants using puppeteer-real-browser.
Internet-Names-MCP
Check availability of domain names, social media handles and subreddits
yt-dlp
Download video and audio content from various websites like YouTube, Facebook, and Tiktok using yt-dlp.
Browser Use
Enables AI agents to control web browsers using natural language commands.