Amazon.in MCP Server
Search Amazon.in for the cheapest in-stock and best-value listings from your LLM
Amazon.in MCP Server is an open-source MCP server for e-commerce. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- Version
- 0.2.0
- Listing updated
Similar MCP servers
Install
You install MCP servers on a computer. Send yourself the link.
Add with the CLI
Run in a terminal
claude mcp add amazon-in-mcp-server --env AMAZON_IN_PROXY='<AMAZON_IN_PROXY>' -- npx -y amazon-in-mcp-serverAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"amazon-in-mcp-server": {
"command": "npx",
"args": [
"-y",
"amazon-in-mcp-server"
],
"env": {
"AMAZON_IN_PROXY": "<AMAZON_IN_PROXY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"amazon-in-mcp-server": {
"command": "npx",
"args": [
"-y",
"amazon-in-mcp-server"
],
"env": {
"AMAZON_IN_PROXY": "<AMAZON_IN_PROXY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"amazon-in-mcp-server": {
"command": "npx",
"args": [
"-y",
"amazon-in-mcp-server"
],
"env": {
"AMAZON_IN_PROXY": "<AMAZON_IN_PROXY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"amazon-in-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"amazon-in-mcp-server"
],
"env": {
"AMAZON_IN_PROXY": "<AMAZON_IN_PROXY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add amazon-in-mcp-server --env AMAZON_IN_PROXY='<AMAZON_IN_PROXY>' -- npx -y amazon-in-mcp-serverOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.amazon-in-mcp-server]
command = "npx"
args = ["-y", "amazon-in-mcp-server"]
env = { AMAZON_IN_PROXY = "<AMAZON_IN_PROXY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"amazon-in-mcp-server": {
"command": "npx",
"args": [
"-y",
"amazon-in-mcp-server"
],
"env": {
"AMAZON_IN_PROXY": "<AMAZON_IN_PROXY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "amazon-in-mcp-server": { "command": "npx", "args": [ "-y", "amazon-in-mcp-server" ], "env": { "AMAZON_IN_PROXY": "<AMAZON_IN_PROXY>" } } } }Or run: gemini mcp add -s user -e AMAZON_IN_PROXY='<AMAZON_IN_PROXY>' amazon-in-mcp-server npx -- -y amazon-in-mcp-server
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "amazon-in-mcp-server": { "command": "npx", "args": [ "-y", "amazon-in-mcp-server" ], "env": { "AMAZON_IN_PROXY": "<AMAZON_IN_PROXY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "amazon-in-mcp-server": { "command": "npx", "args": [ "-y", "amazon-in-mcp-server" ], "env": { "AMAZON_IN_PROXY": "<AMAZON_IN_PROXY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "amazon-in-mcp-server": { "command": "npx", "args": [ "-y", "amazon-in-mcp-server" ], "env": { "AMAZON_IN_PROXY": "<AMAZON_IN_PROXY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "amazon-in-mcp-server": { "command": "npx", "args": [ "-y", "amazon-in-mcp-server" ], "env": { "AMAZON_IN_PROXY": "<AMAZON_IN_PROXY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "amazon-in-mcp-server": { "command": "npx", "args": [ "-y", "amazon-in-mcp-server" ], "env": { "AMAZON_IN_PROXY": "<AMAZON_IN_PROXY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "amazon-in-mcp-server": { "command": "npx", "args": [ "-y", "amazon-in-mcp-server" ], "env": { "AMAZON_IN_PROXY": "<AMAZON_IN_PROXY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "amazon-in-mcp-server": { "command": "npx", "args": [ "-y", "amazon-in-mcp-server" ], "env": { "AMAZON_IN_PROXY": "<AMAZON_IN_PROXY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
AMAZON_IN_AFFILIATE_TAGOverride the default Amazon Associates tag baked into emitted amazon.in URLs. Set to an empty string to disable affiliate tagging entirely.AMAZON_IN_PROXYOptional HTTP/HTTPS proxy URL (e.g. http://user:pass@host:8080) to route all amazon.in requests through. Helps when a datacenter or CI IP is bot-blocked. Unset means a direct connection.AMAZON_IN_CACHE_TTL_MSLifetime in milliseconds for the in-memory page cache that de-duplicates repeated lookups. Defaults to 90000 (90s); set to 0 to disable caching.
About Amazon.in MCP Server
This is a local stdio server that scrapes amazon.in directly, so it needs no paid API, account or key. Its search tool returns ranked listings plus two picks: the cheapest in-stock item, and a best-value pick scored as rating times log10 of reviews divided by the square root of price, among in-stock listings with at least 10 reviews. A product tool returns price, MRP, discount, rating, review count, stock, bullets, brand, seller and delivery, and a third tool builds a Keepa chart link for price history without a network call.
The README is open about its limits. It identifies itself with an honest user agent rather than posing as a browser, retries up to three times with backoff, falls back to the mobile search endpoint when it meets a bot check, caches pages in memory for 90 seconds, and says to expect roughly 1 to 5 percent of requests to fail during heavy use. An optional HTTP proxy variable helps when a datacenter IP is blocked. The server ships instructions telling clients to use it for amazon.in questions, and it does not accept image input.
URLs include the author's Amazon Associates tag by default, which funds the project at no extra cost to buyers; AMAZON_IN_AFFILIATE_TAG swaps in your own or turns tagging off. It is MIT licensed.
Tools this server provides (3)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 2 of 3 tools read data; 1 name doesn't say.
From the server's own tool labels and tool names; not verified by us.
- search_amazon_inName suggests: reads
- Ranked amazon.in listings plus cheapest in-stock and best-value picks.
- get_productName suggests: reads
- Full product detail for an ASIN or URL.
- price_history_link
- Keepa chart URL for the amazon.in product; no network call.
What it does
- Cheapest in stock
- Search returns the lowest-priced in-stock listing among results.
- Best-value pick
- Ranks in-stock items with 10+ reviews by rating, review count and price.
- Product detail
- Price, MRP, discount, rating, stock, seller and delivery for an ASIN or URL.
- Keepa link
- Builds a price-history chart URL for the amazon.in domain.
- Affiliate control
- Default tag can be replaced or disabled with an environment variable.
- Short cache
- Pages are cached for 90 seconds, adjustable or off.
Good for
- Find a product under a rupee budget and get a best-value pick
- Check price, MRP and discount for a pasted amazon.in link
- Open price history for an ASIN before buying
- Compare in-stock options for a search term
Pricing
Open source
MIT licensed; free to run.
Amazon.in MCP Server FAQ
Does Amazon.in MCP Server need an API key?
No. It scrapes amazon.in directly and runs locally over stdio.
How does best value work?
Among in-stock items with at least 10 reviews, it ranks by rating times log10(reviews + 10) over the square root of price.
Does Amazon.in MCP Server add affiliate tags?
By default yes, with the author's tag; set AMAZON_IN_AFFILIATE_TAG to your own or none to disable.
How reliable is Amazon.in MCP Server?
The README expects about 1 to 5 percent of requests to hit a bot check during heavy use.
Is Amazon.in MCP Server free?
Yes. Amazon.in MCP Server is open source, so you can use and self-host it for free.
How do I add Amazon.in MCP Server to Claude Code?
Run this command in your terminal: claude mcp add amazon-in-mcp-server --env AMAZON_IN_PROXY='<AMAZON_IN_PROXY>' -- npx -y amazon-in-mcp-server
What are the best alternatives to Amazon.in MCP Server?
The closest alternatives to Amazon.in MCP Server are ChatGPT for Amazon, Test Inventory, mercadolibre-mcp, ONAA Registry and Crossmart.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.
