ec-mcp
ec-mcp
日本のマーケットプレイス(MercariとYahoo! Flea Market)向けの軽量なModel Context Protocolサーバーです。すべてのプロバイダーは構造化されたJSON HTTP APIとのみ通信し、HTMLスクレイピングは行いません。
インストール / 実行
bun installRelated MCP server: mercari-jp-mcp
実行
bun src/index.tsMCP Streamable HTTPエンドポイントは http://localhost:3001/mcp です。PORT は設定可能です。
curl http://localhost:3001/health開発
bun test
bun run typecheck
bun run smokeツール
Mercari
mercari_search: Mercariの公開検索フィルター(クラシック、Mercari Shops / beyond items)を使用して商品を検索します。mercari_get_item: 商品ID(m12345678901)または完全な商品URLを受け付けます。mercari_get_categories: キーワード、親ID、またはルートレベルでMercariのカテゴリマスターをフィルタリングします。
Mercariは、リクエストごとに匿名のDPoPトークンを使用する署名付き内部REST API(api.mercari.jp)を利用します。HTMLの取得や解析は行われません。
Yahoo! Flea Market (Yahoo!フリマ)
yahoo_fleamarket_search: 出品を検索します。フィルター:keyword、exclude_keyword、category_id、price_min/price_max、condition(new、used10..used60)、status(on_sale/sold_out、デフォルトはon_sale)、seller_id、sort(price)+order、limit、offset。yahoo_fleamarket_get_item: 商品IDまたは商品URLを受け付けます。説明、写真、カテゴリパス、状態、配送方法/スケジュール、発送元、出品者、いいね/PV数、作成日時を返します。yahoo_fleamarket_get_categories:parent_idで子カテゴリを一覧表示し、root_onlyでトップジャンルを取得し、keywordで全レベルの検索を行います。yahoo_fleamarket_get_seller: 公開出品者プロフィール(ニックネーム、評価)を返します。
Yahooは、paypayfleamarket.yahoo.co.jp/api 配下の匿名JSON API(/v1/search、/item/v2/items/{id}、/v1/categories/{id}/children、/v1/users/{id})を使用します。これはWebクライアントのAPIモジュールが呼び出すのと同じエンドポイントです。Cookie、トークン、特別なヘッダーは必要ありません。
環境変数
PORT: HTTPポート(デフォルトは3001)。MERCARI_DEBUG=true/YAHOO_FLEAMARKET_DEBUG=true: リクエスト/レスポンスのトレースをマスクしてstderrに出力します。MERCARI_INTEGRATION_TEST=true/YAHOO_FLEAMARKET_INTEGRATION_TEST=true: ライブ統合テストを有効にします。
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