Japan E-Commerce Apify MCP (x402 Pay-Per-Call)

Japan EC Apify MCP. Store: https://apify.com/fruitful_quintessence/acts/whSePszWpMtfeLYBp

OtherPythonv0.2.2

japan-ec-apify-mcp

An x402-enabled Model Context Protocol (MCP) server wrapping Apify Actors for Japanese e-commerce marketplaces (Mercari Japan, Yahoo! Auctions, Rakuten, SUUMO, Kakaku.com).

Enables AI agents (Claude Desktop, Cursor, AutoGPT) to execute paid API searches on-demand using the x402 protocol ($0.001 USDC / call).

Features

  • x402 Micropayments Protocol Support: HTTP 402 / EIP-712 payment authorization for AI agents
  • Apify Actor Integration: Directly connects with fruitful_quintessence/mercari-japan-search-scraper
  • Multi-Transport: Runs over stdio, HTTP / SSE
  • Official MCP Registry Compatible: Registered on modelcontextprotocol.io registry

Installation & Usage

1. FastMCP stdio / Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "japan-ec-apify-mcp": {
      "command": "python3",
      "args": ["/path/to/scripts/mcp_x402_server.py"]
    }
  }
}

2. x402 Payment Flow Example

When calling search_mercari_japan(keyword="CBR250RR"):

  1. Server returns isError: true with x402 PaymentRequired payload ($0.001 USDC required).
  2. Agent signs EIP-712 payment authorization and re-sends request with _meta["x402/payment"].
  3. Server validates payment signature, retrieves Mercari listings, and returns data with _meta["x402/payment-response"].

Verification

python3 -m py_compile scripts/mcp_x402_server.py

Related Links

Setup from the maintainer

This listing does not have a supported local package template. Use the maintainer’s documentation for its hosted endpoint, authentication, and client-specific setup. No install command has been inferred.

Package

https://github.com/atushi1841/japan-ec-apify-mcp/releases/download/v0.2.2/server.mcpbother

Compatible MCP Clients

Japan E-Commerce Apify MCP (x402 Pay-Per-Call) works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More