Skip to main content
Glama
Trade Me MCP Server

Trade Me MCP Server

by BlueFin605

Trade Me MCP Server

An MCP (Model Context Protocol) server that lets AI assistants search Trade Me listings using natural language. No API key required.

Setup

Prerequisites

  • Node.js 18+

Install

cd /path/to/TradeMeMCP
npm install

Add to Claude Code

Create or edit .mcp.json in your project root (or ~/.claude/.mcp.json for global access):

{
  "mcpServers": {
    "trademe": {
      "command": "npx",
      "args": ["tsx", "/path/to/TradeMeMCP/src/index.ts"]
    }
  }
}

Restart Claude Code to pick up the new server.

Related MCP server: marktplaats-mcp

Tools

search_trademe

General search across all Trade Me marketplace categories — electronics, clothing, collectibles, etc.

Parameters: search_string (required), category, sort_order, condition, price_min, price_max, buy_now, region, page, rows

Example prompts:

  • "Find me a used tent under $200"

  • "Search for PS5 controllers in Wellington"

  • "What Nintendo Switch games were listed today?"

search_motors

Search Trade Me Motors for vehicles with make/model/year filtering.

Parameters: search_string, make, model, year_min, year_max, price_min, price_max, odometer_min, odometer_max, transmission, body_style, sort_order, region, page, rows

Example prompts:

  • "Find automatic SUVs under $30k with less than 100,000 km"

  • "Show me Toyota Hiluxes from 2018 or newer"

search_property

Search Trade Me Property for residential listings.

Parameters: search_string, price_min, price_max, bedrooms_min, bedrooms_max, bathrooms_min, property_type, district, region, sort_order, page, rows

Example prompts:

  • "3 bedroom houses in Wellington under $800k"

  • "Apartments for sale in Auckland with 2+ bathrooms"

get_listing

Get full details for a specific listing including description, photos, seller info, and bid history.

Parameters: listing_id (required)

Example prompts:

  • "Show me the full details for that first listing"

  • "Get more info on listing 5858861442"

get_categories

Browse Trade Me's category tree to discover category numbers for more targeted searches.

Parameters: category_number (optional — omit for top-level categories)

Example prompts:

  • "What categories does Trade Me have?"

  • "Show me the subcategories under Electronics"

Tips

  • New listings: Ask for results sorted by newest first — the tool supports StartDateDesc sort order, and Claude can filter by listing date.

  • Pagination: Results come 25 per page. Ask Claude to "show more" or "next page" to continue browsing.

  • Refinement: You can refine searches conversationally — "cheaper ones", "only in Auckland", "only used condition".

  • Cross-category: You don't need to know which Trade Me section something is in. Just describe what you want.

Project Structure

src/
  index.ts          — MCP server setup and tool registration
  api.ts            — Trade Me API client
  formatters.ts     — Response formatting (JSON → readable text)
  tools/
    search.ts       — search_trademe tool
    motors.ts       — search_motors tool
    property.ts     — search_property tool
    listing.ts      — get_listing tool
    categories.ts   — get_categories tool

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with New Zealand's largest online marketplace through the Trade Me API. Supports searching listings, managing watchlists, placing bids, making purchases, and accessing marketplace data across all Trade Me categories.
      6
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to search and monitor Dutch and Belgian classifieds (Marktplaats and 2dehands) for listings, seller profiles, and categories.
      8
      54 PyPI
      5
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables AI assistants to search and retrieve classified listings from marktplaats.nl and 2dehands.be, including details, seller info, categories, and saved searches, with optional authenticated access to messages, listings, favorites, and bids.
      14
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants and MCP clients to search classified listings with price sorting, retrieve detailed ad and seller contact information, and browse category and location taxonomies.
      4
      1
      MIT