rakuten-mcp
Provides read-only tools for Rakuten's public cash back catalog: search stores by name, retrieve store details by name/slug/URL, list top cashback rates, and browse categories, returning cash back text, structured reward metadata, logos, and shop URLs.
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.
@sohampatwardhan/rakuten-mcp
Unofficial read-only MCP server for public Rakuten cash back rates. It looks up stores by name, lists the highest public rates, and lists a category. Every result includes the shop URL.
This server does not sign in, does not click or activate offers, and does not read account data. Rates are whatever Rakuten shows to a signed-out visitor. They change.
Tools
Tool | What you get |
| Stores whose names contain |
| One store by name, shop slug, |
| The public catalog in Rakuten's cash-back order. |
| One category in that same order. Names and ids come from |
| Category names and ids, including All. |
limit is at most 36, which is one page. When the tool returns a full page and Rakuten has another, the JSON includes next_cursor. Pass that cursor back to read the next page. A short page sets has_more and leaves next_cursor null; raise limit instead of skipping the rest of the page.
search_stores uses Rakuten's term: filter. It is a case-insensitive substring (ray matches Ray-Ban and Caliray). It is not a separate search index.
Examples
Find Nike:
{ "name": "search_stores", "arguments": { "query": "nike" } }One shop URL:
{ "name": "get_store", "arguments": { "store": "https://www.rakuten.com/shop/nike" } }Highest public rates:
{ "name": "list_top_cashback", "arguments": { "limit": 10 } }Clothing:
{ "name": "list_category", "arguments": { "category": "Clothing", "limit": 10 } }A store looks like:
{
"merchant_id": "9528",
"name": "Nike",
"cash_back": "10% Cash Back",
"previous_cash_back": "was 2%",
"reward": { "amount": 10, "type": "Percentage", "text": "10.00% Cash Back", "tiered": false, "up_to": false },
"url": "https://www.rakuten.com/shop/nike",
"slug": "nike",
"logo": "https://static.rakuten.com/img/store/9528/nike-mark-fullcolor-9528@4x.png"
}reward.type is Percentage or Fixed. amount is the percent, or the dollar amount for a fixed reward. up_to means the tile said "Up to". previous_cash_back is Rakuten's "was …" text, or null.
Prompts that work once the server is connected:
"What is the Rakuten cash back at Nike, and what was it before?"
"Which stores on the public list are paying the most right now?"
"Show clothing stores with the highest Rakuten cash back."
Related MCP server: Rakuten API MCP Server
Setup
Requires Node.js 20 or newer.
npx -y @sohampatwardhan/rakuten-mcp@latestStdio is the default. Logs go to stderr so they stay off the JSON-RPC stream. The MCP server name is rakuten-mcp.
Cursor
Add this to ~/.cursor/mcp.json or the project's .cursor/mcp.json:
{
"mcpServers": {
"rakuten": {
"command": "npx",
"args": ["-y", "@sohampatwardhan/rakuten-mcp@latest"]
}
}
}Claude Desktop
The same mcpServers block goes in the desktop config:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Restart Claude Desktop after saving.
Claude Code
claude mcp add rakuten -- npx -y @sohampatwardhan/rakuten-mcp@latestVS Code
Create .vscode/mcp.json:
{
"servers": {
"rakuten": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@sohampatwardhan/rakuten-mcp@latest"]
}
}
}Other MCP clients use the same stdio command: npx -y @sohampatwardhan/rakuten-mcp@latest.
Streamable HTTP
HTTP mode is stateless and has no authentication. Bind it to localhost.
npx -y @sohampatwardhan/rakuten-mcp@latest --http --port 3333The MCP endpoint is http://127.0.0.1:3333/mcp. A client config looks like:
{
"mcpServers": {
"rakuten": {
"url": "http://127.0.0.1:3333/mcp"
}
}
}GET /health returns ok.
MCP Inspector
npm install
npm run build
npx @modelcontextprotocol/inspector node dist/cli.jsData source
The client calls one public endpoint:
GET https://www.rakuten.com/feedapi/v1/regions/USA/topic?topicId=16867&sort=cashback_desc
The first page of that endpoint is the same 36 stores embedded in __NEXT_DATA__ on https://www.rakuten.com/f/allstores. The HTML document also carries member data, so this server does not download it. Later pages use the topic cursor. The required header is X-Platform: DESKTOP_WEB. Without it Rakuten returns 400.
Checked against the live site on 2026-11-30:
filter=term:is a real case-insensitive substring search. Search does not download the full catalog (about 3,203 stores, 36 per page).filter=category:<id>pages one category.categoryandtermare not sent together. A combinedcategory|termfilter is ignored or rejected.filter=merchant_id:andfilter=store_id:are ignored. A numeric merchant id is resolved only from stores this process has already seen. Pass a name or shop URL otherwise.tile_lengthstays the full catalog size on filtered pages, so it is not used as a match count.The category
selectedflag stays on All even when a category filter is applied. The server reports the category it requested.Sort is always
cashback_desc, including fixed-dollar rewards such as$50 Cash Back(reward.typeFixed).The viewer on these responses is
UnauthenticatedViewer.
Shop URLs look like https://www.rakuten.com/shop/<slug>. Opening one in a browser is a normal store page. This server never activates the offer.
Polite use
The client keeps one catalog request in flight and waits at least one second between starts. Responses are cached in memory for 30 minutes. The User-Agent is rakuten-mcp/<version> (+https://github.com/sohampatwardhan/rakuten-mcp).
Variable | Default | Purpose |
|
| Site origin |
|
| Minimum gap between catalog calls |
|
| Memory cache lifetime |
| enabled | Set to |
Do not point this at a lower interval for bulk downloads. The public catalog is a shared site.
Disclaimer
This project is not affiliated with, endorsed by, or sponsored by Rakuten. Rakuten and its cash back program are their marks. Store names, rates, and logos belong to their owners. Confirm a rate on Rakuten before you buy. Nothing here is a promise of cash back.
License
MIT. See LICENSE.
Development
npm install
npm run lint
npm test
npm run typecheck
npm run build
node dist/cli.js --help
npm run smokenpm test uses recorded fixtures and does not call Rakuten. RAKUTEN_LIVE=1 npm test also runs test/live.test.ts against the public catalog, one request per second. CI does not set that variable.
npm run lint checks TSDoc comments with eslint-plugin-tsdoc. CI runs lint, typecheck, test, build, and smoke.
prepublishOnly compiles TypeScript into dist/ before the package is packed.
Tool 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
Search and look up products across thousands of online stores, normalized into one schema.
- StoreRouterDeprecatedai.storerouter
Search and look up products across thousands of online stores, normalized into one schema.
Discover social and commerce APIs without login; authenticate for API calls and account data.
Public K-beauty catalog, product search, and latest-offers tools with canonical product facts.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables searching the public U.S. casino directory (rewards programs and tier ladders) without an API key, and accessing a player's own loyalty data with a personal API key.MIT
- AlicenseNot gradedqualityCmaintenanceEnables searching and retrieving information from Rakuten services (Ichiba, Books, Travel, Recipe, Kobo, GORA) via the new API endpoints with secure authentication.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables access to public Amazon profit, referral/FBA fee, ACoS, TACoS, and geo-holdout calculators without a key, plus read-only brand profit and incrementality records with an optional brand key.MIT
- AlicenseNot gradedqualityCmaintenanceEnables real-time product search across public price pages, retrieval of store offers with shipping and stock details, price history lookup, autocomplete suggestions, and parallel comparison of offers for top search results.MIT