Product Barcode MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
@pipeworx/product-barcode
Look up any retail product by barcode (UPC-A, EAN-13, EAN-8, GTIN-14) and get name, brand, category, image and size, with the answering source named.
Part of Pipeworx — an MCP gateway connecting AI agents to 2082+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
Tools
product_barcode_lookup(barcode, sources?, _apiKey?)— validates the GTIN check digit first (a wrong digit is refused with the digit it should be, and nothing is sent upstream), then asks the open product databases (Open Food Facts, Open Beauty Facts, Open Pet Food Facts, Open Products Facts) and only if none holds the code asks UPCitemdb. Returnssource,source_name,source_url,name,brand,category,image,size, andsources_checkedlisting every source asked and what it said.sources: "open_only"never calls UPCitemdb;"upcitemdb_only"skips the open databases.
Related MCP server: mcp-openfoodfacts
Auth
Keyless. The free UPCitemdb trial endpoint needs no key but allows 100 lookups a day per IP, and every Pipeworx caller shares that allowance. When it is used up the tool returns found:false, reason:"upstream_rate_limited" with the HTTP 429 named, never an empty success. To use your own allowance, pass a UPCitemdb paid-plan key as _apiKey; the pack then calls UPCitemdb's keyed path with it as user_key.
Data sources
Open Food Facts, Open Beauty Facts, Open Pet Food Facts, Open Products Facts — community databases (ODbL), keyless, no daily cap.
UPCitemdb — general merchandise database; free trial plan (100 requests a day, no sign-up, same database as the paid plans) and paid plans with a key. Plans and terms: https://devs.upcitemdb.com/ and https://www.upcitemdb.com/terms. Its terms disclaim accuracy ("as-is") and licence the service for the customer's own operations.
Notes for the next person: UPCitemdb records are user-contributed and can be wrong (the codes we checked sometimes carry a title and description from different products), so the Open databases are asked first and source is always stated. A code the open databases list with no data entered (a bare scan) is treated as not found there. UPCitemdb answers an unknown but well-formed code with HTTP 200 and an empty items, and a code it does not accept with HTTP 400 INVALID_UPC.
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"product-barcode": {
"url": "https://gateway.pipeworx.io/product-barcode/mcp"
}
}
}What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/product-barcode/mcp returns the tools in the table
above plus five Pipeworx tools: ask_pipeworx, discover_tools, ask_pipeworx_grounded, company_register_search and company_facts.
ask_pipeworx answers a question this pack does not cover by routing across the
whole catalog, without adding a second MCP server.
Add an option to the same URL:
https://gateway.pipeworx.io/product-barcode/mcp?meta=1lists this pack's tools plus up to 48 shared Pipeworx tools (48 when this README was generated; a connection without an account lists fewer, and its owntools/listis the exact answer on any given day).https://gateway.pipeworx.io/product-barcode/mcp?meta=0lists this pack's tools alone.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}Both URLs reach the same gateway and the same 2082+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one (it is not listed on a ?meta=0 connection).
No MCP client? Call it over HTTP
This pack takes your own API key (_apiKey) — we don't front one for it, so there's no curl here that would run without it. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/product_barcode_lookup. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Run it from npm
@pipeworx/mcp-product-barcode is a local stdio bridge to the Pipeworx gateway: your MCP client
starts it with npx, and it forwards every call to the same
https://gateway.pipeworx.io/product-barcode/mcp endpoint shown above. It needs network access;
there is no offline mode.
{
"mcpServers": {
"product-barcode": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-product-barcode"]
}
}
}Without a key it calls anonymously, capped at 50 calls a day. A free account
raises that to 200 a day: get a key at https://pipeworx.io/signup and add
"env": { "PIPEWORX_API_KEY": "<your key>" } to the server entry.
The key is sent as a Bearer token, the same way a hosted connection sends it,
so calls are metered and billed exactly as they are there.
It lists only this pack's tools by default. Set PIPEWORX_META_TOOLS=1 to
also list ask_pipeworx and the other gateway-wide tools.
Behind an HTTPS proxy: Node's built-in fetch does not read HTTPS_PROXY by
default. Newer Node releases honour it when NODE_USE_ENV_PROXY=1 is set; check
your Node version's documentation.
Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
ask_pipeworx({ question: "your question about Product Barcode data" })The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Look up products by UPC, EAN, GTIN or ISBN across 500M+ barcodes, or search by name. No key to try.
Look up a product by EAN/UPC barcode: factual attributes and government recall notices.
Search and look up products across thousands of online stores, normalized into one schema.
- StoreRouterDeprecatedai.storerouter
Search and look up products across thousands of online stores, normalized into one schema.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceMCP server for looking up product information by UPC, EAN, GTIN barcodes and PLU produce codes.-
- AlicenseNot gradedqualityCmaintenanceEnables querying Open Food Facts product database by barcode, full-text search, category, brand, or country.78 npmMIT
- AlicenseAqualityDmaintenanceEnables querying authoritative product data from GS1 Brasil's Verified by GS1 API via GTIN, including brand, description, classifications, images, weights, dimensions, and licensee details, with support for national and international bases and batch enrichment.4MIT
- AlicenseBqualityBmaintenanceEnables querying a global food nutrition database of generic and branded products, including search by name, lookup by barcode, and retrieval of resolved nutrient values pinned to a dated snapshot. Coverage spans USDA FoodData Central and Open Food Facts sources, with freshness health checks available.9AGPL 3.0