SuperAPI AI Directory

exa-search

General & other

View repository

Updated 10-16 09:23

About this skill

Exa Search

Execute via Exa MCP (https://mcp.exa.ai/mcp) web_search_exa, and parse text/event-stream response.

Environment variable EXA_API_KEY optional, can be obtained at https://dashboard.exa.ai/api-keys get

Usage

node {baseDir}/scripts/search.mjs "today is 2026-02-09
美国最新娱乐新闻"

node {baseDir}/scripts/search.mjs "美国最新娱乐新闻" --num-results 5 --type auto --livecrawl fallback

node {baseDir}/scripts/search.mjs "美国最新娱乐新闻" --exa-api-key YOUR_EXA_KEY

EXA_API_KEY=YOUR_EXA_KEY node {baseDir}/scripts/search.mjs "美国最新娱乐新闻"

Options

  • --type <value>: Exa search type, default auto
  • --num-results <number>: number of results to return, default 5
  • --livecrawl <value>: real-time fetch strategy, default fallback
  • --exa-api-key <key>: optional API Key; when provided, it will be automatically appended to the URL ?exaApiKey=...
  • --endpoint <url>: optional MCP endpoint, default https://mcp.exa.ai/mcp
  • --timeout <ms>: request timeout in milliseconds, default 30000
  • --raw: output the raw text/event-stream, without parsing

Notes:

  • https://mcp.exa.ai/mcp?exaApiKey=YOUR_EXA_KEY is an optional syntax
  • If --endpoint already contains exaApiKey, the script will not append it again
  • By default, the output extracts event: message the data in the JSON result.content[].text