genesis-web-override

Reviewed at commit a317ac0

Sends data to The search services of your Genesis server (such as Brave, Tavily, Exa or Perplexity)

Answers Claude Code's built-in WebSearch with Genesis's web_search chain, falling back to the built-in on any failure. Needs…

Made by
WingedGuardian
What we checked

When Claude uses its built-in web search, sends the query to the web_search tool of your own Genesis MCP server (genesis-health) and gives Claude those results in place of the built-in search. Genesis then sends the query on to whichever search services it is set up with. If Genesis is unavailable, returns an error or no results, or the search is limited to certain domains, the normal built-in search runs instead. It reads no files, runs no programs, stores nothing and only writes short log lines about which search answered.

Review details

Static review of the source at the pinned commit; not run. The plugin is three files: .claude-plugin/plugin.json, hooks/hooks.json (modules: ./register.js) and hooks/register.js, with no imports. It registers one handler, tool.call filtered to the WebSearch tool. When allowed_domains or blocked_domains is set, it calls next(e) and the built-in search runs. Otherwise it calls $.mcp.call('genesis-health', 'web_search', { query }), joins the text blocks of the reply and JSON-parses them. It keeps only results with a non-empty url, taking string title and snippet, and returns { result } shaped like WebSearch output: a links block with tool_use_id genesis-web-search-1, then a text block whose header marks titles, URLs and snippets as external content, not instructions. An optional backend summary is included. A thrown MCP call, isError, non-JSON text, a non-object, an error field or zero results all fall back to next(e). The only other runtime call is $.ui.log, wrapped in try/catch. The MCP call has no timeout of its own, so a stalled Genesis server stalls the search. The repository's own docs say that an answered call skips the built-in WebSearch permission check and its PreToolUse hooks and per-session cap. The permission check runs on mcp__genesis-health__web_search instead. Per the description it needs CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1. The plugin ships no .mcp.json and no MCP server: it depends on a genesis-health server the user has already configured (part of the GENesis-AGI project). Without it, every search falls back to the built-in. No fetch, no eval, no remote code, no file, environment-variable or credential access.

What it uses
  • Reads your prompts: no
  • Sees tool calls: yes
  • Blocks or changes tool calls: yes
  • Reads or writes files: no
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: yes
  • Stores data: no
  • Shows something on screen: no
Hooked events
Screenshot of genesis-web-override

Answers Claude Code's built-in WebSearch with Genesis's web_search chain, falling back to the built-in on any failure. Needs CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1.

Made this mod? Add a badge to your README

modsforClaude badge for genesis-web-override

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/genesis-web-override.svg)](https://modsforclaude.com/mods/genesis-web-override/)

← All mods