About asinlens
asinlens is a local bridge to Easyparser's hosted MCP service, providing agents with Amazon product, seller, and search data. It forwards product and seller lookups, sales history, and account bulk-job information without scraping or storing Amazon data itself.
Key features
- 01Retrieve product details, offers, and ranks
- 02Search products and map barcodes to ASINs
- 03View sales history and package dimensions
- 04Get seller profiles, catalogs, and feedback
- 05Inspect bulk jobs, logs, and credit balance
Use cases
- 01Compare product offers and Buy Box details
- 02Track sales, price, and rank trends
- 03Find Amazon products from barcodes
- 04Review seller feedback and bulk-job status
MCP support
It runs as an MCP server, exposing Easyparser's hosted read-only tools to MCP clients and forwarding calls upstream. Results are returned unchanged.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
17Saved tool list · updated 1w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | No | Full Amazon product URL (e.g. https://www.amazon.com/dp/B0CJB6V2L5). Use this when the user pastes a link instead of an ASIN. |
| asin | string | No | Amazon Standard Identification Number — a 10-character alphanumeric product identifier (e.g. B0CJB6V2L5). Found in the product URL after /dp/ or /gp/product/. |
| domain | enum | No | Amazon marketplace domain extension. Determines the regional Amazon site the data is fetched from. Use the domain that matches the user's market — prices, availability and rankings differ across marketplaces..com | .co.uk | .de | .fr | .it | .es | .ca | .com.mx | .com.br | .co.jp | .in | .com.au | .ae | .sa | .nl | .pl | .se | .be | .com.tr | .sg | .ie |
| currency | string | No | ISO currency code for price display (e.g. usd, eur, try). Prices are converted by Amazon's own display logic. |
| language | string | No | Language code for the Amazon page, in locale format (e.g. en_US, de_DE, tr_TR). Affects the language of titles, descriptions and reviews in the response. |
| seller_id | string | No | Fetch the product as offered by a specific seller (their Seller ID). Only use when the user asks about a specific merchant's offer. |
| a_plus_content | boolean | No | Set true to include the 'From the manufacturer' A+ enhanced brand content. Costs 1 additional credit. Default false. |
Details
From the project READMEasinlens
asinlens is a small local bridge to Easyparser's hosted MCP server, which turns Amazon pages into structured data: product details and offers, keyword search, barcode-to-ASIN lookup, sales history, Best Sellers Rank, package dimensions, and seller profiles, feedback and catalogues — plus the account's bulk-job, webhook-log, error-log and credit-balance views.
The bridge keeps no Amazon data and scrapes nothing itself. It serves the upstream server's tool list locally, exactly as captured from the live endpoint, and forwards each tool call upstream, returning the result untouched. Every captured tool is a data read: this rebuild adds no write capability.
Tools
Product data:
get_product_detail— the full product profile: title, brand, images, bullets, Buy Box price and availability, Prime eligibility, rating, rank, variants, specifications and top reviews. Give eitherasinorurl, never both; optionaldomain,language,currency,a_plus_contentandseller_id. No required arguments.get_product_offers— every seller offer for one product, with price, shipping, condition, fulfilment type and the Buy Box winner. Required:asin. Optional filters includeprime,free_shipping,conditionand a page range.search_products— keyword or search-URL search with structured listings and refinement filters. Optionalsort_by,exclude_sponsored,refinementsand a page range. No required arguments.lookup_product— convert a UPC, EAN, GTIN, ISBN, JAN or MINSAN code (or an ASIN) into the matching Amazon ASIN with a product snapshot. Required:identifierandidentifier_type.get_sales_history— up to 12 months of weekly trends for traffic, sales, price and rank. Required:asin;history_rangepicks the depth.get_bestseller_rank— the current Best Sellers Rank in main and sub-categories. Required:asin.get_package_dimensions— exact package size and weight plus the Amazon fee category, for FBA fee and shipping estimates. Required:asin.
Seller data:
get_seller_profile— a merchant's legal business name, registered address and feedback trends. Give eitherseller_idorurl. No required arguments.get_seller_products— a seller's full catalogue with prices, Prime status and ratings. Give eitherseller_idorurl. No required arguments.get_seller_feedback— individual buyer feedback entries, filterable by rating and period. Required:seller_id.
Account and bulk monitoring:
list_operations— the upstream operation catalog with parameters, credit costs and examples.list_bulk_jobs— bulk extraction jobs and their progress, filterable by status, operation and domain.get_bulk_job_items— the items inside one bulk job. Required:group_id.get_bulk_item_result— the parsed result data of one bulk item (retained 24 hours after completion). Required:item_id.get_bulk_webhook_logs— webhook delivery logs for bulk jobs, optionally scoped to onegroup_id.get_error_logs— the account's API error logs for real-time and bulk channels.check_credits— plan, credit balance, reset date, rate limits and this month's usage by operation. No arguments.
Configuration
EASYPARSER_MCP_URL(optional) — override the upstream endpoint. Defaults tohttps://mcp.easyparser.com/mcp. (The override hook is this rebuild's own labelled reconstruction.)EASYPARSER_API_KEY(optional) — when set, every upstream request carries anAuthorization: Bearer <key>header. When it is not set, no auth header is sent. (This forwarding is also a labelled reconstruction; the original surface was captured keyless, though the registry record declares the Authorization header.)
Forwarding mechanics
On the first tool call the client opens a streamable
HTTP session with the upstream: a JSON-RPC
initialize request (protocolVersion 2025-03-26,
clientInfo name asinlens), then a
notifications/initialized notification, then the
tools/call request carrying the caller's arguments
unchanged. When the upstream answers initialize
with an Mcp-Session-Id header, that value rides on
every later request of the session, which is reused
for the life of the process. Replies may arrive as
plain JSON or as server-sent events; both are read.
Successful upstream results pass through verbatim,
including any isError flag the upstream sets.
Failures — a JSON-RPC error, a non-2xx status, an
unreadable response, or a request that cannot be
completed — come back as an isError result whose
text starts with asinlens error: (this rendering is
this rebuild's own labelled reconstruction).
CLI
Each tool is also a subcommand taking one JSON argument string (omit it for tools that take none):
npx @reneturcios/asinlens get_product_offers '{"asin":"B0CJB6V2L5"}'
npx @reneturcios/asinlens lookup_product '{"identifier":"724382975021","identifier_type":"UPC"}'
npx @reneturcios/asinlens check_credits
npx @reneturcios/asinlens --version
Exit codes: 0 on success, 1 on an isError
result, 2 on a usage error.
MCP server
npx -y @reneturcios/asinlens mcp
MCP client config:
{
"mcpServers": {
"asinlens": {
"command": "npx",
"args": ["-y", "@reneturcios/asinlens", "mcp"]
}
}
}
Docker
docker run -i ghcr.io/cloudcorprecords/asinlens
docker run --rm ghcr.io/cloudcorprecords/asinlens --version
The container's default command is mcp, so the first
form is a stdio MCP server; any other arguments reach
the CLI normally.
Development
npm install
npm run build
npm test
npm run dev
The test suite runs entirely against a stubbed JSON-RPC upstream — no live network calls.
License
MIT — see LICENSE.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.