Vinted MCP and CLI Server
🛍️ Servidor MCP y CLI de Vinted
Dale a tu asistente de IA acceso a Vinted: busca, compara precios y sigue a vendedores en 19 países.
La idea
Vinted no tiene una API pública. Este paquete cierra esa brecha: permite que los asistentes de IA hablen directamente con Vinted a través del Model Context Protocol.
Conéctalo a Claude, Cursor o cualquier asistente compatible con MCP y simplemente pregunta:
"Búscame una chaqueta North Face por menos de 60 € en Alemania, en buen estado o mejor"
"Compara precios de Air Jordan 1 en Francia, Italia y el Reino Unido"
"¿Qué está vendiendo actualmente el vendedor #123456? ¿Algo por menos de 20 €?"
La IA determina qué filtros usar, llama a Vinted y te da una respuesta real: sin búsquedas, sin filtros, sin pestañas.
También se distribuye como una herramienta CLI y una biblioteca de TypeScript para uso directo.
Related MCP server: qontoctl
¿Qué es esto?
Un servidor MCP, una herramienta CLI y una biblioteca de TypeScript para el mercado de segunda mano Vinted. No hay API oficial: inicia una cookie de sesión desde la página del catálogo público y llama a la API JSON privada que la aplicación web de Vinted utiliza internamente.
🤖 Servidor MCP: conéctalo a Claude, Cursor o cualquier asistente de IA con soporte para MCP
🖥️ Herramienta CLI: canaliza resultados, busca nuevos listados, compara precios desde tu terminal
📦 Biblioteca de TypeScript: importa
opSearch,opCompare, etc. directamente en tu código
Instalación
npm install -g @googlarz/vinted-clientO ejecútalo sin instalar:
npx @googlarz/vinted-client search "levis 501"Inicio rápido con CLI
# Search (JSON by default)
vinted search "levi's 501" --country fr
# Pretty table
vinted search "levi's 501" --country de --output table
# Filter by price, brand, condition
vinted search "adidas samba" \
--price-min 20 --price-max 80 \
--brand adidas \
--condition new_with_tags,very_good \
--output table
# Watch for new listings every 30s
vinted search "air jordan 1" --watch 30
# Walk all pages and collect up to 500 results
vinted search "vintage denim" --all --max-items 500
# Get a specific item (ID or URL)
vinted item 1234567
vinted item https://www.vinted.fr/items/1234567
# Seller profile + active listings
vinted seller 987654
vinted seller-items 987654 --output table
# Cross-country price comparison (6 countries by default)
vinted compare "north face jacket" --output table
# Browse category tree
vinted categories --query shoes --output table
# Look up brand IDs
vinted brands "stone island"
# What's trending right now
vinted trending --country fr --output tableComandos
Comando | Descripción | |
| Buscar listados con soporte completo de filtros | |
`item <id | url>` | Obtener detalles completos del artículo |
| Perfil del vendedor | |
| Artículos que un vendedor tiene a la venta | |
| Comparación de precios entre países | |
| Buscar IDs de marcas por nombre | |
| Explorar el árbol de categorías | |
| Listados más nuevos / en tendencia | |
| Inspeccionar cookies de sesión (para solución de problemas) |
Flags globales
Flag | Descripción | |
`--output json | table` | Formato de salida (predeterminado: |
| Código de país (ver abajo) | |
| Proxy HTTP/HTTPS (también: | |
| Deshabilitar caché de respuesta |
Flags de búsqueda
Flag | Descripción |
| Rango de precios |
| Nombres de marca (resueltos automáticamente a IDs) |
| IDs de marca separados por comas |
| ID de categoría ( |
| IDs de talla separados por comas |
|
|
|
|
| Filtro de rango de fechas (YYYY-MM-DD) |
| Recorrer páginas y recopilar todos los resultados |
| Límite para |
| Sondear cada N segundos para nuevos listados (predeterminado 60s) |
Países admitidos
fr de uk it es nl pl pt be at lt cz sk hu ro hr fi dk se
Servidor MCP
Integra Vinted en cualquier asistente de IA compatible con MCP (Claude, Cursor, etc.).
Configuración: Claude Desktop
Añadir a claude_desktop_config.json:
{
"mcpServers": {
"vinted": {
"command": "npx",
"args": ["-y", "@googlarz/vinted-client/mcp"]
}
}
}Configuración: Claude Code
claude mcp add vinted -- npx -y @googlarz/vinted-client/mcpHerramientas MCP
Herramienta | Descripción |
| Buscar con soporte completo de filtros |
| Detalle del artículo por ID o URL |
| Perfil del vendedor |
| Listados activos de un vendedor |
| Comparación de precios entre varios países |
| Listados en tendencia |
| Búsqueda de marcas |
| Árbol de categorías |
Ejemplos de prompts una vez conectado:
"Búscame Nike Air Max 95 por menos de 70 € en Alemania, talla 43, muy buen estado"
"Compara precios de una chaqueta acolchada North Face en Francia, Alemania e Italia"
"Vigila al vendedor #987654 y avísame cuando publique algo por menos de 30 €"
Uso de la biblioteca
import { VintedClient, opSearch, opCompare, opSearchAll } from '@googlarz/vinted-client';
const client = new VintedClient();
// Basic search
const results = await opSearch(client, {
query: 'levi\'s 501',
country: 'de',
priceMax: 50,
condition: ['very_good', 'good'],
sortBy: 'price_low_to_high',
});
console.log(results.items);
// Collect all pages concurrently (3-page prefetch window)
const all = await opSearchAll(client, {
query: 'vintage band tee',
country: 'uk',
maxItems: 300,
});
// Multi-country price comparison
const report = await opCompare(client, {
query: 'air jordan 1 retro',
countries: ['fr', 'de', 'uk', 'it'],
});Opciones del cliente
const client = new VintedClient({
proxyUrl: 'http://proxy:8080', // or VINTED_PROXY_URL env var
cacheTtlMs: 60_000, // response cache TTL (0 = disable)
rateLimitPerSec: 3, // requests/sec per country
rateLimitBurst: 6, // burst capacity
timeoutMs: 20_000, // per-request timeout
});Cómo funciona
Vinted no tiene una API pública. Esta biblioteca:
Inicia una sesión accediendo a
vinted.{cc}/catalogy capturando las cookies de autenticación que establece el frontend de Vinted.Llama a la API JSON privada (
/api/v2/...) con esas cookies, imitando los encabezados de solicitud del navegador.Se reinicia automáticamente ante un error 401: los tokens caducan, la biblioteca se recupera silenciosamente.
Limita la tasa por país con un cubo de tokens (ráfaga + recarga configurables) para evitar errores 429.
Almacena en caché las respuestas con LRU+TTL: 60s para resultados de búsqueda, 1h para datos estáticos como categorías.
Recurre al scraping de HTML para páginas de artículos bloqueadas por DataDome (JSON-LD + extracción mediante regex).
Precarga 3 páginas simultáneamente en
opSearchAllpara maximizar el rendimiento dentro del límite de tasa.
Soporte de proxy
Si Vinted bloquea tu IP (común en máquinas virtuales en la nube y CI), configura un proxy:
VINTED_PROXY_URL=http://user:pass@proxy:8080 vinted search "nike"
# or
vinted search "nike" --proxy http://user:pass@proxy:8080También se respetan las variables de entorno estándar HTTPS_PROXY / HTTP_PROXY.
Variables de entorno
Variable | Descripción |
| URL del proxy HTTP/HTTPS |
| TTL de caché en ms (predeterminado |
| Solicitudes por segundo por país (predeterminado |
| Tamaño de ráfaga del cubo de tokens (predeterminado |
| Establecer en |
Requisitos
Node.js ≥ 18
Opcional:
playwright+puppeteer-extra-plugin-stealthpara el modo--browser/VINTED_BROWSER=1
Licencia
MIT © googlarz
Available Tools
15 toolscompare_pricesA
Compare prices for a search query across multiple Vinted country sites simultaneously. Returns median, mean, stdDev, min, max, and sample count per country along with the local currency. Supports the same brand/size/color/condition filters as search_items for precise cross-country comparisons. Useful for finding the cheapest market or understanding cross-border price gaps.
Inputs: query (required), brand, limit, sizeIds, +5 more.
get_categoriesA
Fetch the full Vinted category tree for a country. Returns a flat list of all categories and subcategories with their numeric IDs, names, parent IDs, and item counts. Pass a categoryId to search_items or search_all_items to restrict results to a department (e.g. women's clothing, men's shoes, electronics). Results are cached for 1 hour.
Inputs: query, country.
get_colorsA
Fetch the complete list of Vinted color options available as search filters. Returns every color with its numeric ID, display name, hex color code, short code (e.g. "BLACK"), and sort order. Pass the returned IDs to search_items.colorIds or search_all_items.colorIds to restrict results to specific colors. Results are cached for 1 hour — color catalogues change rarely.
Inputs: country.
get_itemA
Fetch complete item details by Vinted item ID (with country) or by a direct Vinted item URL. Returns title, price, currency, brand, size, condition, full description, all photo URLs, creation date, item URL, favourite count, and seller username/ID. Automatically falls back to HTML scraping when the JSON API is unavailable.
Inputs: url, itemId, country.
get_new_itemsA
Fetch the most recently listed items for a search query (newest first). To monitor a search, call it repeatedly and pass the previous response's latestId as afterId — only items listed since then are returned (truncated: true means more than perPage arrived; raise perPage or poll more often). Supports the same filters as search_items (brand, category, size, color, price, condition).
Inputs: query (required), size, brand, color, +10 more.
get_sellerA
Fetch a seller's public profile by their numeric user ID. Returns username, active listing count, feedback reputation score (0–1 float), total feedback count, country code, and profile URL. Use get_seller_feedback to read review texts and star ratings, and get_seller_items to browse their listings.
Inputs: sellerId (required), country.
get_seller_feedbackA
Fetch paginated buyer and seller feedback reviews for a Vinted user. Each entry includes the review text, star rating (1–5), feedback type (1=negative, 2=neutral, 3=positive), reviewer username, timestamp, and the associated item ID. Use this to assess seller trustworthiness and reliability before making a purchase.
Inputs: sellerId (required), page, limit, country.
get_seller_itemsA
List all items currently for sale by a specific seller, paginated. Returns the same fields as search_items (title, price, brand, size, condition, photo URL, item URL). Useful for browsing a seller's full catalogue after finding them via search_items or get_seller.
Inputs: sellerId (required), page, limit, country.
get_size_groupsA
Fetch all Vinted size groups with their constituent size IDs and labels. Returns a list of size groups (e.g. "Women's clothing", "Men's shoes", "Kids 2–8 yrs") — each containing the group ID, caption, description, and an array of sizes with numeric IDs and display titles (e.g. "XS", "42", "12 UK"). Pass individual size IDs from the sizes array to search_items.sizeIds or search_all_items.sizeIds to filter listings to an exact size. Results are cached for 1 hour.
Inputs: country.
get_trendingA
Fetch the newest and trending items on Vinted for a given country, ordered by recency. Optionally scoped to a specific category. Useful for discovering what's currently popular, monitoring new arrivals, or finding deals as they are listed.
Inputs: limit, country, categoryId.
resolve_color_idsA
Resolve color names (e.g. "black", "white", "navy") to numeric Vinted color IDs for use in search_items.colorIds and search_all_items.colorIds. Matching is case-insensitive and also works with Vinted's internal color codes (e.g. "BLACK", "NAVY_BLUE"). Alternatively, pass color names directly to search_items.color[] and they will be resolved automatically.
Inputs: colors (required), country.
resolve_size_idsA
Resolve human-readable size labels (e.g. "M", "42", "XL", "12 UK") to numeric Vinted size IDs suitable for use in search_items.sizeIds and search_all_items.sizeIds. Returns matched IDs with the group they belong to (e.g. "Women's clothing"), and a list of any labels that could not be resolved. Because "M" or "42" appear in multiple size groups (women's, men's, kids'), multiple IDs may be returned per label — pass them all to sizeIds to cast a wide net, or filter by group name if you need a specific category.
Inputs: sizes (required), country.
search_all_itemsA
Search Vinted listings and automatically paginate through all results, returning up to maxItems items in a single call. Use this instead of search_items when you need comprehensive results — e.g. "find all Nike shoes under €30" or "list every item in size M from this brand". Pages are fetched concurrently for speed. Returns the same item fields as search_items.
Inputs: query (required), size, brand, color, +11 more.
search_brandsA
Search Vinted's brand catalogue by keyword. Returns matching brands with their numeric IDs, slugs, total item counts, and favourite counts. Pass the returned IDs to search_items.brandIds, or use search_items.brand[] to pass names and have them resolved automatically.
Inputs: query (required), limit, country.
search_itemsA
Search Vinted second-hand listings with rich filters across 19 country sites. Returns a paginated list of items — each with title, price, currency, brand, size, condition, photo URL, item URL, favourite count, and seller info. Use get_categories to discover valid categoryId values and search_brands to resolve brand names to IDs. For comprehensive multi-page results use search_all_items instead.
Inputs: query (required), page, size, brand, +11 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Most tools target a distinct resource or action and the descriptions actively cross-reference each other (e.g. search_items points to search_all_items, resolve_color_ids points to get_colors). The main confusable pair is get_trending vs get_new_items, since both return recency-ordered items, with only country-scoping vs query+monitoring to tell them apart; the resolve_* vs get_* catalog pairs are related but functionally distinct.
Every tool follows a clean snake_case verb_noun pattern (search_items, get_item, compare_prices, resolve_size_ids, get_seller_feedback). Verbs are used consistently and predictably across the whole set.
15 tools is well scoped for a marketplace search/browse server, with each tool covering a distinct capability (search, detail, price comparison, taxonomy lookups, seller data). Nothing feels padded or redundant.
Coverage is strong for a read-only browsing server: search with rich filters, item details, cross-country price comparison, trending/new items, taxonomy lookups (categories, colors, sizes, brands), and seller profile/feedback/items. Minor gaps exist since it exposes favourite counts but offers no watchlist or seller-messaging actions.
Maintenance
Related MCP Connectors
MCP server for Product Management
MCP Server for an Agent Task Marketplace
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceThis MCP scraps vinted for product info. Disclaimer: This script is designed for educational purposes only. It is intended to demonstrate web scraping techniques and should not be used for any commercial or personal gain. Please note that using this software may violate the terms of service of Vint149GPL 3.0
- AGPL 3.0
- AlicenseNot gradedqualityCmaintenanceAn MCP server for Vinted search and analysis that provides tools to search listings, fetch item details, inspect seller profiles, compare prices across countries, and surface trending items.163 npm36AGPL 3.0
- MIT