ebay-mcp
An MCP server that lets an LLM search and inspect eBay listings through the official Browse API.
README
ebay-mcp
An MCP server that lets an LLM search and inspect eBay listings through the official Browse API. Read-only, buyer-side: it searches and reads listings, it does not bid or buy.
This is a fork of Suat Oneren's ebay-browse-mcp, which speaks stdio.
The fork keeps the two tools and their response shaping and swaps the transport
for streamable-HTTP (:8000/mcp) plus a /healthz probe, so it runs as a
self-hosted container behind an MCP client such as LibreChat — the same shape as
its sibling kleinanzeigen-mcp.
Unlike Kleinanzeigen (no public API, so scraping is unavoidable), eBay offers a sanctioned API — so this server hits it directly: no headless browser, no bot-detection fragility.
Tools
| Tool | What it does |
|---|---|
search_ebay |
Search by keyword with optional filters (price, condition, buying option, seller country) and sort. Returns listing summaries + item_ids. |
get_item_details |
Full record for one item_id: description, item specifics, images, shipping options, return terms, seller. |
Configuration
Set an eBay Developer keyset (free — https://developer.ebay.com/my/keys):
| Env var | Default | Meaning |
|---|---|---|
EBAY_CLIENT_ID |
— | App ID (Client ID) from your keyset |
EBAY_CLIENT_SECRET |
— | Cert ID (Client Secret) from your keyset |
EBAY_MARKETPLACE |
EBAY_DE |
Marketplace: EBAY_DE, EBAY_US, EBAY_GB, … |
EBAY_ENV |
sandbox |
sandbox or production |
MCP_TRANSPORT |
http |
http (streamable-HTTP) or stdio |
MCP_HOST / MCP_PORT / MCP_PATH |
0.0.0.0 / 8000 / /mcp |
HTTP bind |
Sandbox has almost no real inventory — use it to prove the wiring, then set
EBAY_ENV=production (with a production, OAuth-enabled keyset) for real results.
Run
Docker (recommended)
docker run --rm -p 8000:8000 \
-e EBAY_CLIENT_ID=... -e EBAY_CLIENT_SECRET=... \
-e EBAY_MARKETPLACE=EBAY_DE -e EBAY_ENV=production \
ghcr.io/jnslmk/ebay-mcp:latest
# MCP endpoint: http://localhost:8000/mcp health: http://localhost:8000/healthz
Local (stdio, for desktop MCP clients)
python3 -m venv .venv && .venv/bin/pip install .
cp .env.example .env # fill in your keyset
MCP_TRANSPORT=stdio .venv/bin/ebay-mcp
Quick client-free check of the keyset:
.venv/bin/python -m ebay_mcp.ebay_client "raspberry pi 5"
License
MIT. See LICENSE — retains the original upstream copyright.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.