Martdata

io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.1.0更新于 Nov 11, 2026

以JSON格式提供沃尔玛数据:商品详情、顾客评价,以及带筛选条件的店铺搜索。

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

Walmart data as JSON: product details, customer reviews, and storefront search with filters.

已验证STDIO仅桌面商业与电商

概览

Martdata 的本地 MCP 服务;无需登录;STDIO。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

安装

在 SourceWeft 中

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

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

martdata

martdata is a small local bridge to the hosted HasData Walmart MCP server, which returns Walmart storefront data as JSON. It can pull one product page in full from an item id or URL, page through that product's customer reviews, and run keyword or category searches across a storefront with price, fulfillment and sort filters.

The bridge holds no product data of its own. It answers the tool list locally, exactly as captured from the live endpoint, and forwards each tool call upstream, returning whatever comes back untouched. The captured surface is three read-only fetches over public storefront data: there is no cart, checkout, order or payment tool in it, and no individual contact data is returned.

Tools

  • hasdata_walmart_product_getWalmartProduct — fetch one Walmart product in full, by itemId or by url (the URL wins when both are given). Optional: domain (walmart.com / walmart.ca), language (en / es / fr), and otherOffers to also collect competing sellers' offers. Returns title, brand, price and availability, the buy-box seller, ratings, variants, fulfillment details and the other-sellers block. No argument is marked required in the captured schema: itemId and url are alternatives for each other.
  • hasdata_walmart_reviews_getWalmartReviews — the customer reviews of one product, ten a page, by itemId or url. Optional: domain, language, page, sort (most relevant, most recent, most helpful, highest or lowest rated, oldest), rating (one star value), aspectId (one frequent-mention topic), condition, and verifiedPurchasesOnly. Returns each review with its rating, text, author and vote counts, plus the item's rating breakdown, AI review summary, per-aspect scores and the filters block naming the values later calls can filter by.
  • hasdata_walmart_search_getSearchResults — search a storefront by keyword q, or browse a category with catId, or scrape a full search URL via url. Optional: domain, language, sort (best match, price low-to-high or high-to-low, bestseller, highly rated, new arrivals), page, minPrice and maxPrice, deliveryType (shipping / pickup), and facet narrowing in name:value form. Returns the product list with prices, ratings, sellers and fulfillment details, plus the facets block and pagination.

Configuration

  • HASDATA_WALMART_MCP_URL (optional) — override the upstream endpoint. Defaults to https://mcp.hasdata.com/mcp?apis=walmart. (The override hook is this rebuild's own labelled reconstruction.)
  • HASDATA_API_KEY (optional) — when set, every upstream request carries an x-api-key: <key> header, for the caller's own HasData API key. When it is not set, no key header is sent. (The header name and the env name are pinned by the original's registry record; forwarding the key from this env var is a labelled reconstruction — the original surface was captured keyless.)

Forwarding mechanics

On the first tool call the client opens a streamable HTTP session upstream: a JSON-RPC initialize request (protocolVersion 2025-03-26, clientInfo name martdata), then a notifications/initialized notification, then the tools/call request carrying the caller's arguments unchanged. When the upstream answers initialize with an Mcp-Session-Id header, that value rides on every later request of the session, which is reused for the life of the process. Replies may arrive as plain JSON or as server-sent events; both are read.

Successful upstream results pass through verbatim, including any isError flag the upstream sets. Failures — a JSON-RPC error, a non-2xx status, an unreadable response, or a request that cannot be completed — come back as an isError result whose text starts with martdata error: (this rendering is this rebuild's own labelled reconstruction).

CLI

Each tool is also a subcommand taking one JSON argument string:

bash
npx @reneturcios/martdata hasdata_walmart_product_getWalmartProduct '{"itemId":"14977205582"}'npx @reneturcios/martdata hasdata_walmart_reviews_getWalmartReviews '{"itemId":"14977205582","sort":"mostRecent"}'npx @reneturcios/martdata hasdata_walmart_search_getSearchResults '{"q":"coffee maker","maxPrice":90}'npx @reneturcios/martdata --version

Exit codes: 0 on success, 1 on an isError result, 2 on a usage error.

MCP server

bash
npx -y @reneturcios/martdata mcp

MCP client config:

json
{  "mcpServers": {    "martdata": {      "command": "npx",      "args": ["-y", "@reneturcios/martdata", "mcp"]    }  }}

Docker

bash
docker run -i ghcr.io/cloudcorprecords/martdatadocker run --rm ghcr.io/cloudcorprecords/martdata --version

The container's default command is mcp, so the first form is a stdio MCP server; any other arguments reach the CLI normally.

Development

bash
npm installnpm run buildnpm testnpm run dev

The test suite runs entirely against a stubbed JSON-RPC upstream — no live network calls.

License

MIT — see LICENSE.

来源:README.md,提交 64a7526

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Nov 11, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分