Mercado Libre

Finance and commerce

Mercado Libre, LATAM marketplace, product search, orders, sellers, shipments.

Your AI app calls the Mercado Libre MCP server, which does the finance and commerce work and sends the result back to the chat.

About Mercado Libre

Mercado Libre is a community MCP server from codespar, filed in our directory under finance and commerce. Mercado Libre, LATAM marketplace, product search, orders, sellers, shipments.

Mercado Libre runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-mercado-libre@0.2.2 and talks to it over standard input and output. It needs MELI_ACCESS_TOKEN set before Mercado Libre starts.

Mercado Libre is listed in the official MCP registry as io.github.codespar/mcp-mercado-libre, version 0.2.2.

At a glance

Publisher
codespar (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @codespar/mcp-mercado-libre
Written in
TypeScript
License
MIT
GitHub stars
278
Official MCP registry
io.github.codespar/mcp-mercado-libre

How to set up Mercado Libre

  1. Install Node.js on the machine that runs your AI app, because Mercado Libre starts with npx and downloads its package on first run.
  2. Create MELI_ACCESS_TOKEN for Mercado Libre in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Mercado Libre to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Mercado Libre tools to confirm the connection.
  5. Run one read-only task with Mercado Libre first, and keep your app asking before each tool call until the results look right.

Mercado Libre compared with similar servers

  • Mercado Pago by codespar has fewer GitHub stars than Mercado Libre (278 against 278); both are community servers, and both run locally.
  • Mercado Bitcoin by codespar has fewer GitHub stars than Mercado Libre (278 against 278); both are community servers, and both run locally.
  • Midaz by codespar has fewer GitHub stars than Mercado Libre (278 against 278); both are community servers, and both run locally.

Before you connect Mercado Libre

  • Give Mercado Libre its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Mercado Libre tool call until you trust what it does with them.
  • Treat text that Mercado Libre fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Mercado Libre on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Mercado Libre

How marketing and sales teams put Mercado Libre to work, by company size. Pick the size closest to yours and start Mercado Libre on one use case.

Small business

  • A small business can ask Mercado Libre which products and customers drive margin, then plan promotions around them.
  • Owners can use Mercado Libre to check refunds, failed payments and churn reasons without opening three dashboards.
  • Mercado Libre runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Ecommerce teams can connect Mercado Libre to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Mercado Libre to check spend against budget each week and move money to what's working.
  • Start Mercado Libre on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should keep Mercado Libre read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Mercado Libre to answer revenue questions by channel and region with figures finance signs off on.
  • Mercado Libre is a community server, so have security review the code and pin a version before Mercado Libre touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Mercado Libre README

From codespar/mcp-dev-latam on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

@codespar/mcp-mercado-libre

MCP server for Mercado Libre, largest LATAM marketplace with 100M+ users across 18 countries

Quick Start

Claude Desktop
{
  "mcpServers": {
    "mercado-libre": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-mercado-libre"],
      "env": {
        "MELI_ACCESS_TOKEN": "your-access-token"
      }
    }
  }
}
Claude Code
claude mcp add mercado-libre -- npx @codespar/mcp-mercado-libre

Tools (22)

Tool Purpose
search_products Search products in Mercado Libre marketplace
get_product Get detailed product information by item ID
get_product_description Get product description text by item ID
list_categories List all marketplace categories for the site
get_category Get category details and children
predict_category Predict the best category for a product title (domain_discovery)
get_trends Get trending searches in the marketplace
list_listings List seller's active product listings
update_item Update item fields such as available_quantity (stock), status (active/paused/closed), price, or title
get_seller Get seller information and reputation
list_orders List seller orders with filters
get_order Get order details by ID
get_user Get authenticated user information
get_shipment Get shipment details
get_shipment_history Get tracking history (status changes) for a shipment
get_shipping_label Get shipping labels (PDF or ZPL) for one or more shipments.
list_questions List questions on a product listing
answer_question Answer a question on a product listing
list_messages List post-sale conversation messages between seller and buyer for an order pack
send_message Send a post-sale message to the buyer associated with an order pack
list_reviews List reviews and rating average for a product
create_promotion Create a price discount promotion for an item (PRICE_DISCOUNT)

Authentication

Mercado Libre uses OAuth2. Get your access token from the Developers Portal.

Environment Variables

Variable Required Description
MELI_ACCESS_TOKEN Yes OAuth2 access token
MELI_SITE_ID No Site ID (default: MLB for Brazil). Use MLA for Argentina, MLM for Mexico.

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Questions about Mercado Libre

What is the Mercado Libre MCP server?

Mercado Libre, LATAM marketplace, product search, orders, sellers, shipments. Mercado Libre is maintained by codespar on GitHub at codespar/mcp-dev-latam, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Mercado Libre MCP server?

Add Mercado Libre to your AI app's MCP config with the command npx -y @codespar/mcp-mercado-libre@0.2.2. In Claude Code, run claude mcp add --transport stdio codespar-mercado-libre -- npx -y @codespar/mcp-mercado-libre@0.2.2. To run Mercado Libre this way you need Node.js installed.

Does Mercado Libre need an API key?

Yes. Mercado Libre expects MELI_ACCESS_TOKEN to be set. Create the key for Mercado Libre in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Mercado Libre an official MCP server?

No. Mercado Libre is a community server maintained by codespar. Community servers can be excellent; read the code and the open issues before you give Mercado Libre access to company data.

What license is Mercado Libre under?

Mercado Libre is released under the MIT license, according to its GitHub repository. The license covers the code of Mercado Libre; the service it connects to has its own terms.