Add serpdive extension#6925
Conversation
|
We require contributors to sign our Contributor License Agreement, and we don't have @edendalexis on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'. |
|
We require contributors to sign our Contributor License Agreement, and we don't have @edendalexis on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'. |
|
@cla-bot check |
|
The cla-bot has been summoned, and re-checked this pull request! |
|
Update while this is open: SERPdive now has a free tier, which changes the calculus for this integration.
Why it matters here: the usual objection to adding a search provider is that reviewers and users need a paid key just to try it. That objection is gone — anyone can run this integration end to end for free, including whoever reviews this PR. Nothing in this PR needs to change for that: the default stays |
Adds SERPdive as a context server extension: web search for AI agents that returns the extracted, answer-ready content of each source page instead of a list of links, cleaned and sized for a context window. It wraps the
serpdive-mcpnpm package over stdio, in the same shape as the existingmcp-server-tavilyextension.Measured, not asserted: on a public, replayable 1,000-question benchmark judged blind by an independent model, SERPdive runs at the same speed as Tavily, feeds the LLM 20.2% fewer tokens, and wins 60.7% of decided quality duels against Tavily's default search — methodology and per-question results at https://github.com/edendalexis/serpdive-benchmark.
Extension repository: https://github.com/serpdive/zed-serpdive-mcp (MIT). One tool,
serpdive_search, with two retrieval depths (fast key sentences, or full page content) and an optional written answer built from the sources. Free tier: 1,000 credits/month, no card.Tested locally as a dev extension, per CONTRIBUTING:
wasm32-wasip2(the target this repo's CI uses) with Rust 1.97.context_server_command, installedserpdive-mcp@0.1.5into the extension work directory, and started the server —node .../extensions/work/serpdive/node_modules/serpdive-mcp/bin/serpdive-mcp.jswas running with the key from settings.initializereturns the server info,tools/listreturnsserpdive_search.In this repo:
pnpm sort-extensions(bothextensions.tomland.gitmodulesare sorted and the sorter is a no-op on re-run),pnpm build, andpnpm test(111 tests) all pass locally.A key is created at https://serpdive.com/dashboard/keys and the free tier needs no card.