eBay Browse API MCP server β buy-side listing search and price intelligence.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Give an AI agent real, live market prices β straight from the largest secondhand marketplace on the internet.
eBay is a continuously-updating ledger of what physical things actually cost right now. This wraps its Browse API as an MCP server with three tools, so an agent can search listings, pull a single item, and β the useful one β get an aggregated price landscape for anything: min, median, max, broken down by condition.
Python 3.12+ Β· MIT Β· MCP server Β· app-token auth, no user login
Setup is one free eBay app keyset β no user login, no OAuth consent screen to click through. Point an agent at it and ask "what does an RTX 5080 actually go for?" β one call back comes a grounded answer, split by condition, with the cheapest listings attached.
ebay_price_check: how the landscape is built| Tool | What it does |
|---|---|
ebay_price_check | Aggregated price landscape for a query β count, min/median/max, a breakdown by condition, and the cheapest listings. The headline tool. |
ebay_search | Listing search with sorting and filtering β returns clean {itemId, title, price, condition, seller, itemWebUrl} rows. |
ebay_get_item | Full detail for one item by ID. |
Every tool flows through a single EbayBrowseClient, which owns the token and
talks to eBay. There's one place credentials are read, one place a token is
cached, one place HTTP happens β nothing to drift.
The server is async; the client is plain synchronous requests, run in a thread
(asyncio.to_thread) so a slow eBay call never blocks the event loop.
ebay_price_check is the one tool that does more than pass through β it runs a
search and then aggregates the result (see below).
eBay's Browse API uses an application token (the OAuth client-credentials grant) β no user is involved. The client mints one on first use, caches it in memory, and silently refreshes when it's about to expire. You never think about it.
The 60-second buffer means a token is treated as expired slightly early, so a call never races a token that dies mid-flight. Tokens live ~2 hours; in practice one fetch covers a long session.
ebay_price_check: how the landscape is builtThe other two tools are thin wrappers. This one is the reason the project exists: it turns a pile of raw listings into a number you can reason about.
exclude is what makes the number honest β a search for "RTX 5080" is full of
laptops and prebuilt PCs, and exclude: ["laptop", "notebook", "prebuilt"]
strips them so the median reflects the actual card. The by_condition split
matters just as much: a "median" that blends new-in-box with used-and-abused is
noise; split by condition and each tier tells the truth.
One honest limitation worth knowing: the Browse API returns active asking prices, not completed sales. Treat the floor as "best currently advertised," not "what it sold for."
You need a (free) eBay developer application keyset β see docs/SETUP.md for the five-minute walkthrough. Then wire it into your MCP client:
Credentials come from environment variables (highest priority) or a
~/.ebay-mcp.toml file. The active env selects the keyset and the API
base URL together β so production creds can never accidentally point at the
sandbox, or vice versa.
Check what's active any time β credentials are masked in the output:
Flip env between sandbox and production to switch environments β same code,
different endpoints and keyset. The sandbox is good for proving the auth flow
wires up; its inventory is sparse and seeded, so for real prices you want a
production keyset.
MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/ebay-browse)<a href="https://allmcps.com/mcp/ebay-browse"><img src="https://allmcps.com/api/badge/ebay-browse?style=directory" alt="EBay Browse on AllMCPs" /></a>