xream/scripts · Archived

exa-search

Use this tool when you need up-to-date web search results from Exa MCP. It calls `web_search_exa` over `text/event-stream`, supports optional `exaApiKey`, and returns extracted text content from search results.

First seen Apr 11, 2026

Installation

$ npx skills add xream/scripts --skill exa-search

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from xream/scripts.

npx skills add xream/scripts

Browse all from xream/scripts

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 250
License LICENSE
Default branch main
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents clawdbot

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,612 B
  • docs SUMMARY.md 228 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

Exa Search

通过 Exa MCP (https://mcp.exa.ai/mcp) 执行 websearchexa,并解析 text/event-stream 响应。

环境变量 EXAAPIKEY 可选, 可在 https://dashboard.exa.ai/api-keys 获取

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 搜索类型,默认 auto
  • --num-results <number>: 返回条数,默认 5
  • --livecrawl <value>: 实时抓取策略,默认 fallback
  • --exa-api-key <key>: 可选 API Key;传入后会自动拼接到 URL ?exaApiKey=...
  • --endpoint <url>: 可选 MCP endpoint,默认 https://mcp.exa.ai/mcp
  • --timeout <ms>: 请求超时毫秒,默认 30000
  • --raw: 输出原始 text/event-stream,不做解析

Notes:

  • https://mcp.exa.ai/mcp?exaApiKey=YOUREXAKEY 为可选写法
  • 如果 --endpoint 已包含 exaApiKey,脚本不会重复追加
  • 默认输出会提取 event: messagedata JSON 中 result.content[].text