Skip to main content
Glama
blocket-mcp

blocket-mcp

by Thunberg087

blocket-mcp

MCP server wrapping BlocketAPI — search Sweden's Blocket marketplace from Cursor (or any MCP client).

No API key required. Rate limit: 5 requests/second.

Tools

Tool

Description

search

General keyword search (/v1/search)

search_cars

Used cars with vehicle filters

search_boats

Used boats

search_motorcycles

Used motorcycles

get_ad

Full listing details by id + type

list_filter_options

Static enum lists (locations, categories, models, …)

Related MCP server: Airbnb MCP Server

Setup

npm install
npm run build

Cursor configuration

Add to your MCP settings (e.g. ~/.cursor/mcp.json):

{
  "mcpServers": {
    "blocket": {
      "command": "node",
      "args": ["/absolute/path/to/blocket-mcp/build/index.js"]
    }
  }
}

For local development without building:

{
  "mcpServers": {
    "blocket": {
      "command": "npx",
      "args": ["tsx", "/absolute/path/to/blocket-mcp/src/index.ts"]
    }
  }
}

Smoke test

Runs against the live API (needs network):

npm run smoke-test

Example usage

Ask the agent:

  • “Search Blocket for iPhone 15 in Stockholm under 5000 SEK”

  • “Find Volvo cars from 2018+ under 200000 SEK”

  • “Get details for ad id 12345678 (recommerce)”

API reference

Not affiliated with Blocket AB.

Available Tools

6 tools
get_adA

Get full details for a specific Blocket listing by ID and ad type. Use an id from search results. Match type to the search that found it (recommerce for general search, car/boat/mc for vehicle searches).

Inputs: id (required), type (required).

list_filter_optionsA

Return static enum lists for BlocketAPI filters (locations, categories, car models, boat types, etc.). Use this when you need valid enum values without guessing.

Inputs: group.

search_boatsA

Search used boats on Blocket with boat-specific filters (type, length, price).

Inputs: page, query, types, org_id, +6 more.

search_carsA

Search used cars on Blocket with vehicle-specific filters (make, year, mileage, transmission, color, horsepower). Note: mileage params are spelled milage_from / milage_to to match the API.

Inputs: page, query, colors, models, +13 more.

search_motorcyclesA

Search used motorcycles on Blocket with MC-specific filters (make, type, engine volume, price).

Inputs: page, query, types, models, +7 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: general search, car search, boat search, motorcycle search, ad details, and filter options. Even the three vehicle searches are distinguishable by vehicle type and specialized filters.

    Naming Consistency5/5

    All tool names follow a consistent lowercase underscore pattern with verbs like list, search, and get. The specialized searches (search_cars, search_boats, search_motorcycles) fit the same pattern as the base search.

    Tool Count5/5

    Six tools is well-scoped for a marketplace search server. It covers general listings, vehicle-specific filters, ad details, and filter enums without unnecessary bloat.

    Completeness5/5

    The surface covers the core read-only workflow: discover filter options, search across categories, and fetch full ad details. No obvious gaps for the stated domain.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers