BuyNearby

Shop BuyNearby's local Calgary marketplace, book couriers, and request personal shopping runs.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
88%
命名质量
90%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,865token 数(工具定义)
~1.7 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.46%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "mcp": {
      "url": "https://buynearby.store/api/v1/mcp-server.php"
    }
  }
}

远程端点

https://buynearby.store/api/v1/mcp-server.phpstreamable-http

它能做什么

工具清单

工具(8)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢search_products(q, city, limit)

Search for products available at local Calgary stores. Returns product name, store, price, stock level, and store categories. Use this when the user asks about finding, buying, or locating any product locally.

输入模式

{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "description": "Product search query — can be a product name, ingredient, or natural language description"
    },
    "city": {
      "type": "string",
      "description": "City to search. Default: Calgary",
      "default": "Calgary"
    },
    "limit": {
      "type": "integer",
      "description": "Number of results (max 50)",
      "default": 5
    }
  },
  "required": [
    "q"
  ]
}
🟢check_stock(product_id, store_id)

Check live stock level for a specific product. Optionally filter by store. If the caller's API key is a store-scoped partner key, the result is limited to that key's own store regardless of store_id.

输入模式

{
  "type": "object",
  "properties": {
    "product_id": {
      "type": "string",
      "description": "Product ID from search results"
    },
    "store_id": {
      "type": "integer",
      "description": "Store ID (optional)"
    }
  },
  "required": [
    "product_id"
  ]
}
🟢get_todays_deals(store_id, limit)

Get today's real discounted products and active flash deals — products currently priced below their regular price, and time-limited flash deals. This is the actual sale/discount data; search_products has no discount flag so a text search for "sale" or "deals" won't find this.

输入模式

{
  "type": "object",
  "properties": {
    "store_id": {
      "type": "integer",
      "description": "Limit to one store (optional — omit for deals across all stores)"
    },
    "limit": {
      "type": "integer",
      "description": "Max results per section. Default 20, max 50"
    }
  },
  "required": []
}
🟢get_stores(city)

Get a list of local stores in Calgary with location info.

输入模式

{
  "type": "object",
  "properties": {
    "city": {
      "type": "string",
      "default": "Calgary"
    }
  },
  "required": []
}
⚪place_order(product_id, quantity, customer_email, delivery_address, express, ...)

Place an order for a single product from BuyNearby's own catalog (stores running the BuyNearby POS - stock/price are live and guaranteed). Requires API key authentication. A store-scoped partner key can only order products from its own store. Payment is a pre-authorization link texted/emailed to the customer (card is held, not charged) - the actual charge happens once the store confirms the order, not at booking time.

输入模式

{
  "type": "object",
  "properties": {
    "product_id": {
      "type": "string"
    },
    "quantity": {
      "type": "integer",
      "default": 1
    },
    "customer_email": {
      "type": "string"
    },
    "delivery_address": {
      "type": "string"
    },
    "express": {
      "type": "boolean",
      "default": false,
      "description": "Adds an express fee (default $4.99 CAD)"
    },
    "requested_by_time": {
      "type": "string",
      "description": "Any parseable date/time, e.g. 'today 22:00' - recorded on the order, not an enforced SLA at this tier"
    }
  },
  "required": [
    "product_id",
    "customer_email",
    "delivery_address"
  ]
}
🟡place_cart_order(customer_name, customer_phone, customer_email, delivery_address, fulfillment_type, ...)

Shop BuyNearby's real marketplace catalog: add multiple products (from one store or several) to a cart and check out as ONE real order in a single call - price/stock for every item is looked up from the live catalog server-side (you cannot supply your own price). Use this instead of place_order whenever the user wants more than one item, or items from different stores. Uses the exact same tax/delivery-fee/coupon pricing engine as the human checkout page, so the total you quote back to the user is authoritative. Creates a REAL order immediately - not a draft - visible right away in the store's dashboard for confirmation. Payment is a pre-authorization link texted/emailed to the customer (card held, not charged) - the actual charge happens once the store confirms.

输入模式

{
  "type": "object",
  "properties": {
    "customer_name": {
      "type": "string"
    },
    "customer_phone": {
      "type": "string"
    },
    "customer_email": {
      "type": "string"
    },
    "delivery_address": {
      "type": "string",
      "description": "Required unless fulfillment_type is 'pickup'"
    },
    "fulfillment_type": {
      "type": "string",
      "enum": [
        "delivery",
        "pickup"
      ],
      "default": "delivery"
    },
    "coupon_code": {
      "type": "string"
    },
    "express": {
      "type": "boolean",
      "default": false
    },
    "tip_percentage": {
      "type": "number",
      "default": 0,
      "description": "Only set this if the user explicitly chose a tip - don't default one in on their behalf"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "product_id": {
            "type": "string",
            "description": "From search_products results"
          },
          "quantity": {
            "type": "integer",
            "default": 1
          }
        },
        "required": [
          "product_id"
        ]
      }
    }
  },
  "required": [
    "customer_name",
    "customer_phone",
    "delivery_address",
    "items"
  ]
}
🔴book_courier(action, pickup_address, delivery_address, size_tier, package_count, ...)

Get a courier price quote, book a REAL point-to-point courier/parcel delivery in Calgary, check a booking's status, or cancel one - no BuyNearby account needed. action:'book' immediately creates the booking and auto-assigns a driver if one is available, exactly like a human finishing the form at buynearby.store/courier-book.php; the response's booking_ref is a real, live booking, not a draft. Payment is a link texted to the customer afterward (this call never charges a card). Use action:'quote' first if you just need a price before the user has decided to book. Use action:'status' to check on an existing booking, and action:'cancel' to self-cancel one (only while it's still 'pending' or 'assigned' — once a driver has picked up the package, direct the customer to support instead).

输入模式

{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "quote",
        "book",
        "status",
        "cancel"
      ]
    },
    "pickup_address": {
      "type": "string",
      "description": "Required for action 'quote'/'book'"
    },
    "delivery_address": {
      "type": "string",
      "description": "Required for action 'quote'/'book'"
    },
    "size_tier": {
      "type": "string",
      "enum": [
        "small",
        "standard",
        "heavy"
      ],
      "default": "standard"
    },
    "package_count": {
      "type": "integer",
      "default": 1
    },
    "customer_name": {
      "type": "string",
      "description": "Required for action 'book'"
    },
    "customer_phone": {
      "type": "string",
      "description": "Required for action 'book', 'status', and 'cancel' — for 'status'/'cancel' this must match the phone on the booking (it's the ownership check, since booking_ref alone is guessable)"
    },
    "customer_email": {
      "type": "string"
    },
    "delivery_notes": {
      "type": "string"
    },
    "preferred_pickup_time": {
      "type": "string",
      "description": "Any parseable date/time; omit for ASAP dispatch"
    },
    "preferred_dropoff_time": {
      "type": "string",
      "description": "Any parseable date/time the customer needs the delivery completed by, e.g. 'today 10pm'; must not be before preferred_pickup_time"
    },
    "idempotency_key": {
      "type": "string",
      "description": "Optional, action 'book' only — pass the same value on a retry (e.g. after a dropped connection) to avoid creating a duplicate booking"
    },
    "booking_ref": {
      "type": "string",
      "description": "Required for action 'status'/'cancel', e.g. 'CB-20260912-0007'"
    },
    "cancel_reason": {
      "type": "string",
      "description": "Optional, action 'cancel' only"
    }
  },
  "required": [
    "action"
  ]
}
🟢shop_and_deliver(customer_name, customer_phone, customer_email, delivery_address, store_hint, ...)

Book a REAL personal-shopper run - a BuyNearby driver goes into a named physical store, shops from the given item list, and delivers it. Works even for stores that aren't BuyNearby partners (set needs_verification expectations: our team calls ahead to confirm stock first for those). This immediately creates the order, exactly like a customer finishing the Shop & Deliver chat flow on buynearby.store - it is not a draft. Estimate each item's price yourself (or via search_products if it's a known BuyNearby-catalog item) since the customer is only charged the driver's actual receipt total afterward, not this estimate.

输入模式

{
  "type": "object",
  "properties": {
    "customer_name": {
      "type": "string"
    },
    "customer_phone": {
      "type": "string"
    },
    "customer_email": {
      "type": "string"
    },
    "delivery_address": {
      "type": "string"
    },
    "store_hint": {
      "type": "string",
      "description": "Physical store name, e.g. 'Purdys Chocolatier Chinook Centre'"
    },
    "notes": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "item_name": {
            "type": "string"
          },
          "quantity": {
            "type": "number",
            "default": 1
          },
          "unit": {
            "type": "string",
            "default": "each"
          },
          "estimated_price": {
            "type": "number",
            "description": "CAD, your best estimate for this line - becomes the driver's shopping budget"
          },
          "product_id": {
            "type": "string"
          },
          "store_id": {
            "type": "integer"
          },
          "notes": {
            "type": "string"
          }
        },
        "required": [
          "item_name",
          "estimated_price"
        ]
      }
    }
  },
  "required": [
    "customer_name",
    "customer_phone",
    "delivery_address",
    "store_hint",
    "items"
  ]
}

社区

评价此服务器

证据

最近观测

已验证未记录版本8 个工具
已验证未记录版本8 个工具
已验证未记录版本8 个工具