ec-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ec-mcpSearch Mercari for a Patagonia fleece and show the cheapest items"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ec-mcp
Lightweight Model Context Protocol server for Japanese marketplaces (Mercari, Yahoo! Flea Market, and Yahoo! Auctions). Every provider talks to structured JSON HTTP APIs only — no HTML scraping.
Install / Run
bun installRelated MCP server: mercari-jp-mcp
Run
bun src/index.tsThe MCP Streamable HTTP endpoint is http://localhost:3001/mcp. PORT is configurable.
curl http://localhost:3001/healthDevelopment
bun test
bun run typecheck
bun run smokeTools
Mercari
mercari_search: searches products with Mercari's public search filters (classic and Mercari Shops / beyond items).mercari_get_item: accepts an item ID (m12345678901) or full product URL.mercari_get_categories: filters Mercari's category master by keyword, parent ID, or root level.
Mercari uses the signed internal REST API (api.mercari.jp) with a per-request anonymous DPoP token. No HTML is fetched or parsed.
Yahoo! Flea Market (Yahoo!フリマ)
yahoo_fleamarket_search: searches listings. Filters:keyword,exclude_keyword,category_id,price_min/price_max,condition(new,used10..used60),status(on_sale/sold_out, defaultson_sale),seller_id,sort(price) +order,limit,offset.yahoo_fleamarket_get_item: accepts an item ID or item URL; returns description, photos, category path, condition, delivery method/schedule, shipping origin, seller, like/PV counts, created time.yahoo_fleamarket_get_categories: lists children byparent_id, top genres viaroot_only, or searches all levels bykeyword.yahoo_fleamarket_get_seller: returns a public seller profile (nickname, rating).
Yahoo uses the anonymous JSON APIs under paypayfleamarket.yahoo.co.jp/api (/v1/search, /item/v2/items/{id}, /v1/categories/{id}/children, /v1/users/{id}) — the same endpoints the web client's API modules call. No cookies, tokens, or special headers are required.
Yahoo! Auctions (ヤフオク!)
Read-only. No bidding, purchasing, or account operations.
yahoo_auction_search: searches auctions. Requireskeywordorcategory_id. Filters:exclude_keyword,price_min/price_max(current price),buy_now_price_min/buy_now_price_max,has_buy_now,condition(NEW,USED10,USED20,USED40,USED60),status(open/closed, defaultsopen),free_shipping,shipping_from_area(prefecture code),min_bids/max_bids,ending_within_minutes,sort(current_price,buy_now_price,start_price,end_time,bid_count,watch_count) +order,limit(max 100),offset.yahoo_auction_get_item: accepts an auction ID or URL; returns current/starting/buy-now price, bid and bidder counts, watch count, quantity, start/end time,remaining_seconds, photos, category path, condition, shipping, and seller ratings.yahoo_auction_get_categories: children byparent_id(arbitrary depth), top genres viaroot_only, or all-levels search bykeyword.
Auction-specific notes: price_min/price_max filter the current price; buy-it-now has its own range plus has_buy_now. min_bids/max_bids and ending_within_minutes have no native API parameter and are applied MCP-side over the returned JSON. The API answers HTTP 423 to cookie-less clients, so the provider bootstraps an anonymous session cookie with a HEAD request to the site root (headers only — no page content is read) and refreshes it automatically; nothing is hardcoded and no login is involved. Avoid bursty crawling: the provider rate-limits with 423 and no Retry-After.
Environment variables
PORT: HTTP port (default3001).MERCARI_DEBUG=true/YAHOO_FLEAMARKET_DEBUG=true/YAHOO_AUCTION_DEBUG=true: redacted request/response trace to stderr.MERCARI_INTEGRATION_TEST=true/YAHOO_FLEAMARKET_INTEGRATION_TEST=true/YAHOO_AUCTION_INTEGRATION_TEST=true: enable the live integration tests.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables users to search for products on the Mercari marketplace using keywords, categories, and specific filters like price and condition. It provides comprehensive tools for retrieving item details and browsing search results via standard or SSE protocols.
- AlicenseNot gradedqualityCmaintenanceMCP server to search Mercari Japan listings with query, price range, and exclude keywords.14MIT
- AlicenseAqualityBmaintenanceRead-only MCP server for searching Yahoo! Shopping products through the Yahoo! Shopping Item Search API v3. It supports keyword and JAN-code search with price, stock, condition, shipping, sorting, category, brand, seller, image-size, and pagination filters.11MIT
- AlicenseNot gradedqualityBmaintenanceEnables searching Mercari Japan products with keyword, price range, condition, and status filters, and supports bulk searches from files with automatic translation to English.MIT
Related MCP Connectors
Japan Law MCP — Japanese national laws & ordinances via the e-Gov Law API.
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Hosted MCP with 91 agent tools: X, domains, SEO, Maps, Trends, Search, YouTube, TikTok, and more.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/uirooong/ec-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server