mcpField
S
Snap Router

Snap Router

Local
trigeochiral.comAI & Agents0Updated 8w ago

About Snap Router

Snap Router is an MCP server for agents that finds and ranks tools suited to a task across a combined x402 Bazaar and MCP Registry catalog. It performs retrieval in one pass without an LLM call.

Key features

  1. 01Task-based tool discovery
  2. 02Ranked x402 and MCP tool results
  3. 03Search across merged catalogs
  4. 04Single-pass retrieval without an LLM call

Use cases

  1. 01Find tools for an agent's task
  2. 02Search x402 and MCP catalogs together

MCP support

Exposes the `snap_router` tool to MCP clients, returning ranked x402 and MCP tools relevant to a task.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"trigeochiral-snap-router": {
"command": "uvx",
"args": [
"snap-router-mcp"
],
"env": {
"SNAP_API": "<SNAP_API>",
"SNAP_XPAYMENT": "<SNAP_XPAYMENT>"
}
}
}
}
Run commanduvx snap-router-mcp
Environment variables to set
SNAP_APIBase URL of the hosted Snap Router API (default https://trigeochiral.com)
SNAP_XPAYMENTSecretOptional base64 x402 X-PAYMENT payload for paid calls past the free tier

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypisnap-router-mcp1.0.0

Tools

1

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
kintegerNohow many results to return
taskstringYesthe task, in plain language
registriesarrayNorestrict to these catalogs (default: both)
max_price_usdcnumberNodrop results priced above this

Details

From the project README

Snap Router — MCP server

Task-to-tool discovery for AI agents, pay-per-call in USDC on Base (x402), free tier, no signup.

Hosted API: https://trigeochiral.com — set it as SNAP_API.

Tool

ToolWhat
snap_routerYour task → the ranked x402 / MCP tools that serve it, over the merged x402 Bazaar + MCP Registry catalog (16k+). One pass, ~200ms, no LLM call. $0.003

Why

Past ~2,000 tools, semantic retrieval beats keyword and beats long-context. Coinbase's Bazaar /ask is LLM-ranked (a model call on every task); 402index falls back to keyword-only when its embedding service times out. Snap Router has neither hole.

Install

pip install snap-router-mcp
claude mcp add snap-router --env SNAP_API=https://trigeochiral.com -- snap-router-mcp

or with uvx (no install):

claude mcp add snap-router --env SNAP_API=https://trigeochiral.com -- uvx snap-router-mcp

Optional: SNAP_XPAYMENT = a base64 x402 X-PAYMENT payload, to make paid calls past the free tier. Without it you get 25 free calls/day per IP.

Direct HTTP (no MCP)

curl -sX POST https://trigeochiral.com/v1/snap -H 'content-type: application/json' \
  -d '{"task":"check a base token for honeypot before trading","k":4}'

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.