sverige-begagnad-mcp
This server lets you search four major Swedish second-hand marketplaces — Blocket, Tradera, Klaravik, and Vinted — and return normalized results with titles, prices, locations, links, and images.
Search tools:
search_all— queries all four sources in a single callsearch_blocket,search_tradera,search_klaravik,search_vinted— target individual platformssearch_facebook_marketplace— disabled by default (violates Facebook ToS)
Filtering options:
Price range (min/max) across all sources
Blocket: category names and regional (län) location filters
Tradera: category IDs, county filters, and price range
Blocket results include coordinates and distance, enabling precise radius-based filtering
Discovery/metadata tools:
list_blocket_categories()andlist_blocket_locations()— valid Blocket filter valueslist_tradera_categories()andlist_tradera_counties()— valid Tradera filter values
Other features:
health_check()— pings all sources to confirm they're still fetching dataKlaravik returns current bid prices (auction-based listings)
Searches default to all of Sweden but can be narrowed per-search or via a personal
BLOCKET_LOCATIONSdefaultIdeal for deal hunting, resale/flipping workflows, and location-aware sourcing sweeps
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., "@sverige-begagnad-mcp find a used dining table in Älmhult"
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.
🇸🇪 Sverige Begagnad MCP
Find quality second-hand deals across Sweden — straight from your AI assistant.
An MCP server that lets Claude (or any MCP client) search Blocket, Tradera, Klaravik, and Vinted (plus optional local Facebook Marketplace) for used items worth buying, restoring, and reselling.
💬 What you can ask Claude
Once connected, just talk to it:
🪑 "Find String shelves (String hylla) near Växjö under 1000 SEK."
🛠️ "Search Blocket and Tradera for Festool or Makita tools I could flip for profit."
🔊 "What Bang & Olufsen speakers are on Tradera between 500 and 3000 SEK?"
🚲 "List Blocket categories, then look for quality bikes (Kronan, Crescent) in Skåne."
📈 "Do this week's sourcing sweep for Scandinavian design in Kronoberg and neighbouring counties, ranked by estimated profit."
Claude picks the right tools, applies your filters, and hands back titles, prices, locations, links, and images — from both marketplaces in one go.
Related MCP server: finn-mcp
✨ Features
🔎 Four marketplaces | Blocket + Tradera + Klaravik + Vinted, searched together or separately, normalized into one shape |
🎯 Rich filters | Price min/max, category, county (Tradera) · region + category (Blocket) |
📍 Location-aware | Every Blocket result carries |
🌍 General by default | Searches all of Sweden; scope it to your area via config or per-search |
🧭 Discovery tools | List categories, regions, and counties so the agent filters intelligently |
🧩 Easy install | One-command Claude Code plugin, |
✅ Tested live | Every source verified end-to-end against the real APIs |
📊 Source status
Source | Method | Stability |
Tradera | Official REST API (v4) | 🟢 Solid — tested live; requires free registration |
Blocket | Community package ( | 🟡 Semi-stable, unofficial — tested live |
Klaravik | Internal JSON endpoint | 🟡 Unofficial — tested live; auction current-bid prices |
Vinted | Internal API (bot-protected) | 🟠 Unofficial, most fragile — works best from a residential IP |
Facebook Marketplace | Disabled by default | 🔴 Risky, local-only — see |
🔑 Get Tradera credentials (required for all install methods)
Register (free) at https://api.tradera.com/register.
Accept the Terms of Use + Logo Terms of Use.
Create an application and copy the numeric App ID and the App Key (GUID secret). You'll supply these as
TRADERA_APP_ID/TRADERA_APP_KEY.
Blocket needs no credentials. Facebook Marketplace is off by default.
📦 Installation
Every user runs their own copy with their own Tradera keys — pick whichever method
fits your client. uvx-based methods need uv
installed (curl -LsSf https://astral.sh/uv/install.sh | sh, or
winget install astral-sh.uv on Windows) — no cloning or virtualenv needed.
Option 1 — Claude Code plugin (easiest)
claude plugin marketplace add tudorgrigoriu90/sverige-begagnad-mcp
claude plugin install sverige-begagnad@sverige-begagnad-marketplaceThen export your keys (the plugin passes them through to the server):
export TRADERA_APP_ID=... # Windows PowerShell: $env:TRADERA_APP_ID="..."
export TRADERA_APP_KEY=...
export BLOCKET_LOCATIONS= # optional; empty = all of SwedenRestart Claude Code — you'll have search_blocket, search_tradera, search_all,
and more. The plugin runs the server via uvx straight from GitHub.
Option 2 — uvx (Claude Desktop or any MCP client)
Add to your client's MCP config (Claude Desktop: Settings → Developer → Edit Config):
{
"mcpServers": {
"sverige-begagnad": {
"command": "uvx",
"args": ["sverige-begagnad-mcp"],
"env": {
"TRADERA_APP_ID": "...",
"TRADERA_APP_KEY": "...",
"BLOCKET_LOCATIONS": ""
}
}
}
}uvx fetches the published package from PyPI on first run and caches it. Restart the client.
Option 3 — From source (development)
git clone https://github.com/tudorgrigoriu90/sverige-begagnad-mcp
cd sverige-begagnad-mcp
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e .
cp .env.example .env # then fill in your keysPoint your client at the venv's sverige-begagnad-mcp command (or
python -m sverige_begagnad_mcp.server) with cwd set to the repo.
From a source checkout with keys set (in .env or the environment):
# Tradera — official REST API v4 (https://api.tradera.com/v4, header auth)
python -m sverige_begagnad_mcp.tradera_client
# Blocket — unofficial community API
python -c "import asyncio; from sverige_begagnad_mcp.blocket_client import search_blocket; print(asyncio.run(search_blocket('String hylla')))"Both are tested live. If Tradera's shape ever drifts, the OpenAPI spec is at
https://api.tradera.com/openapi.json.
🧰 Tools
Tool | Purpose |
| Search Blocket |
| Valid category names |
| Valid region (län) names |
| Search Tradera |
| Category tree → |
| County ids for the optional |
| Search Klaravik auctions (current-bid prices) |
| Search Vinted fashion listings |
| Disabled by default (local-only) |
| Blocket + Tradera + Klaravik + Vinted in one call |
| Ping every source and report which are still fetching data |
📍 Geographic scope
Searches default to all of Sweden. Three ways to set the area, in order of precedence:
Per-search — pass
locationstosearch_blocket(orblocket_locationstosearch_all), e.g.["KRONOBERG", "KALMAR"]. Uselist_blocket_locations()for valid names.A personal default — set
BLOCKET_LOCATIONSin.envto a comma-separated list of region names.Nothing set — all of Sweden.
Blocket's filter is regional (län), not a precise km radius. For a tight
"within X min drive" filter, let Claude do the final check per listing — each result
includes the ad's text location plus coordinates (lat/lon) and Blocket's own
distance. Tradera is national with shipping, so it has no radius concept (there's
an optional county_id filter, rarely needed).
Personal scope lives only in .env (gitignored — not a shipped default):
BLOCKET_LOCATIONS=KRONOBERG,KALMAR,JONKOPING,HALLAND,SKANEPaste this as your instructions to turn the tools into a profit-ranked weekly sweep. It runs many targeted Swedish searches, filters by radius/quality, estimates profit, and returns a ranked shortlist. Tune the brands, region, and thresholds to taste.
ROLE: You are a sourcing assistant for a personal, quality-focused loppis (flip).
Each week, search Blocket and Tradera for second-hand items to buy, minimally
restore, and resell at a profit.
METHOD: Search with SWEDISH terms. Run MANY targeted searches — by BRAND and by
CATEGORY — across both sources; deduplicate. Prices are in SEK.
AREA: within ~35 km straight-line of Växjö (56.88, 14.81) or Älmhult (56.55, 14.14),
computed from each Blocket result's `coordinates`. Tradera ships nationally, so
include shippable Tradera items too.
QUALITY: recognized brand or top craftsmanship (String, Artek, Fritz Hansen, Louis
Poulsen, Iittala, Orrefors, Bang & Olufsen, Braun, Marantz, Bahco, Hilti, Festool,
Makita, Kronan, Crescent…); "bra skick"/"nyskick" or minor cosmetic wear; asking
price clearly below market; only minimal restoration (clean, polish, light sand,
small off-the-shelf parts).
PROFIT: estimate resale value (use web search for comparables if available — do NOT
invent sold prices). Net = resale − (purchase + restoration + pickup/courier), with
stated assumptions (~80 SEK pickup fuel, ~70 SEK courier, 0–150 SEK materials).
Include only items with estimated net profit ≥ 300 SEK. Note that Tradera auction
prices may rise before close.
OUTPUT: ranked by net profit descending, max 15. For each: title + link + location
(distance from Växjö or "ships nationally"), asking vs. estimated market price, net
profit with assumptions, 2–3 restoration steps, and a risk note. End with a 2–3
sentence read on the week's trends. Don't pad with weak candidates.🚫 Facebook Marketplace — why it's disabled
There is no public API for Facebook Marketplace. The only known methods (session
cookies or headless-browser scraping) explicitly violate Facebook's Terms of Service.
The src/sverige_begagnad_mcp/facebook_client.py module is intentionally left as a
stub, with an explanation of how you could implement it yourself, at your own risk.
🛠️ Maintenance & publishing
If a source breaks: Blocket → check https://pypi.org/project/blocket-api/ for a newer version; Tradera → the OpenAPI spec at https://api.tradera.com/openapi.json.
PyPI (enables the short
uvx sverige-begagnad-mcp):python -m buildthentwine upload dist/*. Bumpversioninpyproject.tomlandsrc/sverige_begagnad_mcp/__init__.pyfirst.Plugin marketplace: the
.claude-plugin/marketplace.json+plugins/dirs make this repo itself the marketplace — no extra hosting.MCP Registry:
server.jsonis ready; publish with themcp-publisherCLI after the PyPI release (see the Registry publishing guide).
📄 License
MIT — each user runs their own copy with their own credentials. Note that Blocket has no official API; this uses an unofficial community package, so treat the Blocket half accordingly.
Available Tools
10 toolslist_blocket_categoriesList Blocket categoriesA
List valid category names to pass into search_blocket()'s category argument.
Inputs: no named parameters. Returns: object
list_blocket_locationsList Blocket regionsA
List valid region (län) names to pass into search_blocket()'s locations argument.
Inputs: no named parameters. Returns: object
list_tradera_categoriesList Tradera categoriesA
Fetch Tradera's category tree, to find category_id values for search_tradera().
Inputs: no named parameters. Returns: object
list_tradera_countiesList Tradera countiesA
Fetch Tradera's county list (id -> name) for search_tradera()'s optional county_id filter. Tradera is national with shipping, so this is rarely needed.
Inputs: no named parameters. Returns: object
search_allSearch all sourcesA
Search Blocket + Tradera + Klaravik + Vinted (+ Facebook Marketplace if enabled) in one call and return combined, normalized results. Use this for the weekly sourcing sweep instead of calling each source separately.
Inputs: query (required), price_max, price_min, blocket_category, +2 more. Returns: object
search_blocketSearch BlocketA
Search Blocket.se for second-hand listings. The location filter is REGIONAL (län), not a precise km radius. Pass locations (region names from list_blocket_locations()) to narrow the search; if omitted it uses the BLOCKET_LOCATIONS env default, or all of Sweden if that is unset. Each result includes the ad's text location plus coordinates/distance so you can apply a precise 'within X min drive' filter yourself. Use list_blocket_categories() first if you want to filter by category.
Inputs: query (required), category, locations, max_pages. Returns: object
search_facebook_marketplaceSearch Facebook MarketplaceA
Search Facebook Marketplace. DISABLED BY DEFAULT — this requires an unofficial method that violates Facebook's Terms of Service. Returns an explanatory error unless ENABLE_FACEBOOK_SEARCH=1 is set and the stub in src/facebook_client.py has been implemented. See its docstring.
Inputs: query (required), location, radius_km. Returns: object
search_klaravikSearch KlaravikA
Search Klaravik.se, a Swedish online auction house — strong for undervalued tools, machinery, and house-clearance goods. Prices are the current bid (SEK) and can rise before the auction ends. Swedish search terms work best.
Inputs: query (required). Returns: object
search_traderaSearch TraderaA
Search Tradera.com (official API) for second-hand listings/auctions. Requires TRADERA_APP_ID and TRADERA_APP_KEY to be configured — register at https://api.tradera.com/ if you haven't.
Inputs: query (required), county_id, price_max, price_min, +1 more. Returns: object
search_vintedSearch VintedB
Search Vinted.se, a second-hand fashion marketplace — good for genuine leather/wool and branded clothing. National (ships anywhere). Unofficial and the most fragile source (bot-protected); may occasionally be rate-limited.
Inputs: query (required), price_max, price_min. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool targets a distinct marketplace or supporting parameter list. The search functions are clearly separated by platform (Blocket, Tradera, Facebook, Klaravik, Vinted), and the list_* helpers are unambiguous. search_all is unique as an aggregator, so no two tools serve the same purpose.
All tool names follow a consistent verb_noun pattern: list_<marketplace>_<entity> for parameter enumeration and search_<marketplace> for queries. The naming is uniformly snake_case and predictable across the entire set.
10 tools is well within the ideal 3–15 range for a multi-source search server. Each tool has a distinct role; the list_* helpers support the search functions, and search_all adds value as a combined query. No redundant or excessive tools exist.
The server covers all major Swedish second-hand marketplaces (Blocket, Tradera, Klaravik, Vinted, plus optional Facebook) with search entry points. For each marketplace, the essential search capability is present, and helper functions for categories/locations are included where needed. The combined search_all addresses cross-platform aggregation, leaving no obvious workflow gaps.
Maintenance
Related MCP Connectors
Find MCP servers for ESP32, Arduino, 3D printers, Home Assistant, cameras and other hardware.
Public MCP server for discovering open jobs. Search, filter, and get application links.
Unofficial MCP server for Goofish (Xianyu) deals, item details, seller stock, and Zhima Credit.
Federated listings from personal humanMCP servers. Search offers, trades by humans.
Related MCP Servers
- AlicenseAqualityBmaintenanceRead-only MCP server for IKEA product search and in-store stock lookup.10117 npm3MIT
- AlicenseAqualityDmaintenanceAn MCP server that provides access to finn.no, Norway's largest online classifieds marketplace, enabling searches and listing retrieval across used goods, real estate, cars, and jobs.61MIT
- AlicenseBqualityDmaintenanceMCP server for finding, comparing, and ranking the cheapest real offers across eBay, Amazon, Craigslist, OfferUp, and Google Shopping, with tax estimation and exact-model filtering.61MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for OLX marketplace. Enables AI assistants to search listings, get offer details, track prices over time, and compare offers across OLX Poland and other supported countries.4-