Snap Router

v1.0.0
io.github.trigeochiral/snap-router Checked 4 days ago Published 3 months ago

Task-to-tool discovery over the merged x402 Bazaar + MCP Registry catalog

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

snap_router Snap Router — task to the right tool

Tool/service DISCOVERY, not execution. Input: an agent task in plain words. Output: a ranked shortlist of x402 services and MCP tools from the merged x402 Bazaar + MCP Registry catalog (16k+ entries) that can do it, each with price and a 'works well with' hint. One vector pass, ~200ms, no LLM call, hybrid keyword-fill so nothing is missed. Call this FIRST, before loading candidate tools into context, whenever you do not already know which tool serves a task. Example task: 'check a Base token for a honeypot before trading'.

ParameterTypeDescription
task *stringthe task, in plain language
kintegerhow many results to return
max_price_usdcnumberdrop results priced above this
registriesarrayrestrict to these catalogs (default: both)