Rakuten API MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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 pytestTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Discover social and commerce APIs without login; authenticate for API calls and account data.
Search Exness API documentation and access account tools with OAuth-scoped permissions.
OAuth-protected product catalog, ratings, reviews, categories and guides for approved agents.
Search the live web, look up companies and read any page through the Oxylabs Web API.
7161
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for Rakuten APIs. Search products, books, hotels, and rankings across Japan's largest e-commerce platform.2779 npm6MIT
- 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 gradedqualityBmaintenanceMCP 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.-