# Search api — MCP server on mcp.ai > Connect your Search api account and use 5 tools for developer tools straight from your AI agent. Connect with your own API key. Your real-time SERP API solution. Mastering proxy management, CAPTCHAs, and JSON parsing for seamless web data extraction. By: mcp.ai · official Page: https://mcp.ai/search_api ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_search_api?ms=1787295960000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/search_api/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/search_api/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/search_api/skill.md Postman collection (v2.1): https://mcp.ai/search_api/postman.json ## Tools - search_api_get_account_info(zero_retention?: boolean) — Tool to retrieve account usage statistics including monthly usage, remaining credits, hourly limits, and subscription period information. Use when you need to check current account status or usage lim - search_api_get_cached_search_by_id(search_id: string) — Tool to retrieve cached search results by search ID in JSON format. Use when you need to access previously executed search results without re-running the query. The search ID is found in the search_me - search_api_get_cached_search_html_by_id(search_id: string) — Tool to retrieve cached search results by search ID in HTML format. Use when you need to access the raw HTML snapshot of a previous search execution. The search ID is available in the search_metadata. - search_api_get_locations(q: string, limit?: integer, zero_retention?: boolean) — Tool to get available locations for geo-localized search queries. Use when you need to find location identifiers for targeting Google searches to specific geographic areas. Returns location metadata i - search_api_search(q: string, cr?: string, gl?: string, hl?: string, lr?: string, num?: integer, nfpr?: integer, page?: integer, safe?: string, uule?: string, kgmid?: string, device?: string, engine: string, filter?: integer, location?: string, time_period?: string, google_domain?: string, zero_retention?: boolean, time_period_max?: string, time_period_min?: string, optimization_strategy?: string) — Tool to perform unified search across 40+ search engines including Google, Bing, Yahoo, DuckDuckGo, YouTube, Amazon, and more. Use when you need to retrieve search results with rich structured data in ## Example prompts - "What can I do in Search api?" - "Show me a summary of my Search api account" ## Links Docs: https://mcp.ai/docs/mcps/search_api Website: https://mcp.ai/mcps/search_api