Blocket MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Blocket MCP find sailboats over 28 feet near Stockholm, cheapest first"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Blocket MCP
MCP server that lets ChatGPT, Claude and other clients search Blocket.se, open ads and check whether an asking price makes sense. It knows Torget and all twelve vehicle sections, from cars and boats to combines and snowmobiles.
Read-only. No account or API key.
Tools
searchtakes filters in plain words likeVolvo V70,SegelbåtorStockholmand looks up Blocket's ids itself. A misspelled make comes back with suggestions.exclude: ["skal", "laddare", "köpes"]clears phone cases, chargers and wanted ads out of an iPhone search, anddealsrates every ad against the median price of the same search.get_adopens up to five ads in full, seller included. If the text wants Swish up front, moves you to WhatsApp or has a foreign number in it, you'll hear about it. Vehicles with a visible reg number get car.info and biluppgifter links. Several ads come back side by side.get_ad_photoshands the model up to 8 photos of an ad. If it can see, it can spot the rust the seller forgot to mention.price_checkpulls live ads for the same make and model, close in year and mileage, or boats of about the same length. You get p10 to p90 and the spot where your ad lands. Give itnew_price(from Billigast, say) and it also shows what share of the shop price people ask. Blocket hides sold prices, so these are asking prices.list_filterslists a section's filters with live counts.
ChatGPT shows the results as cards with photos.
Related MCP server: marktplaats-mcp
Local
For Claude Desktop there's a .mcpb file under Releases. Double-click it and it installs.
Anything else can run it in Docker:
claude mcp add blocket -- docker run -i --rm ghcr.io/idoo/blocket-mcpWithout Docker, Node 20 or newer works too:
npm ci && npm run build:stdio
node dist/blocket-mcp.jsChatGPT, claude.ai
ChatGPT and claude.ai won't talk to your laptop. I host mine on a Cloudflare Worker, free plan:
npm ci && npx wrangler deploy
npx wrangler secret put MCP_PATH_TOKEN # openssl rand -hex 24My own Worker redeploys on every push to main from my home server (air-ci, see .air.yml); the commands above, from a clean committed checkout, are the manual fallback.
Paste https://<your worker>.workers.dev/mcp/<token> as the URL. The token is the only lock, so make it long. Other paths return 404, and wrangler.jsonc caps calls at 120 a minute. ChatGPT: Plugins, Add custom MCP server, no auth. claude.ai: Settings, Connectors.
Firebase works as well if you're on the Blaze plan:
npm ci && npm --prefix functions ci
firebase login && firebase use --add
firebase functions:secrets:set MCP_PATH_TOKEN
firebase deploy --only functionsYour URL is https://europe-north1-<project-id>.cloudfunctions.net/mcp/<token>. Firebase has no rate limiter, so the function stops at 3 instances. Region and limits are at the top of functions/src/index.ts.
Caveats
Blocket has no public API. The server calls the JSON endpoints blocket.se's own pages load, so when Blocket changes them this breaks until someone patches it. Filters are matched against Blocket's live lists, and a make that appeared last week already works.
The endpoint notes in dunderrrrrr/blocket_api got me started. Not affiliated with Blocket AB. MIT.
Available Tools
5 toolsget_adGet Blocket adsARead-onlyIdempotent
Full details of 1-5 ads by id or blocket.se URL: description, specs, equipment, all photos, place, status (active/sold/removed), seller (dealer, years on Blocket, other ads via seller.id), shipping/buy-now, favourites count, red flags and vehicle history links. Several ids render a comparison.
Inputs: ids (required).
get_ad_photosGet Blocket ad photosARead-onlyIdempotent
An ad's photos as images (640 px wide JPEGs) to look at the item's condition yourself, plus its title, url and total photo count. Returns the first max photos (default 4, up to 8).
Inputs: id (required), max.
list_filtersList Blocket filtersARead-onlyIdempotent
Filter names and values (with live ad counts) available for a vertical, to use in search.filters. Pass filter to list one filter's values, query to find values by substring (e.g. filter 'make', query 'hallberg').
Inputs: vertical (required), query, filter.
price_checkCheck a Blocket priceARead-onlyIdempotent
Use this when the user asks what a used item sells for on Blocket, whether an asking price is fair, or whether to buy used or new. Returns the asking-price distribution (p10/p25/median/p75/p90) of comparable live ads, with up to 6 example ads. Give ad_id to judge that ad (comparables are derived from its make, model, year, mileage or length; its percentile is returned), or describe the item with the search filters. For Torget items pass a short query (e.g. 'iphone 13 128gb') for good comparables; for mass-market products (phones, consoles, headphones) also pass title_only and excludes for accessories and wanted ads, e.g. ['skal', 'fodral', 'laddare', 'kontroll', 'controller', 'headset', 'fäste', 'cover', 'köpes', 'bytes']. With require/exclude/title_only the stats come from those of the newest 200 ads that pass them (scanned, dropped). Pass new_price when a shop price comparison gave you one: vs_new says what % of it the median and the ad ask, and ads under 10% of it are left out as accessories or parts. Explicit filters override the derived ones.
Inputs: near, ad_id, query, trade, +17 more.
searchSearch BlocketARead-onlyIdempotent
Search live Blocket ads in any vertical with filters, distance and sorting. Returns compact rows (price, place, age, seller, badges, key specs, url, photo, risk_words), the total count, the filters applied, unmatched filter values with suggestions, optional facets (value counts to refine with) and blocket_url (the same search on blocket.se). exclude/require/title_only drop off-topic rows and read up to 4 more pages to refill (scanned, dropped, next_page). deals labels each row's price against the same search's asking prices (deal_basis). Not for prices in shops (new products): use a price comparison tool such as Billigast.
Inputs: near, page, rows, sort, +21 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a largely distinct role: search lists ads, list_filters discovers filter values, get_ad retrieves full ad details, get_ad_photos returns images, and price_check computes price statistics. search and price_check both accept filters and return comparable ads, and get_ad already lists photo metadata, so there is some surface overlap, but the descriptions clearly differentiate browsing from valuation and detail inspection.
All names use snake_case casing, which is consistent. However, the structural pattern is mixed: list_filters, get_ad, and get_ad_photos follow verb_noun, search is a bare verb, and price_check is noun_noun. This is readable but not a single predictable convention.
Five tools is well-scoped for a read-only marketplace search server. Each tool covers a distinct part of the workflow—search, filter discovery, ad detail, photos, and price analysis—without obvious redundancy.
The core read-only lifecycle is covered: discovery via search, filter discovery, full ad details, photo inspection, and price valuation. Minor gaps remain, such as no tool to enumerate verticals/categories and no direct tool for listing a seller's other ads despite get_ad referencing seller.id for that purpose.
Maintenance
Related MCP Connectors
Lets ChatGPT or Claude watch for a used car or apartment not yet on offer and email you
AI-agent-first offers directory: search and publish listings via MCP.
Pay-per-use tool marketplace for AI agents. Search, price-check, and call APIs via MCP.
Search Facebook Marketplace, inspect listings and analyze deals. Paid Spottable Pro/Max required.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to search and retrieve listings from Sweden's largest second-hand marketplaces, Blocket and Tradera. Returns unified data including prices, images, seller information, and direct links to listings.9MIT
- AlicenseAqualityBmaintenanceEnables AI agents to search and monitor Dutch and Belgian classifieds (Marktplaats and 2dehands) for listings, seller profiles, and categories.854 PyPI5MIT
- AlicenseAqualityDmaintenanceEnables searching and retrieving listings from Sweden's Blocket marketplace, including cars, boats, motorcycles, and general items, without requiring an API key.6MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to search and retrieve used and new car listings from carsales.com.au, with support for various filters and detailed listing information including images. It uses a real browser to bypass bot protection and integrates with MCP-compatible clients like Claude Desktop and Claude Code.192MIT