Allows deployment of the MCP server on Cloudflare Workers infrastructure with secret management for API credentials
Begagnad MCP
A Model Context Protocol (MCP) server for searching Sweden's two largest second-hand marketplaces: Blocket and Tradera.
What it does
Enables AI agents like Claude to search and retrieve listings from Swedish second-hand marketplaces. Returns unified data including titles, descriptions, prices, images, seller information, and direct links to listings.
Setup
Using the public endpoint
A live instance is available at https://begagnad-mcp.bjesus.workers.dev/sse
Configure Claude Desktop by editing ~/.config/Claude/claude_desktop_config.json
:
Restart Claude Desktop to load the server.
Deploy your own instance
Install dependencies:
npm installLogin to Cloudflare:
wrangler loginDeploy:
npm run deployUpdate your Claude Desktop config with your deployment URL.
Local development
Server runs at http://localhost:8788/sse
Configuration
Tradera API credentials can be set as Cloudflare secrets:
Available tools
search_blocket
- Search Blocket marketplaceParameters:
query
(string),limit
(number, optional)
get_blocket_item
- Get details for a specific Blocket listingParameters:
ad_id
(string)
search_tradera
- Search Tradera marketplaceParameters:
query
(string),page
(number, optional)
get_tradera_item
- Get details for a specific Tradera listingParameters:
item_id
(string)
search_both
- Search both marketplaces simultaneouslyParameters:
query
(string),blocket_limit
(number, optional)
Example usage
Ask Claude:
"Find me a Linksys router with OpenWRT installed"
"Search for a red pickup truck under 20000 SEK"
"Show me vintage furniture in Stockholm"
Data format
Returns unified data structure:
Item ID, title, description
Price (SEK), location
Images (URLs)
Seller name and rating
Direct link to listing
Source marketplace (Blocket or Tradera)
APIs
Blocket API:
https://blocket-api.se/v1/
Tradera API:
https://api.tradera.com/v3/
License
MIT
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables 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.