Mercari MCP Server
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., "@Mercari MCP Serversearch for vintage cameras under $200"
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.
@striderlabs/mcp-mercari
MCP (Model Context Protocol) server for automating Mercari resale marketplace operations using Playwright and Browserbase.
Overview
This server exposes Mercari functionality as MCP tools, enabling AI assistants to search listings, manage your selling inventory, view purchase/sales history, and create new listings.
Related MCP server: mcp-amazon
Requirements
Node.js >= 18
A Browserbase account with CDP URL
Mercari account (for authenticated operations)
Installation
npm install @striderlabs/mcp-mercariOr from tarball:
npm install ./striderlabs-mcp-mercari-1.0.0.tgzConfiguration
Set the following environment variable:
export BROWSERBASE_CDP_URL="wss://connect.browserbase.com?apiKey=YOUR_KEY&sessionId=YOUR_SESSION"Usage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"mercari": {
"command": "npx",
"args": ["@striderlabs/mcp-mercari"],
"env": {
"BROWSERBASE_CDP_URL": "wss://connect.browserbase.com?apiKey=YOUR_KEY&sessionId=YOUR_SESSION"
}
}
}
}Tools
search_listings
Search Mercari listings by keyword, category, and price range.
Parameters:
keyword(required): Search termcategory(optional): Category filter (e.g. "Electronics", "Clothing")min_price(optional): Minimum price in USDmax_price(optional): Maximum price in USDcondition(optional):new|like_new|good|fair|poorlimit(optional): Max results (default: 20)
Example:
{
"keyword": "iPhone 14",
"max_price": 600,
"condition": "good",
"limit": 10
}get_listing_details
Get detailed information about a specific listing.
Parameters:
listing_id(required): Mercari item ID or full URL
Example:
{
"listing_id": "m12345678"
}get_my_listings
Get listings you're currently selling (requires authentication).
Parameters:
status(optional):on_sale|sold_out|all(default:on_sale)
create_listing
Create a new item listing on Mercari (requires authentication).
Parameters:
title(required): Item titledescription(required): Item descriptionprice(required): Price in USDcondition(required):new|like_new|good|fair|poorcategory(optional): Item categoryshipping_from(optional): State code (e.g. "CA")images(optional): Array of local file paths to item images
Example:
{
"title": "Nike Air Max 90 Size 10",
"description": "Worn twice, great condition. No box.",
"price": 85,
"condition": "like_new",
"shipping_from": "CA",
"images": ["/path/to/shoe-front.jpg", "/path/to/shoe-side.jpg"]
}get_purchases
View your purchase history (requires authentication).
Parameters:
limit(optional): Max items to return (default: 20)
get_sales
View your sales history (requires authentication).
Parameters:
limit(optional): Max items to return (default: 20)
Authentication
Authenticated tools (get_my_listings, create_listing, get_purchases, get_sales) require an active Mercari session in the Browserbase browser. To authenticate:
Use Browserbase's live view to navigate to mercari.com and log in manually
The session cookies will persist for subsequent tool calls
How It Works
This server uses Playwright to control a browser via Browserbase's CDP endpoint. Each tool call:
Connects to the remote browser via CDP
Navigates to the relevant Mercari page
Extracts or fills in data using DOM selectors
Returns structured JSON results
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/markswendsen-code/mcp-mercari'
If you have feedback or need assistance with the MCP directory API, please join our Discord server