PriceBell MCP Server
Official# PriceBell MCP Server
[](https://glama.ai/mcp/servers/pricebelldev/pricebell-mcp)
Official [Model Context Protocol](https://modelcontextprotocol.io) server for the [PriceBell](https://www.pricebell.dev) Google Shopping price tracking API.
Track Google Shopping prices in 33 countries with a scheduled watchlist, price history, sellers, cross-country comparison and alerts.
It lets Claude, Cursor, VS Code, Windsurf and any MCP client call the API as tools. Runs over **stdio** (local) or **Streamable HTTP** (self-hosted).
## Requirements
- Node.js 20 or newer
- a PriceBell API key — [sign up](https://www.pricebell.dev/signup), then copy it from the [dashboard](https://www.pricebell.dev/app)
## Hosted server (recommended)
PriceBell runs this server for you at **`https://www.pricebell.dev/api/mcp`** (Streamable HTTP). Send your API key as a Bearer token in the `Authorization` header; nothing to install.
```json
{
"mcpServers": {
"pricebell": {
"url": "https://www.pricebell.dev/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
```
The hosted server and this package expose the same tools; run the package locally when you want stdio, your own network egress, or to self-host it.
## Run it locally
### Claude Desktop, Cursor, Windsurf and other clients
Add the server to the client's MCP configuration (`claude_desktop_config.json`, `.cursor/mcp.json`…):
```json
{
"mcpServers": {
"pricebell": {
"command": "npx",
"args": ["-y", "@pricebell/mcp"],
"env": {
"PRICEBELL_API_KEY": "YOUR_API_KEY"
}
}
}
}
```
### VS Code
```json
{
"servers": {
"pricebell": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@pricebell/mcp"],
"env": {
"PRICEBELL_API_KEY": "${input:pricebell-api-key}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "pricebell-api-key",
"description": "PriceBell API key",
"password": true
}
]
}
```
### Claude Desktop extension
Download the `.mcpb` bundle from the releases page and open it; Claude Desktop asks for your API key.
### Docker
```sh
docker build -t pricebell-mcp .
docker run -i --rm -e PRICEBELL_API_KEY=YOUR_API_KEY pricebell-mcp
```
## Tools
| Tool | Description |
| --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `check_product` | Asks for a check right away (1 credit), at most once per 5 minutes; earlier calls return the product unchanged. A paused product has to be resumed first. The check runs in the background; with wait=t… |
| `compare_google_shopping_regions` | The same product tracked in several countries, cheapest first: each country's local price, the price converted into the comparison's currency, and how much dearer it is than the cheapest (gap_percent… |
| `untrack_product` | Removes the product and its price history. |
| `get_account` | Your plan, the credits left (monthly allowance and packs), how many products you track and the credits they use per month, the credits each alert email costs, the days of history you can read and, on… |
| `get_google_product_history` | Every price PriceBell read for a product ID on a marketplace over the period, whoever tracks it, oldest first, with the lowest, highest and average of those prices. A price the store gave in another… |
| `get_price_history` | The product's latest state and every price read of the period, oldest first. The history covers every read of this product ID on this marketplace, including those made before you added it, so a produ… |
| `get_google_shopping_sellers` | The sellers of a tracked product at its latest check, cheapest first: each offer that is the product as sold new (accessories, used, refurbished and rental offers, copies and multipacks are left out… |
| `leave_comparison` | The product leaves its comparison and stays tracked on its own. |
| `list_products` | Your watchlist, newest first, with each product's latest state and its recent prices (trend). Filter with google_product_id (and marketplace) to know if a product is tracked, or with filter to get th… |
| `search_google_shopping` | Google Shopping search results (sponsored included), to find the product ID of a product. Free, limited to 30 searches per hour. |
| `track_in_regions` | Tracks the same product in other countries, each one a product of your watchlist (its own checks and credits, within your plan's product limit: all of them fit, or none is added), searched there with… |
| `track_product` | Adds a product ID or a Google Shopping link to your watchlist. A product ID alone works only for a product PriceBell already knows in that country (a search result, or one added by its link before):… |
| `update_comparison` | The currency prices are converted into, and the "cheaper in another country" alert: an email (and chat channels) when another country's converted price is at least alert_percent below home's, once wh… |
| `update_product` | Target price, drop alerts, check interval, or pause. Send only what changes. On the free plan, alerts (price drop, offered again, target price) email for the first 5 products added among the active o… |
Every tool that calls the API consumes credits. JSON results are returned as text; images are returned inline and other files (PDF…) as embedded resources, up to 4 MB.
## Streamable HTTP
```sh
npx @pricebell/mcp --http --port 3000
```
The endpoint is `POST /mcp` (stateless, JSON responses). Each client sends its own key in the `x-api-key` header (or `Authorization: Bearer <key>`); the server never uses a key of its own. It binds to `127.0.0.1` by default and rejects browser origins unless you allow them — put it behind TLS before exposing it.
`createHttpHandler()` is exported for Fetch-compatible runtimes (Cloudflare Workers, Deno, Bun):
```ts
import { createHttpHandler } from "@pricebell/mcp";
export default { fetch: createHttpHandler({ allowedOrigins: [] }) };
```
## Security
- The API key is read from `PRICEBELL_API_KEY` (stdio) or the request headers (HTTP) and removed from error messages.
- Content fetched from websites is untrusted: the server instructions tell the model to treat it as data, not instructions.
- See [SECURITY.md](SECURITY.md) to report a vulnerability.
## Development
```sh
npm install
npm test
npm run build
npx @modelcontextprotocol/inspector node dist/stdio.js
```
## Built on the SDK
The server uses the official [Node.js SDK](https://github.com/pricebelldev/pricebell-node) (`@pricebell/sdk`).
## All PriceBell SDKs
| SDK | Package | Install |
| ---------- | ------------------------------------------------------------------------- | --------------------------------------------- |
| Node.js | [`@pricebell/sdk`](https://www.npmjs.com/package/@pricebell/sdk) | `npm install @pricebell/sdk` |
| Python | [`pricebell`](https://pypi.org/project/pricebell/) | `pip install pricebell` |
| Go | [`pricebell-go`](https://pkg.go.dev/github.com/pricebelldev/pricebell-go) | `go get github.com/pricebelldev/pricebell-go` |
| .NET | [`PriceBell`](https://www.nuget.org/packages/PriceBell) | `dotnet add package PriceBell` |
| Ruby | [`pricebell`](https://rubygems.org/gems/pricebell) | `gem install pricebell` |
| PHP | [`pricebell/sdk`](https://packagist.org/packages/pricebell/sdk) | `composer require pricebell/sdk` |
| Java | [`pricebell-java`](https://github.com/pricebelldev/pricebell-java) | build from source, see its README |
| CLI | [`@pricebell/cli`](https://www.npmjs.com/package/@pricebell/cli) | `npm install -g @pricebell/cli` |
| MCP server | [`@pricebell/mcp`](https://www.npmjs.com/package/@pricebell/mcp) | `npx -y @pricebell/mcp` |
## Trademarks
Google and Google Shopping are trademarks of Google LLC. PriceBell is not affiliated with, endorsed or sponsored by Google.
## License
MIT — see [LICENSE](LICENSE).
TDQS
Scored across 14 tools
Most tools map to distinct actions (track/untrack/check/list/search), but get_price_history and get_google_product_history are genuinely confusable — both return price history, and the 'google' prefix does not clearly signal 'any product ID, whoever tracks it' versus 'your tracked product'. The comparison pair (compare_google_shopping_regions / track_in_regions / update_comparison / leave_comparison) is also conceptually dense, though descriptions do draw the lines.
Every tool follows a snake_case verb_noun pattern (track_product, untrack_product, get_price_history, update_comparison, list_products, check_product). Verb choice is predictable: get_ for reads, update_/track_/untrack_/leave_ for mutations, check_ for actions.
14 tools sits squarely in the well-scoped range and each covers a distinct operation of a price-tracking lifecycle (search, track, compare, check, read history, manage alerts, account). No filler tools are visible.
The surface covers the full lifecycle: discover (search), create (track_product/track_in_regions), read (list_products, histories, sellers), update (update_product, update_comparison, check_product), delete (untrack_product, leave_comparison), plus account/billing state. Minor gaps remain — no explicit notification-channel or alert-listing tool, and no bulk operations — but agents can work around these.