Deepsearch

io.github.CloudCorpRecords由 GitHub 帳號 CloudCorpRecords 發布v0.1.0更新於 Oct 31, 2026

Neural web search, code context, and page crawling through the Exa API.

發布方自己的服務:DeepSearch

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理使用 Exa 進行語意網頁搜尋、取得程式碼脈絡包,並抓取整頁內容。

可以做什麼
  • 以 Exa 搜尋網頁,回傳相符頁面及其正文、標題與出版資訊
  • 針對程式設計問題蒐集程式碼範例與文件摘錄,並依指定的 token 預算裁切
  • 依網址抓取單一頁面的完整正文
  • 三個工具皆支援 1000 至 50000 的 token 預算,空結果或抓取失敗會以工具錯誤回報
適用情境
適合需要最新網路資料、程式設計問題的範例與文件,或已知網址頁面的完整正文時使用,不必自行建置搜尋整合。
執行需求
透過 npx 或 Docker 映像以本機 stdio 程序執行;需要 Exa API 金鑰,放在 EXA_API_KEY 環境變數中,並以 x-api-key 標頭送出;需要連線至 Exa API 的網路;僅限桌面環境。
安裝前請注意
需要 Exa API 金鑰,該金鑰會存於用戶端設定並傳送給 Exa;查詢內容與請求的網址會送往第三方 API,請避免送出機密資料;用量可能由 Exa 依你的帳戶計費。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Deepsearch,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

deepsearch

deepsearch asks Exa's neural index questions the way a researcher would. A plain search returns the pages that best match the meaning of a query, with their text already pulled in. A code question gets a context pack instead: examples and documentation excerpts gathered from across the web and sized to a token budget you choose. And when you already know the page you want, a crawl fetches that one page and hands back its words. It runs from the command line or as an MCP server for agents.

An Exa API key is required. Put it in the EXA_API_KEY environment variable; the key is sent to the API as the x-api-key header and never appears in output. When the variable is missing, every operation fails with an error that names it.

Install

bash
npx @reneturcios/deepsearch search "vector index tradeoffs"

Or run the container image:

bash
docker run -i -e EXA_API_KEY ghcr.io/cloudcorprecords/deepsearch

The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.

CLI

bash
export EXA_API_KEY="your api key"
# Web search; --num-results defaults to 8deepsearch search "ferry electrification programs"deepsearch search "ferry electrification programs" --num-results 5
# Code context; --tokens sets the budget (1000-50000, default 5000)deepsearch code "React useState hook examples" --tokens 3000
# Fetch one page in fulldeepsearch crawl https://example.com/some/articledeepsearch crawl https://example.com/some/article --tokens 2000
# Machine-readable output for any commanddeepsearch search "ferry electrification programs" --json
deepsearch --version

Exit codes: 0 on success, 1 when an operation fails (including a missing EXA_API_KEY or an API error), 2 for usage errors.

MCP server

One bin serves both faces. The mcp subcommand starts a stdio MCP server:

bash
npx -y @reneturcios/deepsearch mcp

MCP client configuration:

json
{  "mcpServers": {    "deepsearch": {      "command": "npx",      "args": ["-y", "@reneturcios/deepsearch", "mcp"],      "env": { "EXA_API_KEY": "your api key" }    }  }}

Tools

These are the original server's default-enabled tools:

ToolInputWhat it returns
web_search_exaquery (string, required), numResults (number, optional, default 8)Matching pages as a numbered text block: title, URL, publication details when known, and the page text the API supplied.
get_code_context_exaquery (string, required), tokensNum (number, optional, 1000–50000, default 5000)Code examples and documentation excerpts for the question, each headed by its source, trimmed to the token budget.
crawling_exaurl (string, required), tokensNum (number, optional, default 5000)The full text of that one page, titled, trimmed to the token budget.

Token budgets are clamped to the documented 1000–50000 range and are applied at roughly four characters per token. An empty result set is reported as such; a page the API cannot fetch, a missing key, or a failed API call is reported as a tool error.

Development

bash
npm installnpm run build   # tsc -> dist/npm test        # node test runner over test/*.test.ts, no network (fake fetch fixtures)npm run dev     # run the CLI from source via tsx

License

MIT — see LICENSE.

來源:README.md,提交 eb25132

工具

3

web_search_exa

Search the web with Exa and return relevant pages with their text content.

輸入參數query必填numResults

get_code_context_exa

Find code examples and documentation for a programming question and return them as context.

輸入參數query必填tokensNum

crawling_exa

Fetch the full text content of a specific web page by URL.

輸入參數url必填tokensNum

版本歷史

1
  1. v0.1.0最新Oct 31, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Deepsearch 整合