Swervie

io.github.Swervie由 GitHub 账号 Swervie 发布v1.6.0更新于 Oct 29, 2026

Cross-retailer product catalog: one scored answer per product with live prices and buy links.

已验证Streamable HTTP可网页运行网页搜索与抓取商业与电商

概览

AI 生成的概览

Swervie 是一个跨零售商商品目录,让助手用一份整合、评分的商品答案回答购物查询,并附实时价格和购买链接。

可以做什么
  • 用自由文本购物查询搜索商品,可解析为具体商品、对比或带约束筛选与偏好排序的品类货架
  • 查找匹配的品类及其筛选契约,再按显式筛选和偏好浏览该品类的排名货架
  • 按名称、ASIN、UPC/EAN/GTIN 或品牌加型号查询单个商品
  • 获取最多 25 个商品的完整详情:全部规格及来源、带原文引用的评论子评分,以及每个卖家报价
  • 每条结果附带解读回执,说明查询如何被理解,以及哪些购物用词没有对应筛选
适用场景
适合助手回答跨零售商的产品调研或购买意向问题:比较型号、核对价格与卖家,或按规格和预算缩小品类范围。适用于希望获得结构化、预计算目录数据而非抓取列表的购物助手和智能体平台。
运行要求
需要一个远程 Streamable HTTP 端点;无需认证、API 密钥或请求头。可选提供 user_signature 以获得按用户区分的限流配额。匿名额度为每客户端每分钟 60 次、每天 2,000 次。
安装前请注意
购买链接为联盟链接,响应中会附带佣金披露;购买流程交由零售商页面完成。服务器会按调用记录工具名、查询、品类和商品 ID,以及存在时的签名。可选的 user_signature 应为哈希后的假名标识,切勿发送原始邮箱或电话号码。所有工具均为只读。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Swervie,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.Swervie%2Fswervie/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "swervie": {
      "type": "http",
      "url": "https://us-central1-swervie-prod.cloudfunctions.net/mcp"
    }
  }
}

README

[Swervie]

Swervie MCP server

One scored answer per product, across every retailer, for AI agents.
Remote MCP server · Streamable HTTP · no auth · no API key · free

Developer docs · Tool reference · Connect a client · Response shapes · Data handling


https://us-central1-swervie-prod.cloudfunctions.net/mcp

Swervie is a cross-retailer product catalog built for assistants. Ask a normal shopping question and get one consolidated, scored answer per product: live prices, comparable specifications, review-derived ratings with verbatim evidence quotes, and a buy link for every seller. Instead of eight duplicate listings and a stale listicle.

  • Consolidated. Listings of the same product across retailers collapse into one row. White-label clones sold under different brands are grouped too.
  • Structured. Every category has its own spec schema; specs are extracted from manufacturer pages, retailer listings and spec tables, with provenance.
  • Scored. Each product carries a quality score and a value score, plus review-derived sub-ratings backed by quotes from real reviews.
  • Deterministic and compact. No LLM in the serving path. Answers are precomputed pipeline output: ~4k tokens, sub-second for a full shelf.
  • Interactive in hosts that support MCP Apps. Results render as a shelf with sort controls, seller-by-seller offers and the review evidence (io.modelcontextprotocol/ui extension); plain JSON everywhere else.

Coverage today: 300+ categories, from robot vacuums and televisions to espresso machines, mattresses and hiking boots, across hundreds of sellers. The live list is at swervie.xyz/llms.txt.

Quick start

Claude Code

bash
claude mcp add --transport http swervie https://us-central1-swervie-prod.cloudfunctions.net/mcp

Cursor, Windsurf, VS Code, Claude Desktop, ChatGPT, Gemini CLI and others: see docs/clients.md. Every config is the same one line, the URL above, with no headers and no secrets.

curl

bash
MCP=https://us-central1-swervie-prod.cloudfunctions.net/mcpH=(-H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream')
# Handshake: server info, capabilities, agent instructionscurl -s -X POST $MCP "${H[@]}" -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"1.0"}}}'
# A whole shopping answer in one callcurl -s -X POST $MCP "${H[@]}" -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_products","arguments":{"query":"65 inch OLED TV under $1500","limit":3}}}'

More in examples/: a Node client using the official SDK, a Python client, and the curl script above.

Tools

ToolKindWhat it does
search_productsreadThe one-call path. Resolves a free-text query to a named product, an "A vs B" comparison, or a category shelf with constraints as filters and wishes as ranking preferences. Returns an interpretation receipt.
lookup_productreadOne product by name, ASIN, UPC/EAN/GTIN, or brand + model. Full detail, every seller offer, and its rank on its shelf.
find_categoryreadThe matching category and its filter contract: every filterable spec with type, units, allowed values and importance, plus price bands.
browse_categoryreadA category's ranked shelf with explicit filters (hard) and preferences (soft), sorted by value, quality or price.
get_productsreadFull detail for up to 25 ids: all specs with provenance, review sub-ratings with evidence quotes, every offer.

Every tool is read-only and annotated (title, readOnlyHint: true, openWorldHint: true), so hosts can run them without a confirmation prompt. The server provides data only: it writes nothing on the user's behalf, and neither its instructions nor its results direct the model. Full input schemas and descriptions, generated from the live server, are in docs/tools.md.

A typical conversation

  1. "Find me a 65-inch OLED TV under $1,500" → search_products → ranked shelf with prices, buy links and the commission disclosure.
  2. "Which of those is better for gaming?" → get_products → refresh rate, VRR, HDMI 2.1, and what reviewers say about input lag.
  3. "Is the Sony A95L any cheaper anywhere?" → lookup_product → every seller offer, plus its rank on the shelf and higher-scoring alternatives.

The server ships instructions on initialize that describe each tool and the fields its results carry, so a client needs no prompt engineering.

User signature (optional, no PII)

Every tool accepts an optional user_signature: an opaque, stable, pseudonymous id that gives each shopper their own rate-limit quota (instead of sharing one per session or egress IP) and attributes their buy-link clicks. The recommended recipe:

user_signature = "sv1-" + sha256hex("swervie/v1|" + id).slice(0, 24)

where id is the user's most stable identifier, normalized (lowercase, trimmed; email preferred, with +tags stripped). Never send the raw identifier. If none is available, use "sv1r-" + a UUID kept for that user, or omit the field. A value that changes every session counts as a new shopper each session. The server hashes any raw email or phone number that arrives by mistake before anything is stored.

Limits, affiliate links, and privacy

  • Rate limits. Anonymous tier: 60 requests/min and 2,000/day per client (signature, session, or IP), with a higher per-IP ceiling sized for shared agent-platform egress. Partner keys with their own quota are available for platforms: contact [email protected].
  • Buy links are affiliate links. Every response that carries buy_url also carries a disclosure string worded for the shopper. Commissions never affect rankings, scores, or which products are shown.
  • No account, no checkout, no payments. Purchasing hands off to the retailer's own page.
  • What is stored. Tool name, query, category and product ids per call, the signature when present, and rate-limit counters. Nothing the user owns, and nothing written on the user's behalf.

Details in docs/data-handling.md. Policies: privacy · terms · disclosure.

What is in this repository

This repository is the public home of the Swervie MCP server: documentation, the registry manifest (server.json), client configuration, examples, and brand assets for directories. The serving code runs as a Google Cloud Function inside Swervie's main monorepo and is not published here. The hosted endpoint is the supported way to use it. Issues and feature requests are welcome.

Server version is reported by initialize (serverInfo.version). Protocol version 2025-06-18. Transport: Streamable HTTP, stateless.

Changes: v1.6.0 (2026-10) removed the two non-destructive write tools (record_selection, submit_feedback) and rewrote the server instructions and result notes as descriptions of the data; the server is now read-only end to end.

License

Documentation, examples and assets in this repository are MIT licensed (© Plum Applications, Inc.). Use of the hosted service is governed by the terms.

来源:README.md,提交 526795e

工具

5

find_category

Find a product category

Find the Swervie product category that matches a shopping intent and return its filter contract: every filterable specification with its type, units, allowed values, and importance, plus budget, mid, and premium price bands.

输入参数query必填user_signature

browse_category

Browse a category shelf

Return a category's consolidated, ranked shelf: one row per product, with duplicate seller listings already collapsed. Each row carries price, price_band, buy_url and buy_seller (the retailer behind the link), image_url, star ratings, and the category's required and top-weighted spec values. card_specs gives the specs every product card shows, in display order. Filters are hard: a row missing the attribute is excluded. Preferences are soft: rows that measure well on them rank higher and none are excluded (for example Rated Noise, prefer low, or a pet-hair rating, prefer high). Sort by value (default), quality, or price_asc. A filter on the Price dimension applies min/max to the live offer price in cents. Responses that carry buy_url links also carry a disclosure field: the commission disclosure for those links.

输入参数sortlimitcursorfilterscategory必填preferencesuser_signature

search_products

Search products

Answer one free-text shopping query, such as 'TVs under $500 with 120hz refresh rate', 'quiet dishwasher for a small kitchen', 'robot vacuum for pet hair under $600', or 'Sony WH-1000XM5 lowest price'. A query naming one specific product resolves to that product (interpretation.mode 'product'): products[0] holds every seller offer, and shelf_context gives its shelf rank and higher-scoring alternatives. 'A vs B' returns both products with specs in one shared order (mode 'comparison'). Otherwise the category is resolved, hard constraints such as price and specs become filters, and soft wishes such as 'quiet' or 'for pet hair' become ranking preferences that exclude nothing; interpretation.preferences lists them with reasons, and each row's preference_boost shows the effect. The interpretation object records how the query was read: method (deterministic parser or query-understanding model), fit_note (a one-line judgment of the category fit), and match_quality. 'strong' means the shelf plainly fits. 'partial' means either rows are served with some shopper words unexplained (listed in unparsed_tokens and unsupported_terms), or no rows are served because the closest shelf was only a medium-confidence fit (named in interpretation.llm_category). 'weak' and 'none' return no rows and queue the request as demand (queued_for_creation for a missing category, queued_product_request for a missing product). card_specs gives the specs every product card shows, in display order. Responses that carry buy_url links also carry a disclosure field: the commission disclosure for those links.

输入参数sortlimitquery必填cursoruser_signature

lookup_product

Look up a specific product

Look up one specific product by name or identifier: a product name such as 'Sony WH-1000XM5' or 'Ninja AF101 air fryer', an ASIN, a UPC/EAN/GTIN, or brand plus model number. match reports the result: 'exact' (identifier hit), 'likely' (one clear name match; interpretation.runner_up names the next best), 'ambiguous' (several fit; rows lists the candidates, best first), or 'none' (not carried; the miss is recorded as demand). On exact or likely, products[0] is the full detail (all specs, review-derived ratings with evidence quotes, every seller offer with buy_url), and shelf_context gives its rank on its category shelf by value and quality, its variants (colorways, sizes), and up to three higher-scoring alternatives in the same price band. A product with no live price or image is still returned, flagged under readiness; its price is not current. Responses that carry buy_url links also carry a disclosure field: the commission disclosure for those links.

输入参数brandquerycategoryidentifiersuser_signature

get_products

Get product details

Full detail for up to 25 products: all specifications in the category's standard order (card_specs first), review-derived ratings with verbatim evidence quotes, every seller offer with price and buy_url, and attribute_provenance recording where each spec value came from (manufacturer page, retailer listing, spec table). ids accepts product ids and shelf row ids alike: a group row's id resolves to the product the row is named after (its top_pick_id), and resolved_groups reports each substitution. Responses that carry buy_url links also carry a disclosure field: the commission disclosure for those links.

输入参数ids必填user_signature

版本历史

1
  1. v1.6.0最新Oct 29, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。