mercadolibre mcp
Enables interaction with MercadoLibre's API for product search, reviews, descriptions, and seller reputation insights.
Enables interaction with MercadoLibre's API for product search, reviews, descriptions, and seller reputation insights.
An MCP server that provides access to MercadoLibre API.
search_products
- Search products in MercadoLibre, and return a list of products.query
- The search querycategory
- The category to search infilters
- The filters to applyproduct_reviews
- Get product reviewsproduct_description
- Get product descriptionseller_reputation
- Get seller reputationYou'll need a MercadoLibre Client ID and Client Secret to use this server. You can get one for free at https://developers.mercadolibre.com/, create an application and get the credentials.
Once you have the credentials, you can set the CLIENT_ID
and CLIENT_SECRET
environment variables. And theres also the need to set the SITE_ID
environment variable to the site you want to use.
There are two ways to use this server:
To install MercadoLibre MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @lumile/mercadolibre-mcp --client claude
Add this configuration to your Claude Desktop config file:
{
"mcpServers": {
"mercadolibre-mcp": {
"command": "npx",
"args": [
"-y",
"mercadolibre-mcp"
],
"env": {
"CLIENT_ID": "<YOUR_CLIENT_ID>",
"CLIENT_SECRET": "<YOUR_CLIENT_SECRET>",
"SITE_ID": "<YOUR_SITE_ID>"
}
}
}
}
Install dependencies:
npm install
Build the server:
npm run build
Add this configuration to your Claude Desktop config:
{
"mcpServers": {
"mercadolibre-mcp": {
"command": "node",
"args": [
"/path/to/mercadolibre-mcp/dist/index.js"
],
"env": {
"CLIENT_ID": "<YOUR_CLIENT_ID>",
"CLIENT_SECRET": "<YOUR_CLIENT_SECRET>",
"SITE_ID": "<YOUR_SITE_ID>"
}
}
}
}
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
Contributions are extremely welcome! Please open a PR with new MCP servers or any other improvements to the codebase.
This project is not affiliated with MercadoLibre. All logos are trademarks of their respective owners.
This project is licensed under the MIT License - see the LICENSE.md file for details.
Made with ❤️ by Lumile
Contact us for custom AI development and automation solutions.
[
{
"description": "Busca productos en MercadoLibre",
"inputSchema": {
"properties": {
"limit": {
"default": 10,
"description": "Cantidad de resultados a devolver",
"type": "number"
},
"offset": {
"default": 0,
"description": "Cantidad de resultados a saltar",
"type": "number"
},
"query": {
"description": "Consulta de búsqueda",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
},
"name": "search_products"
},
{
"description": "Obtiene la reputación de un vendedor",
"inputSchema": {
"properties": {
"sellerId": {
"description": "ID del vendedor",
"type": "string"
}
},
"type": "object"
},
"name": "seller_reputation"
},
{
"description": "Obtiene las reseñas de un producto",
"inputSchema": {
"properties": {
"productId": {
"description": "ID del producto",
"type": "string"
}
},
"type": "object"
},
"name": "product_reviews"
},
{
"description": "Obtiene la descripción de un producto",
"inputSchema": {
"properties": {
"productId": {
"description": "ID del producto",
"type": "string"
}
},
"type": "object"
},
"name": "product_description"
}
]