Docs
Quick start
ShopPilot finds products, compares them and returns a real Amazon buy link with this site's affiliate tag. It works two ways: a plain web API, and an MCP server that AI agents such as Claude can connect to.
- Ask for something, for example "wireless mouse under $30".
- Compare two or more results side by side.
- Open the buy link. If you already have an Amazon product URL or ASIN, paste it and you get the proper buy link back.
Connect an AI agent (MCP)
The MCP endpoint is https://buildanythinginstantly.com/index.php/wp-json/shoppilot/v1/mcp. It uses the Streamable HTTP transport (JSON-RPC 2.0 over POST) and needs no login.
Claude (web and desktop)
Open Settings, then Connectors, choose "Add custom connector" and paste this URL. Claude connects from the cloud, so the site must be reachable on the public internet over HTTPS.
https://buildanythinginstantly.com/index.php/wp-json/shoppilot/v1/mcpClaude Code
Works with local sites too (for example http://localhost:8080).
claude mcp add --transport http shoppilot https://buildanythinginstantly.com/index.php/wp-json/shoppilot/v1/mcpAny MCP client (JSON config)
For clients that support remote Streamable HTTP servers, such as a project .mcp.json file.
{
"mcpServers": {
"shoppilot": {
"type": "http",
"url": "https://buildanythinginstantly.com/index.php/wp-json/shoppilot/v1/mcp"
}
}
}Clients that only speak stdio
The mcp-remote bridge lets stdio-only clients use the remote server. Requires Node.js.
{
"mcpServers": {
"shoppilot": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://buildanythinginstantly.com/index.php/wp-json/shoppilot/v1/mcp"
]
}
}
}Test with cURL
Lists the available tools.
curl -s -X POST 'https://buildanythinginstantly.com/index.php/wp-json/shoppilot/v1/mcp' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools\/list"}'MCP tools
All tools are read-only. Nothing is purchased or changed on your behalf.
search_products- Search for products to buy (for example "wireless mouse under $30"). Returns a ranked shortlist. Every result includes price, ratings when known, why it ranked, and the real Amazon purchase link in `buy_url` (already carrying the site's affiliate tag) plus an `add_to_cart_url`. Present `buy_url` to the user as the link to buy. Price limits can be written in the query or passed as max_price / min_price.
find_and_compare- One call for the whole shopping flow: search, take the top matches, and compare them side by side with a verdict (best overall, best value, lowest price, top rated) and a buy link for each. Best default when the user asks "what should I buy?".
compare_products- Compare 2 to 6 specific products side by side. Each item can be an ASIN or an Amazon product URL. Returns an attribute table, a verdict and a buy link for each.
get_buy_link- Turn an ASIN, an Amazon product URL (any marketplace) or an amzn.to / a.co short link into a proper purchase link with the site's affiliate tag, plus an add-to-cart link. Use this when the user already has a product in mind.
get_product_details- Details for one product (price, features, specs, pros and cons when known) plus its buy link. Accepts an ASIN or an Amazon product URL.
REST API
Base URL: https://buildanythinginstantly.com/index.php/wp-json/shoppilot/v1
| Method | Path | Parameters | Returns |
|---|---|---|---|
| GET | /search | q, limit, min_price, max_price, sort, prime_only, marketplace | Ranked matches with reasons and badges. |
| GET | /products/{asin} | marketplace | One product. |
| GET/POST | /resolve | input | Turns an ASIN, Amazon URL or short link into an ASIN and buy link. |
| GET/POST | /buy-link | input, quantity, marketplace | The buy link (and add-to-cart link) for a product. |
| GET/POST | /compare | items[] (2 to 6) | Side-by-side comparison with a verdict. |
| GET/POST | /shortlist | q, count, max_price | Search plus comparison in one call. |
| GET | /health | Status of the service and its data sources. |
Every response includes ok, the disclosure text, a price notice and a timestamp. Errors use the standard WordPress REST format with a code and message.
Examples
Search
curl -G 'https://buildanythinginstantly.com/index.php/wp-json/shoppilot/v1/search' --data-urlencode 'q=wireless mouse under $30'Turn any Amazon link into a buy link
curl -G 'https://buildanythinginstantly.com/index.php/wp-json/shoppilot/v1/buy-link' --data-urlencode 'input=https://www.amazon.com/dp/B08N5WRWNW'Compare
curl -X POST 'https://buildanythinginstantly.com/index.php/wp-json/shoppilot/v1/compare' \
-H 'Content-Type: application/json' \
-d '{"items":["B08N5WRWNW","B07XJ8C8F5"]}'Discovery files
Agents and crawlers can find everything from these standard locations:
- llms.txt
https://buildanythinginstantly.com/llms.txt - OpenAPI 3.1
https://buildanythinginstantly.com/openapi.json - MCP server card
https://buildanythinginstantly.com/.well-known/mcp/server-card.json - API catalog (RFC 9727)
https://buildanythinginstantly.com/.well-known/api-catalog
Limits and etiquette
- Rate limit: 60 requests per minute per client. The X-RateLimit-* headers show what is left.
- Up to 10 results per search and 6 products per comparison.
- Prices change. Always show the final price from Amazon and tell people to confirm it before buying.
Affiliate links and disclosure
Buy links carry this site's Amazon Associates tag, so the site earns a commission on qualifying purchases at no extra cost to the buyer. Agents should show the buy_url exactly as returned and keep the disclosure with it.
As an Amazon Associate I earn from qualifying purchases.