Superprecio MCP Server
This MCP server transforms AI assistants into expert price comparison tools for Argentine supermarkets, providing real-time access to product prices, deals, and availability across multiple stores.
Capabilities:
Product Search & Discovery
Search products by name across all supermarkets using natural language queries in Spanish (handles accents, partial matches, brands)
Search by barcode/EAN using 13-digit codes for exact product matches
Sort results by top sales, lowest price, or highest price
Price Intelligence
Compare prices across stores to identify the best deals, potential savings, and price differences
Discover current promotions and discounts by category (dairy, cereals, beverages, etc.)
Analyze average prices and calculate savings opportunities
Notifications & Alerts
Send push notifications about price drops, deals, or updates (broadcast or targeted)
Subscribe devices to receive automatic price alerts and special promotions
Include product links, images, and metadata in notifications via Firebase Cloud Messaging
Supermarket Information
Access lists of available supermarket chains
Retrieve detailed information about specific supermarkets
AI Assistant Enhancement
Transform into an Argentina shopping expert using the
price_expertpromptEnable conversational queries like "find the cheapest rice" or "compare milk prices"
Perform multi-store analysis automatically
Technical Features: Configurable API endpoints, adjustable result limits and timeouts, debug logging, and Firebase integration.
Enables sending push notifications about deals and subscribing devices to price alerts through Firebase Cloud Messaging
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Superprecio MCP Server busca el precio de leche descremada en todos los supermercados"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Superprecio MCP Server
A Model Context Protocol (MCP) server that provides AI assistants with access to Superprecio's price comparison functionality for supermarkets in Argentina (with plans to expand to all Latin America).
Overview
This MCP server transforms Claude (or any MCP-compatible AI assistant) into an expert price comparison assistant for Argentina. It provides real-time access to product prices, deals, and availability across multiple supermarkets.
Related MCP server: mercadolibre-mcp
Features
🛠️ Tools
The server provides 6 powerful tools:
search_products - Search for products by name across all supermarkets
search_by_code - Find products by EAN/barcode
compare_prices - Compare prices and find the best deals
get_best_deals - Discover current promotions and discounts
send_notification - Send push notifications about deals (requires Firebase)
subscribe_device - Subscribe devices to price alerts (requires Firebase)
📚 Resources
supermarket://list - List of all available supermarkets
supermarket://[id]/info - Detailed information about a specific supermarket
đź’¬ Prompts
price_expert - Transform Claude into an Argentina shopping expert
Prerequisites
Node.js 18.0.0 or higher
Access to Superprecio API (production) or a local instance
Installation
Option 1: Use with npx (Recommended)
Once published to npm, you can use directly with:
npx superprecio-mcpOption 2: Install Globally
npm install -g superprecio-mcpOption 3: Local Development
# Clone the repository
git clone https://github.com/bunkerapps/superprecio_mcp.git
cd superprecio_mcp
# Install dependencies
npm install
# Build the project
npm run build
# Run the server
npm startConfiguration
Create a .env file in the project root:
# Copy the example file
cp .env.example .envEdit .env with your settings:
# Superprecio API URL (required)
# Use production API or your local instance
SUPERPRECIO_API_URL=https://superprecio.ar
# Request timeout in milliseconds (optional)
REQUEST_TIMEOUT=30000
# Enable debug logging (optional)
DEBUG=falseUsage with Claude Desktop
Add this server to your Claude Desktop configuration:
macOS
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"superprecio": {
"command": "npx",
"args": ["-y", "superprecio-mcp"]
}
}
}Note: The server uses https://superprecio.ar by default. For local development, add:
"env": {
"SUPERPRECIO_API_URL": "http://localhost:3000"
}Windows
Edit %APPDATA%/Claude/claude_desktop_config.json with the same configuration.
Using Local Installation
If you installed locally or are developing:
{
"mcpServers": {
"superprecio": {
"command": "node",
"args": ["/absolute/path/to/superprecio_mcp/build/index.js"]
}
}
}For local development, override the API URL:
"env": {
"SUPERPRECIO_API_URL": "http://localhost:3000"
}Example Conversations
Once configured, you can ask Claude:
Search for Products
You: "Busca el arroz más barato"
Claude: *Uses search_products and compare_prices tools*
"El arroz más barato está en [Supermercado] por $2,450..."Compare Prices
You: "Compara precios de leche en todos los supermercados"
Claude: *Uses compare_prices tool*
"Aquà está la comparación de precios de leche:
1. Supermercado A: $850
2. Supermercado B: $750 🏆 MEJOR PRECIO
3. Supermercado C: $890
¡Puedes ahorrar $140 comprando en Supermercado B!"Find Best Deals
You: "¿Cuáles son las mejores ofertas de hoy en cereales?"
Claude: *Uses get_best_deals tool*
"Aquà están las mejores ofertas en cereales:
1. Corn Flakes en [Supermercado] - $2,100 (15% OFF)
2. ..."Use the Price Expert Prompt
You: "Use the price_expert prompt"
Claude: *Becomes an Argentina shopping expert*
"¡Hola! Soy tu experto en supermercados de Argentina.
ÂżCĂłmo puedo ayudarte a ahorrar dinero hoy?"API Reference
Tools
search_products
{
query: string; // Product name (e.g., "leche descremada")
maxResults?: number; // Results per store (1-50, default: 9)
sortBy?: string; // "OrderByTopSaleDESC" | "OrderByPriceASC" | "OrderByPriceDESC"
}search_by_code
{
code: string; // EAN/barcode (usually 13 digits)
}compare_prices
{
productName: string; // Product to compare
maxResults?: number; // Results to analyze per store (1-20, default: 5)
}get_best_deals
{
category: string; // Category (e.g., "lácteos", "cereales")
maxResults?: number; // Deals per store (1-30, default: 10)
}send_notification
{
title: string; // Notification title
message: string; // Notification body
deviceToken?: string; // Optional: specific device (else broadcasts)
data?: object; // Optional: custom data
}subscribe_device
{
deviceToken: string; // Firebase Cloud Messaging token
}Resources
supermarket://list- Returns JSON with all supermarketssupermarket://[id]/info- Returns JSON with specific supermarket details
Prompts
price_expert- Takes optionalfocusargument
Development
# Install dependencies
npm install
# Watch mode (rebuilds on changes)
npm run dev
# Build for production
npm run build
# Run built server
npm startArchitecture
superprecio_mcp/
├── src/
│ ├── index.ts # Main MCP server
│ ├── client/
│ │ └── superPrecioApi.ts # HTTP client for Superprecio API
│ ├── tools/ # MCP tool implementations
│ ├── resources/ # MCP resource handlers
│ ├── prompts/ # MCP prompt templates
│ └── types/ # TypeScript type definitions
├── build/ # Compiled JavaScript
└── package.jsonHow It Works
MCP Server: Runs as a stdio-based server that communicates with Claude
HTTP Client: Makes requests to your Superprecio API instance
Tools: Expose Superprecio functionality as MCP tools
Resources: Provide access to supermarket data
Prompts: Transform Claude into a shopping expert
Troubleshooting
"Could not connect to Superprecio API"
Verify API is accessible:
curl https://superprecio.arCheck
SUPERPRECIO_API_URLin your configurationEnsure there are no firewall issues
"Unknown tool" errors
Restart Claude Desktop after configuration changes
Verify the MCP server is running (check Claude Desktop logs)
Debug Mode
Enable debug logging:
DEBUG=trueThis will log all API requests/responses to stderr.
Contributing
Contributions are welcome! Please:
Fork the repository
Create a feature branch
Make your changes
Add tests if applicable
Submit a pull request
License
MIT License - see LICENSE file for details
Credits
Built with Model Context Protocol SDK
Integrates with Superprecio
Support
For issues and questions:
GitHub Issues: https://github.com/bunkerapps/superprecio_mcp/issues
Superprecio Website: https://superprecio.ar
Made with ❤️ in Argentina for Latin American shoppers
Available Tools
15 toolsadd_items_to_listA
Add products to an existing shopping list.
You can add multiple items at once, each with:
Product name (required)
Barcode for exact matching (optional)
Quantity (default: 1)
Notes for specifications (optional)
Perfect for building up your shopping list before optimizing.
Inputs: listId (required), items (required).
compare_pricesB
Compare prices for a product across all supermarkets and find the best deal.
This tool analyzes prices and provides:
Lowest price and which supermarket has it
Highest price for comparison
Average price across all stores
Potential savings
Price differences between stores
Perfect for making informed buying decisions and finding the best deals.
Inputs: productName (required), maxResults.
create_shopping_listA
Create a new shopping list to organize your purchases.
You can create an empty list and add items later, or create a list with items right away. This is useful for planning your shopping and then optimizing which supermarket to buy from.
Features:
Create named lists (e.g., "Weekly groceries", "Party supplies")
Add optional description
Include initial items with quantities
Link to user ID (optional)
Inputs: name (required), description, userId, items.
find_nearby_supermarketsA
Find supermarkets near your current location using GPS coordinates.
Discover which supermarkets are closest to you!
Features:
Search by latitude and longitude
Customizable search radius (default: 5km)
Get distance in km and meters
See full addresses and contact info
Opening hours when available
Perfect for:
Finding nearby stores after optimizing your shopping list
Planning your shopping route
Discovering new supermarkets in your area
Getting directions to the best-priced store
Example coordinates for Buenos Aires city center:
Latitude: -34.6037
Longitude: -58.3816
The tool uses the Haversine formula to calculate accurate distances.
Inputs: latitude (required), longitude (required), radiusKm.
get_best_dealsB
Find the best deals and discounts currently available in supermarkets.
This tool helps you discover:
Products on sale
Best price-to-value items
Popular deals
Discount opportunities
Great for budget shopping and finding savings across all stores.
Inputs: category (required), maxResults.
get_my_alertsA
Get all your active price alerts with their current status.
View all products you're monitoring and see:
Current prices vs. target prices
Which alerts have been triggered
How close you are to your target price
Last time prices were checked
Perfect for:
Reviewing all your alerts
Finding triggered alerts (good deals!)
Managing your watchlist
Inputs: userId, isActive.
get_shopping_listsB
Get all shopping lists, optionally filtered by user.
Returns a list of all active shopping lists with their items. Useful for:
Viewing all your saved lists
Finding a specific list to optimize
Managing multiple shopping lists
Inputs: userId.
optimize_shopping_listA
🔥 OPTIMIZE YOUR SHOPPING - Find the best supermarket for your entire shopping list!
This is the most powerful feature. It:
Searches for every product in your list across ALL supermarkets
Calculates the total cost at each supermarket
Shows you exactly how much you'll save by choosing the cheapest option
Provides a complete breakdown with prices per item
Perfect for:
Maximizing your savings
Planning where to shop
Comparing complete shopping costs
Making informed decisions
The tool searches ALL active supermarkets in Argentina and tells you which one gives you the best total price for your entire basket.
Inputs: listId (required).
remove_price_alertA
Delete a price alert.
Stop monitoring a product's price. This permanently removes the alert.
Inputs: alertId (required).
remove_shopping_listA
Delete a shopping list.
This removes the list and all its items from the active lists. The list is soft-deleted (marked as inactive) so it can be recovered if needed.
Inputs: listId (required).
search_by_codeA
Search for a specific product by its EAN/barcode across all supermarkets.
This tool is perfect for:
Finding exact product matches
Scanning barcodes
Price checking specific items
Verifying product availability
The barcode/EAN search will find the exact same product across different stores, making it ideal for precise price comparisons.
Inputs: code (required).
search_productsA
Search for products by name or description across all Argentina supermarkets.
This tool searches multiple supermarkets simultaneously and returns price comparisons. It's perfect for finding the best deals and comparing prices across different stores.
The search is smart and handles:
Spanish characters and accents (café, leche, etc.)
Partial matches
Common product names
Brand names
Results include:
Product images
Prices
Direct links to products
Supermarket information
Availability across stores
Inputs: query (required), maxResults, sortBy.
send_notificationA
Send a push notification to a specific device or broadcast to all subscribed devices.
This tool can:
Send personalized notifications to specific devices
Broadcast alerts to all users
Include custom data (like product links, images, etc.)
Notify about price drops, deals, or important updates
Note: Requires Firebase Cloud Messaging setup on the Superprecio server.
Inputs: title (required), message (required), deviceToken, data.
set_price_alertA
Set a personalized price alert for a product.
Get notified when a product reaches your target price!
Features:
Monitor any product by name or barcode
Set your desired price target
Automatic price checking across all supermarkets
Get alerts when price drops below your target
Perfect for:
Waiting for sales on expensive items
Tracking price drops
Budget-conscious shopping
Never missing a good deal
Example: "Alert me when Coca Cola 2.25L drops below $800"
Inputs: productName (required), targetPrice (required), barcode, userId, +1 more.
subscribe_deviceA
Subscribe a device to receive push notifications about deals and price alerts.
This tool registers a device token with the Superprecio notification system. Once subscribed, devices will receive:
Price drop alerts
Special deal notifications
New product announcements
Custom promotional messages
Note: Requires a valid Firebase Cloud Messaging device token.
Inputs: deviceToken (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Each tool has a clearly distinct purpose with no significant overlap. For example, 'add_items_to_list' is for adding products to an existing list, 'create_shopping_list' is for creating new lists, and 'optimize_shopping_list' is for finding the best supermarket for an entire list. The descriptions reinforce these distinct roles, making it easy for an agent to choose the right tool.
All tool names follow a consistent snake_case pattern with clear verb-noun structures, such as 'add_items_to_list', 'compare_prices', and 'set_price_alert'. There are no deviations in naming conventions, making the set predictable and easy to understand at a glance.
With 15 tools, this server is well-scoped for its purpose of shopping optimization and price comparison in Argentina. Each tool serves a specific function, from list management to price alerts and notifications, without feeling bloated or insufficient for the domain.
The tool set provides comprehensive coverage for shopping optimization, including CRUD operations for lists and alerts, price comparison, product search, location-based supermarket finding, and notification management. There are no obvious gaps; agents can handle the full lifecycle from planning to purchasing and monitoring deals.
Related MCP Connectors
Product search for AI shopping agents: prices and buy links from big retailers. No key needed.
superagnt: marketing plugin for Claude and ChatGPT. Know your market: scrape and search the web.
Free, read-only price comparison for products sold in Australia. Search products, browse categories, open a product with every seller's current price (eBay Australia, Amazon, JB Hi-Fi and more), and compare two products head to head. No login or API key. Answers come from Lianex's cached catalogue, so they are fast and never place an order or change anything. Docs: https://lianex.ai/developers
Product search for AI agents: Amazon + Shopify, cart-to-checkout buy path. Pay-per-call, no API key.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides grocery price and nutritional information search capabilities, allowing AI agents to search for food products, compare prices, and analyze nutritional content across different grocery stores.1-
- AlicenseAqualityCmaintenanceConnects AI agents to MercadoLibre, the largest e-commerce marketplace in Latin America. Search products, get item details, browse categories, track trends, and convert currencies.832 npm9MIT
- AlicenseAqualityNot gradedmaintenanceEnables AI assistants to track global food prices, search products by barcode or name, and compare costs across 27 countries. It provides tools for real-time price scraping and data aggregation from major international supermarket chains.84MIT
- AlicenseNot gradedqualityDmaintenanceProvides real-time Argentine dollar exchange rates to Claude, including blue, official, MEP, CCL, crypto, and other rates. Enables automatic currency conversions for budgets, price comparisons, and financial analysis in pesos and dollars.4 npmMIT