Snap Router

السجل الرسمي الإنتاجية

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

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

PYPI package snap-router-mcp
Claude Code
claude mcp add snap-router -e 'SNAP_API=https://trigeochiral.com' -e 'SNAP_XPAYMENT=<your snap_xpayment>' -- uvx snap-router-mcp==1.0.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "snap-router": {
            "command": "uvx",
            "args": [
                "snap-router-mcp==1.0.0"
            ],
            "env": {
                "SNAP_API": "https://trigeochiral.com",
                "SNAP_XPAYMENT": "<your snap_xpayment>"
            }
        }
    }
}

متغيرات البيئة

  • SNAP_API إلزامي Base URL of the hosted Snap Router API (default https://trigeochiral.com)
  • SNAP_XPAYMENT سري Optional base64 x402 X-PAYMENT payload for paid calls past the free tier

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Snap Router — MCP server
  2. Tool
  3. Why
  4. Install
  5. Direct HTTP (no MCP)
  6. License

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

الأسئلة الشائعة

ما هو Snap Router؟

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

كيف أثبّت Snap Router؟

يعمل على جهازك. في Claude Code: claude mcp add snap-router -e 'SNAP_API=https://trigeochiral.com' -e 'SNAP_XPAYMENT=<your snap_xpayment>' -- uvx snap-router-mcp==1.0.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Snap Router إلى مفتاح API؟

نعم. يتطلب SNAP_API, SNAP_XPAYMENT، وتضبطها في إعداداته.

هل Snap Router مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون Snap Router؟

ينشره trigeochiral. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.