ebay-browse-mcp
Integrates with eBay's Browse API to search listings with filters (price range, condition, location, sort) and retrieve full item details by item ID.
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., "@ebay-browse-mcpsearch for vintage camera under $100"
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.
ebay-browse-mcp
Minimal MCP server for searching eBay listings via the Browse API. Communicates over stdio JSON-RPC, so it works with any MCP-compatible host (Claude Desktop, Claude Code, Cursor, VS Code Copilot, Cline, Continue, Zed, Windsurf, LM Studio, Goose, and others).
Features
Two tools:
search_ebay(keyword, filters, sort, pagination) andget_item_details(full item record by ID)OAuth 2.0 client credentials flow, token cached in memory
Sandbox or production via a single env var
Pure Python, no framework lock-in beyond the official MCP SDK
Install
git clone https://github.com/<your-username>/ebay-browse-mcp.git
cd ebay-browse-mcp
python3 -m venv .venv
.venv/bin/pip install -r requirements.txtConfigure
Create an eBay developer account at https://developer.ebay.com
Generate an Application Keyset (both sandbox and production keysets are available)
Enable OAuth for the keyset on the eBay developer portal
Copy
.env.exampleto.envand fill in your credentials:
cp .env.example .env
nano .envEBAY_CLIENT_ID=your_app_id_here
EBAY_CLIENT_SECRET=your_cert_id_here
EBAY_MARKETPLACE=EBAY_GB
EBAY_ENV=sandboxSandbox vs production
EBAY_ENV=sandboxroutes requests toapi.sandbox.ebay.com. Sandbox listings are synthetic test data, not real inventory. Start here to verify your OAuth flow and integration end-to-end with no approval friction.EBAY_ENV=productionroutes toapi.ebay.comand returns real eBay listings. To use production you must:Use the production keyset credentials (different
CLIENT_IDandCLIENT_SECRETthan sandbox)Comply with eBay's marketplace account deletion notification process, or apply for an exemption if you do not store eBay user data
Enable OAuth on the production keyset
Switching environments is a one-line change to .env. The credentials for each environment are separate and not interchangeable.
Test the client directly
.venv/bin/python ebay_client.py "macbook pro m4 max 64gb"Expected output: a list of items with title, price, and URL.
Register with your MCP host
The server speaks stdio JSON-RPC. Add it to your host's MCP configuration with two values:
command: absolute path to the venv Python (
/absolute/path/to/ebay-browse-mcp/.venv/bin/python)args:
["/absolute/path/to/ebay-browse-mcp/server.py"]
Claude Desktop / Claude Code / Cursor / Windsurf / LM Studio / Cherry Studio / Goose
These hosts share the mcpServers JSON shape. Add the block below to the relevant config file and restart the host.
{
"mcpServers": {
"ebay-browse": {
"command": "/absolute/path/to/ebay-browse-mcp/.venv/bin/python",
"args": [
"/absolute/path/to/ebay-browse-mcp/server.py"
]
}
}
}Config file locations:
Host | Path |
Claude Desktop (macOS) |
|
Claude Desktop (Windows) |
|
Cursor (global) |
|
Cursor (per project) |
|
Windsurf |
|
Claude Code |
|
VS Code Copilot
VS Code uses servers (not mcpServers) under the mcp section of settings.json:
{
"mcp": {
"servers": {
"ebay-browse": {
"command": "/absolute/path/to/ebay-browse-mcp/.venv/bin/python",
"args": ["/absolute/path/to/ebay-browse-mcp/server.py"]
}
}
}
}Zed
Zed uses context_servers in ~/.config/zed/settings.json:
{
"context_servers": {
"ebay-browse": {
"command": {
"path": "/absolute/path/to/ebay-browse-mcp/.venv/bin/python",
"args": ["/absolute/path/to/ebay-browse-mcp/server.py"]
}
}
}
}Continue, Cline and others
Continue (~/.continue/config.json) uses an mcpServers array; Cline uses cline_mcp_settings.json with the same shape as Claude Desktop. Check your host's documentation for the exact file path. The command and args are always the same.
Once registered, restart the host and the search_ebay and get_item_details tools become available.
Tool: search_ebay
Parameter | Type | Required | Description |
| string | yes | Search keyword, e.g. |
| integer | no (default 10) | Number of results, 1-200 |
| string | no | Browse API filter syntax, see below |
| string | no |
|
Returns a list of items. Each item includes an item_id field (format v1|<numeric>|0) that can be passed to get_item_details for the full record.
Filter examples
Goal |
|
Price range in GBP |
|
New condition only |
|
Buy It Now only |
|
UK sellers only |
|
Combine with commas: price:[800..3500],priceCurrency:GBP,itemLocationCountry:GB.
Full reference: https://developer.ebay.com/api-docs/buy/static/ref-buy-browse-filters.html
Tool: get_item_details
Parameter | Type | Required | Description | ||
| string | yes | REST item ID from | 0` | |
| string | no |
|
Returns the full item record: title, description, item specifics (aspects), all images, condition, brand, MPN, category path, buying options, availability, seller details, item location, shipping options with estimated delivery dates, and return terms.
Typical chain: an LLM calls search_ebay to find candidates, then get_item_details on the promising ones to read full descriptions or shipping costs before recommending.
Project structure
ebay-browse-mcp/
├── .env.example template; copy to .env
├── .gitignore
├── README.md
├── requirements.txt
├── evaluation.xml 10 read-only LLM eval questions
├── ebay_client.py Browse API client (no MCP dependency)
└── server.py FastMCP server, wraps ebay_client.search_itemsEvaluation
evaluation.xml contains 10 read-only questions designed for LLM evaluation harnesses. Questions target stable response properties (shape, field values, filter behaviour) rather than specific listings, because eBay inventory changes constantly. Each question has a single verifiable string answer.
Comparison with similar projects
Three open-source eBay MCP servers exist as of mid-2026. They target different use cases. Pick the one that fits yours:
ebay-browse-mcp (this) | |||
Best for | Buyers: searching public listings | Sellers: managing inventory, orders, ads | Minimal auction listing |
eBay API | Browse API (buyer-side) | Sell APIs (seller-side) | Browse API, single endpoint |
Tools | 2 ( | 325 tools, 100% Sell API coverage | 1 ( |
Language | Python | TypeScript / Node 18+ | Python (uv) |
Setup | venv + pip + |
|
|
Auth | Client credentials | Client credentials + user OAuth (refresh tokens, 10k-50k req/day) | Client credentials |
Active maintenance | Yes | Yes (frequent releases) | No (2 commits, stale) |
Footprint | ~190 lines of code | 30+ files, src/api + src/tools + src/auth + scripts | ~5 files |
Pick ebay-browse-mcp (this project) if: you want an LLM to search eBay listings with filters (price range, condition, location, sort), with minimal setup and a small surface area. The goal is a focused tool that does one thing well.
Pick YosefHayim/ebay-mcp if: you run an eBay store and want an LLM to manage your inventory, fulfil orders, run marketing campaigns, or pull analytics. It is the most complete Sell-API integration available.
Pick CooKey-Monster/EbayMcpServer if: you want the absolute minimum dependency footprint and only need a single keyword lookup. Note that the repo has not been updated for over a year as of mid-2026.
License
MIT
This server cannot be installed
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
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/capitansuat/ebay-browse-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server