Connect Claude AI to eBay Kleinanzeigen - Search listings and get details through natural language.
🤖 Model Context Protocol Server
✓ Natural Language Search (German + English)
✓ Detailed Listing Information
✓ Built for Claude Desktop
✓ Docker & Local Installation
✓ Server-side Deployment (SSE Transport)
Note: This is a complete rewrite of the original DanielWTE/ebay-kleinanzeigen-api project.
Original project was a FastAPI REST API. This version is a Model Context Protocol (MCP) server specifically designed for Claude Desktop integration.Key Changes:
- ✅ MCP Protocol instead of REST API
- ✅ Direct Claude Desktop integration
- ✅ UV package manager (10-100x faster)
- ✅ Comprehensive test suite
- ✅ Docker support with MCP Toolkit
- ✅ German language optimization
Choose your preferred installation method:
# With Docker MCP Toolkit (easiest)
# See: DOCKER_QUICKSTART.md
docker build -t kleinanzeigen-mcp:latest -f Dockerfile.mcp .
# Then follow DOCKER_QUICKSTART.md for catalog setupFor centralized deployment accessible from all your devices:
Prerequisites: Reverse proxy already configured (Nginx Proxy Manager, Traefik, Caddy, etc.)
# See detailed guide: SERVER_DEPLOYMENT.md
# Quick start:
cp .env.server.example .env.server
# Edit .env.server with your API key
docker-compose -f docker-compose.server.yml --env-file .env.server up -d
# Configure your reverse proxy (Nginx, Traefik, etc.) to forward:
# Domain: mcp.yourdomain.com → http://localhost:8000
# ✓ Enable Websockets Support!Client Configuration (Claude Desktop):
{
"mcpServers": {
"kleinanzeigen": {
"url": "https://mcp.yourdomain.com/sse",
"transport": "sse",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Supports:
- Nginx Proxy Manager (recommended for beginners)
- Traefik, Caddy, Apache
- Cloudflare Tunnel (no port forwarding needed)
- Any reverse proxy with WebSocket support
.\setup-uv.ps1Copy the generated config to: %APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop and try: "Search for laptops in Berlin under 500€"
See START_HERE.md for detailed instructions.
An MCP (Model Context Protocol) Server that gives Claude AI direct access to eBay Kleinanzeigen:
- 🔍 Search listings with filters (location, price, keywords)
- 📄 Get complete listing details (images, seller info, specs)
- 🤖 Works through natural language in Claude Desktop
- 🌐 NEW: Server-side deployment with SSE transport for multi-device access
Search with optional filters:
query- Keywords (e.g., "laptop", "fahrrad")location- City or postal coderadius- Distance in kmmin_price/max_price- Price range in EURpage_count- Number of pages (1-20)
Get complete info for a specific listing by ID.
User: "Find bicycles in Munich under 300€"
Claude:
- Calls
search_listings(query="fahrrad", location="München", max_price=300) - Shows results with IDs, prices, links
- Can get details:
get_listing_details(listing_id="...") - Provides recommendations
# Run server (STDIO mode - local)
uv run kleinanzeigen-mcp
# Run server (SSE mode - remote)
$env:TRANSPORT_MODE="sse"
uv run kleinanzeigen-mcp
# Run tests (unit tests only, fast)
uv run pytest
# Run ALL tests (includes slow integration tests)
uv run pytest --run-integration
# Run with verbose output
uv run pytest -v
# Debug mode
$env:LOG_LEVEL="DEBUG"
uv run kleinanzeigen-mcp# Local STDIO mode
docker compose --profile stdio up -d
# Server SSE mode (production)
docker-compose -f docker-compose.server.yml --env-file .env.server up -d- START_HERE.md - Quick setup guide (local STDIO)
- SERVER_DEPLOYMENT.md - Server deployment guide (remote SSE)
- DOCKER_QUICKSTART.md - Docker MCP Toolkit setup
- MCP Protocol: https://modelcontextprotocol.io
- Issues: https://github.com/DanielWTE/ebay-kleinanzeigen-api/issues
- No personal data in repository
- Config files auto-generated with your paths
.gitignoreprotects sensitive files
Status: ✅ Ready to use with Claude Desktop (local + remote)
Distributed under the MIT License. See LICENSE for more information.