Skip to main content
Glama
BuildWatch MCP Server

BuildWatch MCP Server

by jeletor
README.md
# BuildWatch MCP Server

An MCP (Model Context Protocol) server that provides AI agents with access to UK construction material prices from BuildWatch. Compare prices across major retailers including Screwfix, Wickes, B&Q, and Toolstation for timber, copper, cable, plasterboard, and thousands of other building materials.

## Installation

```bash
npm install buildwatch-mcp
```

Or run directly:
```bash
npx buildwatch-mcp
```

## Configuration

The server uses the public BuildWatch API by default. You can optionally configure a different API base URL:

```bash
export BUILDWATCH_API_URL=https://api.buildwatch.dev/api/v1
```

### Claude Desktop Configuration

Add to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "buildwatch": {
      "command": "npx",
      "args": ["buildwatch-mcp"]
    }
  }
}
```

## Tools

### 1. `search_products`
Search for construction materials by name.

**Input:**
- `query` (string): Search term (e.g., "copper pipe", "timber", "plasterboard")

**Example:** Find all copper-related products
```json
{
  "query": "copper pipe"
}
```

### 2. `get_prices`
Get current prices for a specific product across all merchants.

**Input:**
- `product` (string): Product slug (e.g., "copper-pipe-15mm-3m") or search term

**Example:** Get prices for 15mm copper pipe
```json
{
  "product": "copper-pipe-15mm-3m"
}
```

### 3. `compare_products`
Compare prices across multiple products side by side.

**Input:**
- `products` (array): 2-10 product slugs or search terms

**Example:** Compare different pipe sizes
```json
{
  "products": ["copper-pipe-15mm-3m", "copper-pipe-22mm-3m"]
}
```

### 4. `get_categories`
List all available product categories with counts.

**Example:** Browse all categories
```json
{}
```

### 5. `get_price_history`
Get historical price data showing price changes over time.

**Input:**
- `product` (string): Product slug
- `days` (number, optional): Days of history (default: 30)

**Example:** See price trends for the last 7 days
```json
{
  "product": "copper-pipe-15mm-3m",
  "days": 7
}
```

### 6. `get_cheapest`
Find the cheapest products in a category or matching a search.

**Input:**
- `category` (string, optional): Category slug (e.g., "timber-sheet", "copper-plumbing")
- `query` (string, optional): Search query
- `limit` (number, optional): Max results (default: 5)

**Example:** Find cheapest copper products
```json
{
  "query": "copper",
  "limit": 10
}
```

## Usage Examples

**Find cheapest insulation materials:**
```
Agent: Use get_cheapest with category="insulation" to find the most affordable insulation options
```

**Compare pipe prices:**
```
Agent: Use compare_products to compare prices between ["copper-pipe-15mm-3m", "copper-pipe-22mm-3m", "copper-pipe-28mm-3m"]
```

**Track price changes:**
```
Agent: Use get_price_history for "copper-pipe-15mm-3m" over the last 14 days to see if prices are trending up or down
```

**Search and price check:**
```
Agent: First search_products for "plasterboard 2.4m" then get_prices for the most relevant result
```

## Data Coverage

- **Merchants:** Screwfix, Wickes, B&Q, Toolstation
- **Categories:** Timber, Copper & Plumbing, Electrical, Insulation, Cement & Aggregates, Bricks & Blocks, Roofing, Drainage, Fixings, Sealants, Doors & Windows, Plasterboard
- **Products:** 1000+ construction materials
- **Updates:** Prices scraped multiple times daily
- **Coverage:** UK market focus with GBP pricing

## Links

- **Website:** [buildwatch.dev](https://buildwatch.dev)
- **API Documentation:** [buildwatch.dev/docs](https://buildwatch.dev/docs)
- **Repository:** [github.com/jackparnell/buildwatch-mcp](https://github.com/jackparnell/buildwatch-mcp)

## License

MIT © Jack Parnell

TDQS

B3.4/5.0

Scored across 6 tools

Disambiguation3/5

There is meaningful overlap between get_cheapest, search_products, get_prices, and compare_products, since several accept a query or product and return pricing information. The descriptions provide some distinctions, but an agent could easily choose search_products when get_cheapest or get_prices is intended.

Naming Consistency4/5

All tool names use consistent snake_case and mostly follow a verb_noun pattern. The main deviation is get_cheapest, which omits a noun like 'products', but the naming remains predictable and readable.

Tool Count5/5

Six tools is a well-scoped set for a construction-material price comparison server. Each tool covers a recognizable operation such as search, categories, price lookup, comparison, and history.

Completeness4/5

The surface covers the core price comparison lifecycle: search, category listing, current prices, cheapest products, comparisons, and history. Minor gaps include no explicit product-detail tool or merchant-listing tool, but most workflows can be handled with the existing tools.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues