Skip to main content
Glama

rms-mcp

MCP-Server für die Rakuten RMS API — Verkaufs-Dashboard & Auftragsverwaltung

Funktionen

Abruf von Rakuten RMS-Daten über Claude Code (oder einen beliebigen MCP-Client):

Tool

Beschreibung

rms_daily_sales

Tägliche Verkaufszusammenfassung (Anzahl, Steuern, Gutscheine, Versandkosten)

rms_product_ranking

Produktranking (Menge, Umsatz, Durchschnittspreis)

rms_order_detail

Vollständige Details als JSON nach Bestellnummer

rms_cancel_rate

Stornierungsrate und -anzahl

Related MCP server: shopdate MCP

Einrichtung

git clone https://github.com/yasuhidekoizumi-afk/rms-mcp.git
cd rms-mcp
uv sync

Authentifizierung

Generieren Sie serviceSecret und licenseKey im RMS-Verwaltungsbereich unter API-Einstellungen.

export RMS_SERVICE_SECRET="SP404839_xxxxxxxxxx"
export RMS_LICENSE_KEY="SL404839_xxxxxxxxxx"

Funktionsprüfung

RMS_SERVICE_SECRET="..." RMS_LICENSE_KEY="..." uv run python -c "
from rms_mcp.order_api import OrderAPI
from rms_mcp.client import RMSClient
c = RMSClient('SP...', 'SL...')
api = OrderAPI(c)
r = api.search_orders('2026-05-01T00:00:00+0900','2026-05-08T23:59:59+0900')
print(len(r.get('orderNumberList',[])), '件')
c.close()
"

Claude Code Konfiguration

.mcp.json:

{
  "mcpServers": {
    "rms-mcp": {
      "command": "uv",
      "args": ["run", "rms-mcp"],
      "cwd": "/path/to/rms-mcp",
      "env": {
        "RMS_SERVICE_SECRET": "SP404839_xxx",
        "RMS_LICENSE_KEY": "SL404839_xxx"
      }
    }
  }
}

Kurzübersicht

  • Tägliche Verkäufe: Zeig mir den heutigen Rakuten-Umsatz → rms_daily_sales

  • Produktranking: Was sind die Top 10 bei Rakuten diesen Monat? → rms_product_ranking(top_n=10)

  • Stornierungsrate: Wie hoch ist die Stornierungsrate diesen Monat? → rms_cancel_rate

  • Bestelldetails: Details zu dieser Bestellung → rms_order_detail(order_numbers=[...])

API-Abdeckung

  • [x] RakutenPayOrderAPI (searchOrder, getOrder)

  • [x] PurchaseItemAPI (searchOrderItem)

  • [ ] InventoryAPI

  • [ ] ProductAPI

  • [ ] CouponAPI

📖 Installationshandbuch

Ausführliche Installationsschritte finden Sie in SETUP.md.

Lizenz

MIT — ORYZAE Inc.

Available Tools

4 tools
rms_cancel_rateC

Cancellation rate and counts

Inputs: start_date, end_date.

rms_daily_salesB

Daily sales summary (orders, revenue, tax, coupons, delivery)

Inputs: start_date, end_date.

rms_order_detailC

Full order detail by order number(s)

Inputs: order_numbers (required).

rms_product_rankingC

Product sales ranking by revenue (from PackageModelList)

Inputs: start_date, end_date, top_n.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a distinct aspect of RMS data: cancellation rates, daily sales, order details, and product rankings. There is no overlap in functionality, making it easy for an agent to select the correct tool.

    Naming Consistency5/5

    All tools follow a consistent pattern: 'rms_' prefix followed by a descriptive noun phrase using underscores (cancel_rate, daily_sales, order_detail, product_ranking). This predictability aids both human and agent understanding.

    Tool Count5/5

    With 4 tools, this server is well-scoped for a focused analytics/reporting domain. Each tool serves a clear purpose without unnecessary bloat, and the count fits comfortably within the optimal range of 3-15 tools.

    Completeness4/5

    The tool set covers key reporting and analytics needs for an RMS: cancellation, sales summary, order details, and product ranking. Minor gaps exist, such as the absence of time-range filtering or trend comparisons, but the core query functionality is present.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables searching and retrieving information from Rakuten services (Ichiba, Books, Travel, Recipe, Kobo, GORA) via the new API endpoints with secure authentication.
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides read-only access to JD Shop Intelligence, Business Advisor, and Wanxiangtai data through a local Chrome bridge, enabling AI assistants to query authorized stores’ operations, products, inventory, transactions, refunds, and advertising reports.
      5
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables read-only retrieval of Taobao/Tmall seller analytics from 生意参谋, free market insights, and Qianniu order/product data through a logged-in Ziniao store browser, without Open Platform keys.
      129 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP clients to read and manage online shop data, including orders, products, customers, and sales reports, plus opt-in order status, notes, and refunds recorded without moving money.
      2
      Functional Source , Version 1.1, ALv2 Future