tokopedia-mcp
v0.1.1Tokopedia MCP server powered by Tokopedia's public GraphQL gateway
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_products
Search for products on Tokopedia with sorting, price range, pagination, and filters.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query, e.g. "mechanical keyboard" |
filters | object | Optional filter key=value pairs (e.g. {"shop_tier":"2","rt":"4,5"}) |
orderBy | number | Sort: 23=relevance, 3=price low->high, 4=price high->low, 5=newest, 8=most sold |
page | integer | Page number (default: 1) |
priceMax | number | Maximum price in IDR |
priceMin | number | Minimum price in IDR |
rows | integer | Results per page, 1-60 |
get_filters_and_sorts
Get available filter options and sort orders for a Tokopedia product search query. Call this to discover valid location IDs, category IDs, and other filter values before calling search_products.
| Parameter | Type | Description |
|---|---|---|
query * | string | The search query to get filters for |
get_shop_info
Get detailed information about a Tokopedia shop including stats, location, open status, and Gold/Official Merchant badges. Accepts a shop domain (slug) or numeric shop ID.
| Parameter | Type | Description |
|---|---|---|
shopDomain | string | Shop domain/slug from the URL, e.g. "logitech" |
shopId | integer | Numeric shop ID |
get_shop_products
Browse a shop's product listings on Tokopedia. Accepts a shop domain (slug) or numeric shop ID. Returns product names, prices, ratings, and URLs.
| Parameter | Type | Description |
|---|---|---|
keyword | string | Search within the shop by product name |
page | integer | Page number (default: 1) |
perPage | integer | Results per page, max 80 (default: 20) |
shopDomain | string | Shop domain/slug from the URL, e.g. "logitech" |
shopId | integer | Numeric shop ID (alternative to shopDomain) |
sort | number | Sort: 1=default, 2=newest, 3=best selling, 4=price low->high, 5=price high->low |
get_product_reviews
Get customer reviews for a Tokopedia product, including ratings, review text, variant purchased, and seller responses. Provide the numeric product ID from search_products.
| Parameter | Type | Description |
|---|---|---|
productId * | string | Numeric product ID (from search_products `id` field) |
filter | string | Filter reviews (default: all) |
limit | integer | Reviews per page, max 20 (default: 10) |
page | integer | Page number (default: 1) |
sort | string | Sort order (default: most_helpful) |
get_product_rating_summary
Get rating score, star breakdown, and review topics for a Tokopedia product by its numeric product ID.
| Parameter | Type | Description |
|---|---|---|
productId * | string | Numeric product ID (from search_products `id` field) |
get_category_tree
Get Tokopedia product category tree and category IDs for use with browse_category.
| Parameter | Type | Description |
|---|---|---|
categoryId | integer | Optional parent category ID to scope the tree |
depth | integer | Tree depth to display: 1=top-level, 2=subcategories, 3=leaf categories |
browse_category
Browse products in a Tokopedia category by category ID (`sc` filter), with optional keyword, sorting, and price range.
| Parameter | Type | Description |
|---|---|---|
categoryId * | string | Category ID (e.g. from get_category_tree) |
orderBy | number | Sort: 23=relevance, 3=price low->high, 4=price high->low, 5=newest, 8=most sold |
page | integer | Page number (default: 1) |
priceMax | number | Maximum price in IDR |
priceMin | number | Minimum price in IDR |
query | string | Optional keyword to filter within the category |
rows | integer | Results per page, 1-60 |