rms-mcp
Enables retrieval of Rakuten RMS sales data, including daily summaries, product rankings, order details, and cancel rates.
README
rms-mcp
楽天RMS APIのMCPサーバー — 売上ダッシュボード & 受注管理
できること
Claude Code(または任意のMCPクライアント)から楽天RMSのデータを取得:
| ツール | 説明 |
|---|---|
rms_daily_sales |
日別売上サマリー(件数・税・クーポン・送料) |
rms_product_ranking |
商品別ランキング(数量・売上・平均単価) |
rms_order_detail |
注文番号指定で全詳細JSON |
rms_cancel_rate |
キャンセル率・件数 |
セットアップ
git clone https://github.com/yasuhidekoizumi-afk/rms-mcp.git
cd rms-mcp
uv sync
認証
RMS管理画面 → API設定 で serviceSecret と licenseKey を発行。
export RMS_SERVICE_SECRET="SP404839_xxxxxxxxxx"
export RMS_LICENSE_KEY="SL404839_xxxxxxxxxx"
動作確認
RMS_SERVICE_SECRET="SP404839_xxx" RMS_LICENSE_KEY="SL404839_xxx" uv run python -c "
from rms_mcp.order_api import OrderAPI
from rms_mcp.client import RMSClient
c = RMSClient('SP404839_xxx', 'SL404839_xxx')
api = OrderAPI(c)
nums = api.search_orders('2026-05-01T00:00:00+0900','2026-05-08T23:59:59+0900').get('orderNumberList', [])
orders = api.get_order(nums).get('OrderModelList', [])
total = sum(o.get('totalPrice', 0) or 0 for o in orders)
print(f'接続成功! {len(nums)}件 {total:,}円')
c.close()
"
Claude Code 設定
.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"
}
}
}
}
クイックリファレンス
- 日別売上:
今日の楽天の売上見せて→rms_daily_sales - 商品ランキング:
今月の楽天TOP10は?→rms_product_ranking(top_n=10) - キャンセル率:
今月のキャンセル率は?→rms_cancel_rate - 注文詳細:
この注文の詳細→rms_order_detail(order_numbers=[...])
APIカバレッジ
- [x] RakutenPayOrderAPI (searchOrder, getOrder)
- [x] PurchaseItemAPI (searchOrderItem)
- [ ] InventoryAPI
- [ ] ProductAPI
- [ ] CouponAPI
📖 導入マニュアル
詳しい導入手順は SETUP.md を参照してください。
License
MIT — ORYZAE Inc.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.