Loyverse MCP by usefulapi
Query Loyverse POS receipts, shifts, items, inventory and customers, and update stock and customers.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"loyverse": {
"url": "https://loyverse.usefulapi.io/mcp"
}
}
}リモートエンドポイント
https://loyverse.usefulapi.io/mcpstreamable-httpできること
ツール一覧
ツール(21)
🟢loyverse_get_merchant
Fetch the merchant account this token belongs to — business name, email, country and currency. A cheap way to confirm the token works. Loyverse: GET /merchant/.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢loyverse_list_stores(store_ids, created_at_min, created_at_max, updated_at_min, updated_at_max, ...)
List the merchant's stores (locations) with their addresses. Store ids are what the receipt, shift and inventory filters take. Loyverse: GET /stores.
入力スキーマ
{
"type": "object",
"properties": {
"store_ids": {
"description": "Comma-separated list of store ids to return.",
"type": "string"
},
"created_at_min": {
"description": "Only records created at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"created_at_max": {
"description": "Only records created at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"updated_at_min": {
"description": "Only records updated at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"updated_at_max": {
"description": "Only records updated at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"show_deleted": {
"description": "Also return soft-deleted records (they carry deleted_at).",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢loyverse_list_employees(employee_ids, created_at_min, created_at_max, updated_at_min, updated_at_max, ...)
List employees, with the stores each can access and whether they are the owner. Loyverse: GET /employees.
入力スキーマ
{
"type": "object",
"properties": {
"employee_ids": {
"description": "Comma-separated list of employee ids to return.",
"type": "string"
},
"created_at_min": {
"description": "Only records created at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"created_at_max": {
"description": "Only records created at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"updated_at_min": {
"description": "Only records updated at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"updated_at_max": {
"description": "Only records updated at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"show_deleted": {
"description": "Also return soft-deleted records (they carry deleted_at).",
"type": "boolean"
},
"limit": {
"description": "Page size, 1-250 (Loyverse default 50).",
"type": "integer",
"minimum": 1,
"maximum": 250
},
"cursor": {
"description": "The `cursor` from the previous page's response. Omit for the first page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢loyverse_list_receipts(receipt_numbers, since_receipt_number, before_receipt_number, store_id, order, ...)
List sales and refund receipts, newest first, with line items, payments, discounts and taxes. Filter by store, time range or receipt numbers — the core of any sales question. Loyverse: GET /receipts.
入力スキーマ
{
"type": "object",
"properties": {
"receipt_numbers": {
"description": "Comma-separated receipt numbers to return, e.g. 2-1008,2-1009.",
"type": "string"
},
"since_receipt_number": {
"description": "Only receipts created at or after the receipt with this number.",
"type": "string"
},
"before_receipt_number": {
"description": "Only receipts created up to the receipt with this number.",
"type": "string"
},
"store_id": {
"description": "Only receipts from this store.",
"type": "string"
},
"order": {
"description": "Only receipts with this order name/number.",
"type": "string"
},
"source": {
"description": "Only receipts from this source (e.g. an app name).",
"type": "string"
},
"updated_at_min": {
"description": "Only records updated at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"updated_at_max": {
"description": "Only records updated at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"created_at_min": {
"description": "Only records created at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"created_at_max": {
"description": "Only records created at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"limit": {
"description": "Page size, 1-250 (Loyverse default 50).",
"type": "integer",
"minimum": 1,
"maximum": 250
},
"cursor": {
"description": "The `cursor` from the previous page's response. Omit for the first page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢loyverse_get_receipt(receipt_number)
Fetch a single receipt by its receipt number (e.g. 2-1008), with line items, modifiers, discounts, taxes and payments. Loyverse: GET /receipts/{receipt_number}.
入力スキーマ
{
"type": "object",
"properties": {
"receipt_number": {
"type": "string",
"minLength": 1,
"description": "The receipt number, e.g. 2-1008."
}
},
"required": [
"receipt_number"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢loyverse_list_shifts(store_ids, created_at_min, created_at_max, limit, cursor)
List cash-register shifts with their cash, gross/net sales, refunds, discounts, taxes, per-payment-type totals and pay-in/pay-out movements — the end-of-day view. Loyverse: GET /shifts.
入力スキーマ
{
"type": "object",
"properties": {
"store_ids": {
"description": "Comma-separated list of store ids to return.",
"type": "string"
},
"created_at_min": {
"description": "Only shifts opened at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"created_at_max": {
"description": "Only shifts opened at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"limit": {
"description": "Page size, 1-250 (Loyverse default 50).",
"type": "integer",
"minimum": 1,
"maximum": 250
},
"cursor": {
"description": "The `cursor` from the previous page's response. Omit for the first page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢loyverse_list_items(items_ids, created_at_min, created_at_max, updated_at_min, updated_at_max, ...)
List catalog items with their variants (SKU, barcode, price, cost, per-store pricing), category, taxes and modifiers. Loyverse: GET /items.
入力スキーマ
{
"type": "object",
"properties": {
"items_ids": {
"description": "Comma-separated list of item ids to return.",
"type": "string"
},
"created_at_min": {
"description": "Only records created at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"created_at_max": {
"description": "Only records created at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"updated_at_min": {
"description": "Only records updated at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"updated_at_max": {
"description": "Only records updated at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"limit": {
"description": "Page size, 1-250 (Loyverse default 50).",
"type": "integer",
"minimum": 1,
"maximum": 250
},
"cursor": {
"description": "The `cursor` from the previous page's response. Omit for the first page.",
"type": "string"
},
"show_deleted": {
"description": "Also return soft-deleted records (they carry deleted_at).",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢loyverse_get_item(item_id)
Fetch a single catalog item by id, with its variants. Loyverse: GET /items/{item_id}.
入力スキーマ
{
"type": "object",
"properties": {
"item_id": {
"type": "string",
"minLength": 1,
"description": "The item id (UUID)."
}
},
"required": [
"item_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢loyverse_list_variants(variants_ids, items_ids, sku, created_at_min, created_at_max, ...)
List item variants — the sellable SKUs — optionally for given items or one SKU. Variant ids are what inventory levels are keyed on. Loyverse: GET /variants.
入力スキーマ
{
"type": "object",
"properties": {
"variants_ids": {
"description": "Comma-separated list of variant ids to return.",
"type": "string"
},
"items_ids": {
"description": "Comma-separated item ids whose variants to return.",
"type": "string"
},
"sku": {
"description": "Only the variant with this SKU.",
"type": "string"
},
"created_at_min": {
"description": "Only records created at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"created_at_max": {
"description": "Only records created at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"updated_at_min": {
"description": "Only records updated at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"updated_at_max": {
"description": "Only records updated at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"limit": {
"description": "Page size, 1-250 (Loyverse default 50).",
"type": "integer",
"minimum": 1,
"maximum": 250
},
"cursor": {
"description": "The `cursor` from the previous page's response. Omit for the first page.",
"type": "string"
},
"show_deleted": {
"description": "Also return soft-deleted records (they carry deleted_at).",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢loyverse_list_categories(categories_ids, limit, cursor, show_deleted)
List item categories. Loyverse: GET /categories.
入力スキーマ
{
"type": "object",
"properties": {
"categories_ids": {
"description": "Comma-separated list of category ids to return.",
"type": "string"
},
"limit": {
"description": "Page size, 1-250 (Loyverse default 50).",
"type": "integer",
"minimum": 1,
"maximum": 250
},
"cursor": {
"description": "The `cursor` from the previous page's response. Omit for the first page.",
"type": "string"
},
"show_deleted": {
"description": "Also return soft-deleted records (they carry deleted_at).",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢loyverse_list_inventory(store_ids, variant_ids, updated_at_min, updated_at_max, limit, ...)
List current stock (`in_stock`) per variant per store. Filter by stores and/or variants — the answer to 'what is running low?'. Loyverse: GET /inventory.
入力スキーマ
{
"type": "object",
"properties": {
"store_ids": {
"description": "Comma-separated store ids.",
"type": "string"
},
"variant_ids": {
"description": "Comma-separated variant ids.",
"type": "string"
},
"updated_at_min": {
"description": "Only levels updated at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"updated_at_max": {
"description": "Only levels updated at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"limit": {
"description": "Page size, 1-250 (Loyverse default 50).",
"type": "integer",
"minimum": 1,
"maximum": 250
},
"cursor": {
"description": "The `cursor` from the previous page's response. Omit for the first page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢loyverse_list_customers(customer_ids, email, created_at_min, created_at_max, updated_at_min, ...)
List loyalty customers, newest first, with visits, total spent and points balance. Filter by email or ids. Loyverse: GET /customers.
入力スキーマ
{
"type": "object",
"properties": {
"customer_ids": {
"description": "Comma-separated list of customer ids to return.",
"type": "string"
},
"email": {
"description": "Only the customer with this email.",
"type": "string"
},
"created_at_min": {
"description": "Only records created at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"created_at_max": {
"description": "Only records created at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"updated_at_min": {
"description": "Only records updated at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"updated_at_max": {
"description": "Only records updated at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"limit": {
"description": "Page size, 1-250 (Loyverse default 50).",
"type": "integer",
"minimum": 1,
"maximum": 250
},
"cursor": {
"description": "The `cursor` from the previous page's response. Omit for the first page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢loyverse_get_customer(customer_id)
Fetch a single customer by id, with visits, total spent and points balance. Loyverse: GET /customers/{customer_id}.
入力スキーマ
{
"type": "object",
"properties": {
"customer_id": {
"type": "string",
"minLength": 1,
"description": "The customer id (UUID)."
}
},
"required": [
"customer_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢loyverse_list_payment_types(payment_type_ids, created_at_min, created_at_max, updated_at_min, updated_at_max, ...)
List the payment types (cash, card, integrated terminals…) and the stores where each is available. Receipt payments reference these ids. Loyverse: GET /payment_types.
入力スキーマ
{
"type": "object",
"properties": {
"payment_type_ids": {
"description": "Comma-separated list of payment type ids to return.",
"type": "string"
},
"created_at_min": {
"description": "Only records created at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"created_at_max": {
"description": "Only records created at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"updated_at_min": {
"description": "Only records updated at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"updated_at_max": {
"description": "Only records updated at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"show_deleted": {
"description": "Also return soft-deleted records (they carry deleted_at).",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢loyverse_list_discounts(discount_ids, created_at_min, created_at_max, updated_at_min, updated_at_max, ...)
List configured discounts (fixed/variable percent or amount, discount-by-points) and where they apply. Loyverse: GET /discounts.
入力スキーマ
{
"type": "object",
"properties": {
"discount_ids": {
"description": "Comma-separated list of discount ids to return.",
"type": "string"
},
"created_at_min": {
"description": "Only records created at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"created_at_max": {
"description": "Only records created at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"updated_at_min": {
"description": "Only records updated at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"updated_at_max": {
"description": "Only records updated at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"show_deleted": {
"description": "Also return soft-deleted records (they carry deleted_at).",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢loyverse_list_taxes(tax_ids, created_at_min, created_at_max, updated_at_min, updated_at_max, ...)
List taxes with their rate, whether they are INCLUDED in or ADDED to the price, and the stores they apply in. Loyverse: GET /taxes.
入力スキーマ
{
"type": "object",
"properties": {
"tax_ids": {
"description": "Comma-separated list of tax ids to return.",
"type": "string"
},
"created_at_min": {
"description": "Only records created at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"created_at_max": {
"description": "Only records created at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"updated_at_min": {
"description": "Only records updated at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"updated_at_max": {
"description": "Only records updated at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).",
"type": "string"
},
"show_deleted": {
"description": "Also return soft-deleted records (they carry deleted_at).",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢loyverse_list_suppliers(suppliers_ids, limit, cursor, show_deleted)
List suppliers with their contact details. Loyverse: GET /suppliers/.
入力スキーマ
{
"type": "object",
"properties": {
"suppliers_ids": {
"description": "Comma-separated list of supplier ids to return.",
"type": "string"
},
"limit": {
"description": "Page size, 1-250 (Loyverse default 50).",
"type": "integer",
"minimum": 1,
"maximum": 250
},
"cursor": {
"description": "The `cursor` from the previous page's response. Omit for the first page.",
"type": "string"
},
"show_deleted": {
"description": "Also return soft-deleted records (they carry deleted_at).",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴loyverse_upsert_customer(id, name, email, phone_number, address, ...)
Create a loyalty customer, or update one by passing its `id`. Loyverse does not document whether omitted fields survive an update, so on update fetch the customer first and send the full record. Loyverse: POST /customers.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"description": "Existing customer id to update. Omit to create.",
"type": "string"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "The customer's name (required)."
},
"email": {
"description": "Email address.",
"type": "string",
"maxLength": 100
},
"phone_number": {
"description": "Phone number.",
"type": "string",
"maxLength": 15
},
"address": {
"description": "Street address.",
"type": "string",
"maxLength": 192
},
"city": {
"description": "City, town or village.",
"type": "string",
"maxLength": 64
},
"region": {
"description": "Province, state or prefecture.",
"type": "string",
"maxLength": 64
},
"postal_code": {
"description": "Postal / ZIP code.",
"type": "string",
"maxLength": 20
},
"country_code": {
"description": "Two-letter ISO 3166-1 alpha-2 country code, e.g. US.",
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"customer_code": {
"description": "Your own customer code (e.g. a loyalty card number).",
"type": "string",
"maxLength": 40
},
"note": {
"description": "A note about the customer.",
"type": "string",
"maxLength": 255
}
},
"required": [
"name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴loyverse_upsert_category(id, name, color)
Create an item category, or rename/recolor one by passing its `id`. Loyverse: POST /categories.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"description": "Existing category id to update. Omit to create.",
"type": "string"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "The category name (required)."
},
"color": {
"description": "Display color on the POS.",
"type": "string",
"enum": [
"GREY",
"RED",
"PINK",
"ORANGE",
"GREEN",
"BLUE",
"PURPLE"
]
}
},
"required": [
"name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴loyverse_upsert_supplier(id, name, contact, email, phone_number, ...)
Create a supplier, or update one by passing its `id`. Loyverse does not document whether omitted fields survive an update, so on update send the full record. Loyverse: POST /suppliers/.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"description": "Existing supplier id to update. Omit to create.",
"type": "string"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "The supplier company name (required)."
},
"contact": {
"description": "Contact person's name.",
"type": "string",
"maxLength": 64
},
"email": {
"description": "Email address.",
"type": "string",
"maxLength": 100
},
"phone_number": {
"description": "Phone number.",
"type": "string",
"maxLength": 15
},
"website": {
"description": "Website URL.",
"type": "string"
},
"address_1": {
"description": "Address line 1.",
"type": "string",
"maxLength": 192
},
"address_2": {
"description": "Address line 2.",
"type": "string",
"maxLength": 192
},
"city": {
"description": "City, town or village.",
"type": "string",
"maxLength": 64
},
"region": {
"description": "Province, state or prefecture.",
"type": "string",
"maxLength": 64
},
"postal_code": {
"description": "Postal / ZIP code.",
"type": "string",
"maxLength": 20
},
"country_code": {
"description": "Two-letter ISO 3166-1 alpha-2 country code, e.g. US.",
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"note": {
"description": "A note about the supplier.",
"type": "string",
"maxLength": 500
}
},
"required": [
"name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴loyverse_set_inventory_levels(inventory_levels)
Set the ABSOLUTE stock (`stock_after`) of one or more variants at given stores — e.g. after a stock count. This overwrites the current level rather than adding to it; read the current levels with loyverse_list_inventory first so they can be restored. Loyverse: POST /inventory.
入力スキーマ
{
"type": "object",
"properties": {
"inventory_levels": {
"minItems": 1,
"maxItems": 250,
"type": "array",
"items": {
"type": "object",
"properties": {
"variant_id": {
"type": "string",
"minLength": 1,
"description": "The item variant id."
},
"store_id": {
"type": "string",
"minLength": 1,
"description": "The store id."
},
"stock_after": {
"type": "number",
"description": "The new stock level for that variant at that store."
}
},
"required": [
"variant_id",
"store_id",
"stock_after"
]
},
"description": "The stock levels to set."
}
},
"required": [
"inventory_levels"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}コミュニティ
エビデンス