eanscan-mcp
Provides a lookup_ean tool for retrieving product information from EAN/UPC barcodes, usable in GitHub Copilot Chat (agent mode) in VS Code.
Click on "Install 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., "@eanscan-mcplook up barcode 5449000000996"
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.
eanscan-cli
A CLI and an MCP server that turn an EAN/UPC barcode into a localized product description (title, description, features, price, images) using the Eanscan API.
eanscan— command-line tooleanscan-mcp— Model Context Protocol server (stdio), usable from Claude (Desktop / Code) and GitHub Copilot (VS Code).
Install
# from the repo
pnpm install
pnpm build
# or, once published
npm install -g eanscan-cliRelated MCP server: openfoodfacts-mcp
Configuration
Env var | Default | Purpose |
|
| API base URL |
| (unset) | Optional, sent as the |
|
| Per-request timeout used by the MCP tool |
Copy .env.example to .env to set them locally, or pass --api-url / --api-key
on the CLI.
CLI usage
eanscan 5449000000996 # English description (default)
eanscan 5449000000996 -l fr # French
eanscan 5449000000996 --all # every available locale
eanscan 5449000000996 --json # raw product JSON
eanscan 5449000000996 -f description # just the description text
eanscan 5449000000996 -f title -l de # German title only
# Batch: pass several EANs at once (looked up concurrently)
eanscan 5449000000996 4006381333931 --json
eanscan 5449000000996 4006381333931 -c 10 # up to 10 in flight
# Bound how long a single request may take
eanscan 5449000000996 --timeout 30000 # 30sFlags: --timeout <ms> (default 120000) caps each request;
--concurrency <n> (default 5) limits parallel lookups in batch mode.
With multiple EANs, --json emits an array of { ean, data, error? }.
Exit codes: 0 all found · 1 any error (bad input, network, API, timeout) ·
2 any EAN had no product.
MCP server
The server speaks MCP over stdio and exposes one tool:
lookup_ean — params: ean (12–14 digit string), locale (fr | en |
es | de, default en). Returns a human-readable description plus the full
product object as structuredContent.
Claude Code
claude mcp add eanscan -- node /absolute/path/to/eanscan-cli/dist/mcp.jsClaude Desktop
Edit claude_desktop_config.json
(macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"eanscan": {
"command": "node",
"args": ["/absolute/path/to/eanscan-cli/dist/mcp.js"],
"env": {
"EANSCAN_API_URL": "https://api.eanscan.com"
}
}
}
}GitHub Copilot (VS Code)
Add to .vscode/mcp.json in your workspace (or the global MCP settings):
{
"servers": {
"eanscan": {
"type": "stdio",
"command": "node",
"args": ["/absolute/path/to/eanscan-cli/dist/mcp.js"]
}
}
}Then in Copilot Chat (agent mode) you can ask: "Look up EAN 5449000000996 in French."
Development
pnpm dev:cli 5449000000996 # run the CLI from source (tsx)
pnpm dev:mcp # run the MCP server from source
pnpm typecheckThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that retrieves product data from the DummyJSON API, supporting filtering by various parameters like ID, title, category, brand, price and rating.Last updated130ISC
- AlicenseAqualityCmaintenanceAn MCP server for the Open Food Facts API that allows users to search, read, and contribute to a global food database. It enables looking up nutrition data by barcode or name and managing product information through natural language.Last updated10803MIT
- Flicense-qualityBmaintenanceMCP server for looking up product information by UPC, EAN, GTIN barcodes and PLU produce codes.Last updated
- AlicenseAqualityDmaintenanceMCP server for Open Food Facts, enabling food product lookup by barcode, search, nutrition facts, allergen checks, and eco-scores without an API key.Last updated8MIT
Related MCP Connectors
Federated commerce search across independent WooCommerce merchants. Keyless, read-only MCP server.
MCP server for ScanMalware.com URL scanning, malware detection, and analysis.
Unofficial read-only MCP server for VeryChic hotel offers
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/foreach-labs/eanscan-cli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server