tokopedia-mcp

v0.1.1
@kentandrian/tokopedia-mcp Checked 2 days ago Published 16 days ago

Tokopedia 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.

ParameterTypeDescription
query *stringSearch query, e.g. "mechanical keyboard"
filtersobjectOptional filter key=value pairs (e.g. {"shop_tier":"2","rt":"4,5"})
orderBynumberSort: 23=relevance, 3=price low->high, 4=price high->low, 5=newest, 8=most sold
pageintegerPage number (default: 1)
priceMaxnumberMaximum price in IDR
priceMinnumberMinimum price in IDR
rowsintegerResults 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.

ParameterTypeDescription
query *stringThe 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.

ParameterTypeDescription
shopDomainstringShop domain/slug from the URL, e.g. "logitech"
shopIdintegerNumeric 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.

ParameterTypeDescription
keywordstringSearch within the shop by product name
pageintegerPage number (default: 1)
perPageintegerResults per page, max 80 (default: 20)
shopDomainstringShop domain/slug from the URL, e.g. "logitech"
shopIdintegerNumeric shop ID (alternative to shopDomain)
sortnumberSort: 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.

ParameterTypeDescription
productId *stringNumeric product ID (from search_products `id` field)
filterstringFilter reviews (default: all)
limitintegerReviews per page, max 20 (default: 10)
pageintegerPage number (default: 1)
sortstringSort 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.

ParameterTypeDescription
productId *stringNumeric product ID (from search_products `id` field)

get_category_tree

Get Tokopedia product category tree and category IDs for use with browse_category.

ParameterTypeDescription
categoryIdintegerOptional parent category ID to scope the tree
depthintegerTree 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.

ParameterTypeDescription
categoryId *stringCategory ID (e.g. from get_category_tree)
orderBynumberSort: 23=relevance, 3=price low->high, 4=price high->low, 5=newest, 8=most sold
pageintegerPage number (default: 1)
priceMaxnumberMaximum price in IDR
priceMinnumberMinimum price in IDR
querystringOptional keyword to filter within the category
rowsintegerResults per page, 1-60