Rakuten API MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Rakuten API MCP Serversearch for wireless headphones on Rakuten Ichiba"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Rakuten API MCP Server
楽天ウェブサービスの新しいエンドポイント(openapi.rakuten.co.jp / 2026年インフラ刷新後)に対応した、楽天市場、楽天ブックス、楽天トラベル、楽天レシピ、楽天Kobo、楽天GORAの情報を取得・検索できる MCP (Model Context Protocol) サーバーです。
特徴
2026年5月に移行した認証方式(
applicationIdとaccessKey)に対応。レートリミット(429エラー)制御、およびOrigin/Refererヘッダー送信によるセキュリティ設定に対応。
サービスごとにモジュール分割された構成。
Related MCP server: rms-mcp
対応サービス
本MCPサーバーは、以下の楽天サービスに対応したツール群を登録します。各ツールの詳細な引数やスキーマは、MCPクライアントの自動検出機能により確認可能です。
楽天市場
楽天ブックス
楽天レシピ
楽天トラベル
楽天Kobo
楽天GORA
インストールとセットアップ
1. 依存ライブラリのインストール
本プロジェクトは uv を使用してパッケージ管理されています。
uv venv
uv sync2. 環境変数の設定
.env ファイルを作成し、以下の値を設定してください(ひな形は .env.example にあります)。
RAKUTEN_APPLICATION_ID=アプリケーションID (UUID形式)
RAKUTEN_ACCESS_KEY=アクセスキー (pk_から始まるキー)
RAKUTEN_ALLOW_URL=許可されたWebサイトドメイン (例: https://example.com/)
RAKUTEN_AFFILIATE_ID=アフィリエイトID (任意)MCPクライアントの設定例
Claude Desktop などの MCP クライアント設定(例: config.json)に以下を追加してください。
{
"mcpServers": {
"rakuten-api": {
"command": "uv",
"args": [
"run",
"--path",
"[リポジトリの絶対パス]/src/main.py"
],
"env": {
"RAKUTEN_APPLICATION_ID": "アプリケーションID",
"RAKUTEN_ACCESS_KEY": "アクセスキー",
"RAKUTEN_ALLOW_URL": "登録ドメイン",
"RAKUTEN_AFFILIATE_ID": "アフィリエイトID(任意)"
}
}
}
}開発とテスト
pytest を用いて、モックを用いたテストを実行可能です。
uv run pytestThis server cannot be deployed
Maintenance
Related MCP Connectors
Real-time data APIs for 50+ commerce, grocery, social and maps platforms over one OAuth MCP server
Search eBay sold and active listings, browse categories, and retrieve item details.
Affiliate programs, deals and tracked links, plus product search by text or GTIN.
Remote MCP for 1,500+ APIs. Vault-managed credentials; OAuth or API key. Search, load, and execute.
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server for Rakuten APIs. Search products, books, hotels, and rankings across Japan's largest e-commerce platform.27347 npm5MIT
- FlicenseAqualityCmaintenanceEnables retrieval of Rakuten RMS sales data, including daily summaries, product rankings, order details, and cancel rates.41-
- AlicenseNot gradedqualityDmaintenanceEnables searching and retrieving nutrition data, recipes, and managing food diary entries through the FatSecret API.MIT
- FlicenseNot gradedqualityAmaintenanceMCP server to search Rakuten Ichiba (Japan's largest e-commerce platform) for products, returning names, prices, URLs, shop info, reviews, and images via the official Rakuten API.-