
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@buywhere/paperclip
Advanced tools
BuyWhere tools for Paperclip agents — search and compare products across Singapore, SEA, and US markets. Product catalog and price comparison for AI agent commerce.
BuyWhere tools for Paperclip agents — search and compare products across Singapore, SEA, and US markets. Part of the BuyWhere product catalog API for AI agent commerce.
npm install @buywhere/paperclip
import { createToolHandlers } from "@buywhere/paperclip";
// Requires BUYWHERE_API_KEY env var
const tools = createToolHandlers();
const result = await tools.search_products.handler({
q: "wireless headphones",
limit: 5,
});
console.log(result);
Paperclip agents can use BuyWhere tools in two ways:
import { BuyWhereClient, createToolHandlers } from "@buywhere/paperclip";
const client = new BuyWhereClient({ apiKey: "bw_live_xxxx" });
const tools = createToolHandlers(client);
// Search products
const results = await tools.search_products.handler({
q: "mechanical keyboard",
country_code: "SG",
limit: 10,
});
Add this to your Paperclip agent's configuration:
{
"mcpServers": {
"buywhere": {
"command": "npx",
"args": ["-y", "@buywhere/mcp-server"],
"env": {
"BUYWHERE_API_KEY": "bw_live_xxxx"
}
}
}
}
The
@buywhere/mcp-serverpackage is already published and maintained separately.
| Tool | Description |
|---|---|
search_products | Search catalog by keyword, price range, region |
get_product | Get full product details by ID |
compare_products | Compare 2-10 products side-by-side |
get_deals | Get discounted products sorted by discount |
list_categories | List top-level product categories |
BuyWhereClientconst client = new BuyWhereClient({ apiKey: string, baseUrl?: string, timeout?: number });
BuyWhereClient.fromEnv()Creates a client using BUYWHERE_API_KEY and optional BUYWHERE_API_URL environment variables.
createToolHandlers(client?: BuyWhereClient): ToolHandlerMapReturns an object with named ToolHandler entries, each having:
name — tool namedescription — tool descriptioninputSchema — JSON Schema for input validationhandler(args) — async function that calls the BuyWhere API| Variable | Description |
|---|---|
BUYWHERE_API_KEY | Your BuyWhere API key (required) |
BUYWHERE_API_URL | Custom API base URL (optional, default: https://api.buywhere.ai) |
Get your API key at https://buywhere.ai.
MIT
FAQs
BuyWhere tools for Paperclip agents — search and compare products across Singapore, SEA, and US markets. Product catalog and price comparison for AI agent commerce.
The npm package @buywhere/paperclip receives a total of 3 weekly downloads. As such, @buywhere/paperclip popularity was classified as not popular.
We found that @buywhere/paperclip demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.