How to connect Rakuten Travel to AI agents
checked by the operator
TL;DR
| Verdict | Official, individuals OK Individuals can connect through an official route (MCP, connector or API) without a business contract or review |
|---|---|
| Method | Official API (REST) |
| Pricing | The Rakuten Web Service (API) is free to use. Registering an app with a Rakuten ID issues an application ID and an access key |
Through the Rakuten Web Service official API, you can use vacancy search, hotel search, hotel details, rankings, and more. Anyone can register an app with a Rakuten ID for free and get an application ID and access key. Bookings, changes, and cancellations cannot be made via the API. There is no official MCP server, but the unofficial rakuten-mcp (a set of read-only tools; 27 tools as of v1.3.0, 7 of them for Travel) exists. Composio offers a Rakuten Web Service toolkit, and Yoom offers scraping templates.
| Authentication | Application ID + access key |
|---|---|
| Checked by the operator | 2026.12.05 |
| How the operator checked | Checked against official documentation |
Official MCP and AI guides
- Official MCP serverNo
Rakuten provides no official MCP server
- Official guide for AI agentsUnverified
No official guide for AI agents was found. llms.txt could not be confirmed: travel.rakuten.co.jp returned 403 and webservice.rakuten.co.jp errored on fetch. Developer information is collected in the Rakuten Web Service documentation
Connectors
Official connectors from AI services
Not supported: Claude, ChatGPT, Gemini, Microsoft Copilot
Third-party integration services
A toolkit for the Rakuten Web Service is provided, covering data fetching for product search, Books, Travel, Recipe, and more. The guidance says public data uses API key authentication and member data uses OAuth2
Official flow-bot templates are provided that scrape Rakuten Travel's public pages and notify Gmail, Slack, and others, such as 'On a set schedule, scrape Rakuten Travel and notify via Gmail.' This is browser scraping, not an API integration
Not supported: Zapier, Make, n8n, Power Automate, IFTTT, Pipedream
Unofficial MCP servers
Published by someone other than the provider. The provider does not guarantee how they work or how safe they are.
An unofficial MCP server for the Rakuten Web Service API (npm package rakuten-mcp). As of v1.3.0 it has 27 read-only tools spanning Ichiba, Books, Travel, Recipe, Kobo, and GORA; 7 of them are Travel tools such as vacancy search. The README carries a disclaimer that it is not an official Rakuten product
Security assessment
For each available connection method: who provides it, the permissions it requires, how the terms treat it, and the data path. Items we could not confirm are marked Unverified.
- Third-party integrationComposioOfficial from the integration service
Permissions required Read only Within the scope of the Rakuten Web Service public API. The Travel tools are search and display only; bookings are not possible. Composio's guidance also mentions OAuth2 for member data, but the Travel tools are search-only
Terms of service Conditional The implementation uses the official API, but the application ID and access key are entrusted to Composio. The Rakuten Web Service terms place responsibility for managing app IDs on the user (Article 5) and prohibit off-purpose use of fetched information and storing it where it can be shared (Article 10), so key custody and data retention conditions need checking against those terms
Source: relevant section of the terms
Data path Calls to the Rakuten Web Service API go through Composio's servers. The application ID and access key are entrusted to Composio - Third-party integrationYoomOfficial from the integration service
Permissions required Read only The method fetches public pages without using a Rakuten account. A separate Yoom account is required
Terms of service Issues Article 18 of the Rakuten Travel terms of use prohibits use by any method other than those approved by the company and the use of external tools that produce unintended effects. Regular scraping via this template may conflict with the terms
Source: relevant section of the terms
Data path Fetching is done on Yoom's servers, and results are delivered via Yoom to Gmail, Slack, and other destinations - Unofficial MCPmrslbt/rakuten-mcpThird party (unofficial)
Permissions required Read only Runs with your own application ID and access key. The key applies across all API categories enabled for the app, so it cannot be narrowed to Travel only. All tools are read-only GETs; bookings and changes are not possible
Terms of service Conditional Implemented on the official API and within the Rakuten Web Service terms of use. Using fetched information for other purposes, copying it, or storing it where unspecified numbers of people can share it is prohibited by the terms (Article 10). When fetched content is passed to an AI service's cloud, its retention and usage conditions also need checking against that article
Source: relevant section of the terms
Data path Runs locally and connects directly to the Rakuten Web Service API. Fetched content is passed to the AI service using the MCP server. Because the application ID and access key are handed to a third-party package via environment variables, managing key leakage and arbitrary code execution risk is the user's responsibility
Delegated sign-in
When an agent signs in on your behalf, holds your credentials or session, or passes two-factor authentication
- Terms of serviceIssues
Sharing credentials Sign-in to Rakuten Travel uses a Rakuten ID (Rakuten member account). Article 8 of the Rakuten Member terms prohibits transferring or lending the account and the status and rights/obligations under the contract to a third party. Article 3 treats anyone who signs in with the ID and password as the member themselves. Handing your ID and password to an agent to sign in is incompatible with this premise Two-factor authentication Email-based two-factor authentication (a code sent to the registered email address) and passkey authentication are available. Two-factor authentication may be required for important operations such as password changes regardless of whether it is enabled, but it is only required at sign-in for some services. Password sign-in itself remains available, so it is not much of a safeguard against handing your password to an agent Risks A Rakuten ID is a shared ID across the Rakuten group (Rakuten Ichiba, Rakuten Travel, Rakuten Points, and more) and is linked to registered credit cards and points. The impact of leakage or mistaken operations is not limited to travel booking changes and cancellations. Unintended bookings or cancellations caused by agent errors or prompt injection are also treated as your own actions Article 8, Paragraph 1 of the Rakuten Member terms also prohibits unauthorized access and use of a third party's account, whether done directly or through a third party
Source: relevant section of the terms
Data you can fetch within the terms of service
Hotel, plan, and vacancy information can be viewed on public pages without signing in. Booking requires signing in with a Rakuten ID (Rakuten membership). Member-only information such as your own booking details is not public
- ScrapingProhibited
Article 18 of the Rakuten Travel terms of use prohibits use 'by any method other than those approved by the company' and the use, creation, and distribution of external tools that produce effects the company does not normally intend (the Premium Club terms of use, Article 20, contain similar clauses). On the API side, the Rakuten Web Service terms of use apply, prohibiting off-purpose use, copying, and alteration of fetched information and storing it where unspecified numbers of people can share it (Article 10)
- Fetching with the agent's own browserConditional
Whether agents with their own browser, such as ChatGPT agent or Claude's browser use, can read the signed-in pages
Automation under the terms Prohibited Bot detection / CAPTCHA Confirmed that automated fetching tools receive 403 responses. Bot countermeasures appear to be in place Public pages for hotels and vacancies can be read in a human's browser without signing in, but 403 responses to automated fetching tools were confirmed. Article 18 of the Rakuten Travel terms of use prohibits use by unapproved methods and the use of external tools, so agent browser automation cannot be premised on it. Vacancy checks can be done via the official API instead. Post-sign-in screens such as booking confirmation require Rakuten ID authentication
Usage
How to connect
- Sign in to Rakuten Web Service with a Rakuten ID and register an app (application name, URL, data usage purpose, expected QPS, and the API categories to use). If you will call it from programs, choose the Backend Service type and register your source IPs in the allowlist
- Check the issued application ID and access key (starting with pk_). Both are required for authentication
- Call the Vacancy Search API, Hotel Search API, Hotel Detail API, Area Class API, and others with the applicationId and accessKey (responses in JSON/XML)
- Bookings cannot be made via the API. Use the API up to vacancy checks, and complete the booking yourself on the Rakuten Travel website
Setup examples
Paste these as they are. Replace the API key, domain and similar values with your own.
curl "https://openapi.rakuten.co.jp/engine/api/Travel/VacantHotelSearch/20170426?applicationId=your-app-id&accessKey=your-access-key&largeClassCode=japan&middleClassCode=akita&smallClassCode=tazawa&checkinDate=2026-12-12&checkoutDate=2026-12-13&adultNum=2"公式ドキュメントのサンプルリクエスト(田沢湖エリア・大人2名1泊)に、必須のaccessKeyを加えた形。accessKeyはヘッダーでも指定できる。デフォルトのレスポンス形式はJSON。プログラムから呼ぶ場合は、アプリをバックエンドサービス型で登録し、接続元IPを許可リストに登録しておくことが前提
Official page checked: https://webservice.rakuten.co.jp/documentation/vacant-hotel-search
{
"mcpServers": {
"rakuten": {
"command": "npx",
"args": ["-y", "rakuten-mcp@1.3.0"],
"env": {
"RAKUTEN_APP_ID": "your-app-id",
"RAKUTEN_ACCESS_KEY": "your-access-key"
}
}
}
}非公式MCPサーバー rakuten-mcp のREADMEの設定例に、確認時点の最新版1.3.0を固定した形。トラベル系は空室検索・施設検索・施設詳細・地区コード・キーワード検索・チェーンコード・ランキングの7ツール。全ツール読み取り専用
Official page checked: https://glama.ai/mcp/servers/mrslbt/rakuten-mcp
Limiting the features
アプリの種類で認証方式が違う(バックエンドサービス型=接続元IPの登録が必須・最大9件/Webアプリケーション型=許可したOriginからの呼び出し)プログラムやエージェントから呼ぶ場合はバックエンドサービス型で登録し、接続元IPを許可リストに入れる。種類を取り違えると、キーが正しくても認証エラー(403/503)になる。許可IPはアプリの編集画面で変更できる
Official page checked: https://qiita.com/AUTOMOS/items/b142a8a3588051f43393
APIアクセスコープはアプリ登録時にカテゴリ単位で選択する登録時に使うAPIのカテゴリ(楽天トラベルAPIなど)を選ぶ。キー自体に読み取り専用といった細かい権限指定はなく、有効化したカテゴリ内では公開APIを広く呼べる。公開されているトラベル系APIは検索・表示系のみで、予約や会員情報に触れるAPIはない
Official page checked: https://note.com/ai_shop_dx/n/n17d53dee7a2e
Find weekend vacancies
Use the Rakuten Travel API to find hotels with vacancies near Lake Tazawa for next weekend for two adults
The Vacancy Search API returns hotels and plans with vacancies for given area codes, dates, and party size. Place names cannot be searched directly; you first need to resolve area codes via the Area Class API (GetAreaClass)
See top-rated onsen hotels
Show me Rakuten Travel's hotel ranking for the onsen genre
The Hotel Ranking API (travel_hotel_ranking in the unofficial MCP server) returns rankings by genre such as onsen, ryokan, and city hotels
Pitfalls and tips
Pitfalls
- Both the application ID and the access key are required for authentication. Older guides and articles that use only the application ID no longer match the current specification
- The authentication method differs by app type (Web Application type / Backend Service type). Choosing the wrong type causes authentication errors even with the correct application ID and access key
- Heavy access to the same request URL in a short time can make the API temporarily unavailable. A 429 (too_many_requests) is returned when the rate is exceeded
- If the app has an IP allowlist set, every request fails as soon as your IP changes (CLIENT_IP_NOT_ALLOWED)
- The API is search and vacancy checks only; bookings, changes, and cancellations are not possible
- Article 10 of the Rakuten Web Service terms of use prohibits using fetched information for other purposes, copying or altering it, and storing it where unspecified numbers of people can share it. Accumulating results in an agent's shared memory may conflict with this
- Earning revenue through the API presupposes using Rakuten Affiliate; combining it with other affiliate programs is prohibited (Article 10 of the terms)
Tips
- For MCP, the unofficial rakuten-mcp is the shortest route (a set of read-only tools, 7 for Travel). Note that it is not an official Rakuten product
- If you enable the source IP restriction when registering the app, the access key cannot be used from unregistered IPs even if it leaks
- Bookings do not complete via the API. The working split is: the agent handles vacancy checks, and the person books on the web
Test environment and change history
| How it was checked | Checked against official documentation |
|---|---|
| Clients tried | Not yet tried with a real client |
ドキュメント確認: 楽天ウェブサービスのAPIドキュメントと利用規約、楽天トラベル利用規約、楽天会員規約、rakuten-mcpのREADME、ComposioとYoomの公式ページ。実機確認はしていない(APIの利用には楽天IDでのアプリ登録が要るため)
Change history
- 初版
Sources
Other sources
- Rakuten Travel Vacancy Search API (VacantHotelSearch) documentationBasis for the endpoint, the requirement of both applicationId and accessKey, request examples, and the 429 error, checked 2026.12.05
- Rakuten Web Service Terms of ServiceBasis for Article 5 (management of app IDs) and Article 10 (prohibition on off-purpose use, copying, and shared storage of fetched information, and the Rakuten Affiliate premise), checked 2026.12.05
- rakuten-mcp (Glama)Basis for the unofficial MCP server's tool set (27 read-only tools, 7 for Travel), environment variables, the Claude Desktop configuration example, and the IP allowlist, checked 2026.12.05
- Rakuten Travel Terms of UseBasis for Article 18 (prohibition on use by unapproved methods and on external tools), checked 2026.12.05
- Rakuten Member TermsBasis for Article 3 (sign-in with ID and password is treated as the member's own use; passkey authentication) and Article 8 (prohibition on transferring or lending the account), checked 2026.12.05
- Rakuten - Composio ToolkitBasis for Composio offering a Rakuten Web Service toolkit that includes Travel, checked 2026.12.05
- On a set schedule, scrape Rakuten Travel and notify via Gmail | YoomBasis for Yoom offering a Rakuten Travel scraping template, checked 2026.12.05
- Claude ConnectorsWhere Claude's official connector list was checked, checked 2026.12.05
- mrslbt/rakuten-mcp (GitHub)Basis for the distribution source of rakuten-mcp (matches the repository of the npm rakuten-mcp package), checked 2026.12.05
- Rakuten Travel Premium Club Terms of UseBasis for Article 20 containing the same kind of clauses prohibiting use by methods other than those approved and the use of external tools, checked 2026.12.05
- Rakuten API was rebuilt in 2026 (Qiita)Basis for the authentication method differing by app type (Web Application type / Backend Service type), with IP registration being a premise for the backend type, checked 2026.12.05
- Rakuten API app registration procedure (note)Basis for selecting the API access scope (category) at app registration and entering allowed IPs, checked 2026.12.05
- Email Two-Factor Authentication (2FA) | Rakuten ID HelpBasis for Rakuten ID having email-based two-factor authentication and codes being required for important operations, checked 2026.12.05
