Skip to content
ListingrailGet an API key

Hemnet MCP server

Connect live Hemnet sale listings (Sweden) to Claude, Cursor, Windsurf, VS Code, ChatGPT, Gemini CLI and 5 more MCP clients through https://listingrail.com/mcp. Source key: hemnet. 1 credit per listing returned; list_sources is free; failed reads cost nothing.

Tools and credits for Hemnet

Every Hemnet call uses the same key and credit balance as the REST API. Free keys get 250 listings a month with no card.

Hemnet MCP specification (Sweden)
SettingValue
Remote endpointhttps://listingrail.com/mcp (streamable HTTP)
Source keyhemnet (sale)
Location inputA hemnet.se search link, or a Hemnet location id (Stockholm is 17744)
FiltersNone (use a portal search link where supported)
list_sources0 credits — returns live Hemnet location format and filter support
search_listings1 credit per listing returned (max 50 per call, page with next_offset up to 500)
get_listingNot enabled for Hemnet (all 16 fields return in search_listings)
Failed or empty reads0 credits charged
Fields populated16 of 23 normalized fields

Setup for 11 MCP clients

Get a key first: 250 free listings, an email and no card. Pick your client below and replace re_your_key.

Settings → Connectors → Add custom connector
https://listingrail.com/mcp?key=re_your_key

Custom connectors take only a URL, so pass your key in the link and keep it private. If you prefer claude_desktop_config.json with a header, use the mcp-remote bridge below.

Or in claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):
{
  "mcpServers": {
    "listingrail": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://listingrail.com/mcp",
        "--header",
        "Authorization:Bearer re_your_key"
      ]
    }
  }
}

Example Hemnet prompts

Paste either prompt into your client once connected. Below each is the exact MCP tool call your agent makes.

Search Hemnet (sale)

Search Hemnet for 5 properties for sale in 17744. Show price, bedrooms, area and link.
{
  "name": "search_listings",
  "arguments": {
    "source": "hemnet",
    "location": "17744",
    "type": "sale",
    "limit": 5
  }
}

Compare Hemnet sale listings

Pull 10 for-sale listings from Hemnet in 17744 and rank them by price.
{
  "name": "search_listings",
  "arguments": {
    "source": "hemnet",
    "location": "17744",
    "type": "sale",
    "limit": 10
  }
}

Real Hemnet MCP answer from today

Called live on 2026-11-23 against https://listingrail.com/mcp for two Hemnet listings in 17744. Tool call:

{
  "name": "search_listings",
  "arguments": {
    "source": "hemnet",
    "location": "17744",
    "type": "sale",
    "limit": 2
  }
}

The response returned on 2026-11-23 (coordinates, photo links and personal agent details omitted here). Cost: 2 credits.

{
  "source": "hemnet",
  "location": "17744",
  "type": "sale",
  "count": 2,
  "credits_used": 2,
  "listings": [
    {
      "id": "21730788",
      "url": "https://www.hemnet.se/bostad/lagenhet-1rum-barkarbystaden-jarfalla-kommun-herculesgatan-19-21730788",
      "source": "hemnet",
      "title": "HERCULESGATAN 19",
      "address": "HERCULESGATAN 19, Barkarbystaden, Järfälla kommun",
      "city": null,
      "region": null,
      "postal_code": null,
      "country": "SE",
      "price": 1995000,
      "currency": "SEK",
      "price_period": null,
      "beds": null,
      "rooms": 1,
      "baths": null,
      "area": 25,
      "area_unit": "sqm",
      "property_type": "Lägenhet",
      "listed_at": "2026-11-23T10:55:30+00:00",
      "agent": {
        "name": null,
        "phone": null,
        "company": "Fastighetsbyrån Järfälla"
      }
    },
    {
      "id": "22086230",
      "url": "https://www.hemnet.se/bostad/villa-6rum-staket-jarfalla-kommun-staketsvagen-14-22086230",
      "source": "hemnet",
      "title": "Stäketsvägen 14",
      "address": "Stäketsvägen 14, Stäket, Järfälla kommun",
      "city": null,
      "region": null,
      "postal_code": null,
      "country": "SE",
      "price": null,
      "currency": "SEK",
      "price_period": null,
      "beds": null,
      "rooms": 6,
      "baths": null,
      "area": 156,
      "area_unit": "sqm",
      "property_type": "Villa",
      "listed_at": "2026-11-23T10:24:20+00:00",
      "agent": {
        "name": null,
        "phone": null,
        "company": "LF Fastighetsförmedling Järfälla"
      }
    }
  ],
  "next_offset": 2
}

Fields returned for Hemnet

16 of 23 normalized fields are populated for Hemnet; 7 come back as null.

  • id
  • url
  • title
  • address
  • country
  • lat
  • lng
  • price
  • currency
  • rooms
  • area
  • property_type
  • listed_at
  • photos
  • agent.name
  • agent.company

Returned as null for Hemnet: city, region, postal_code, price_period, beds, baths, agent.phone.

Questions about the Hemnet MCP server

How do I connect Hemnet to Claude, Cursor or Windsurf over MCP?

Point your MCP client at https://listingrail.com/mcp with your Listingrail API key in the Authorization header (or ?key= for Claude Desktop and ChatGPT connectors). Ask your client to search Hemnet and it calls search_listings with source "hemnet".

How many credits does a Hemnet MCP call use?

1 credit per listing returned by search_listings. list_sources is free, and a failed or empty portal read costs 0 credits. A free key includes 250 listings a month with no card; after that a $9 one-time pack adds 2,500 listings, Lite is $10/mo for 2,500, and Starter is $49/mo for 25,000.

What location format and filters work for Hemnet?

hemnet: A hemnet.se search link, or a Hemnet location id (Stockholm is 17744) No structured filter parameters; pass a Hemnet search link as location where supported, or filter the returned rows in your agent.

Does Hemnet support full listing details via get_listing?

No. Hemnet returns 16 normalized fields directly in search_listings (id, url, title, address, country, lat, lng, price, and more), so get_listing is not enabled for Hemnet.

Does Hemnet have an official MCP server?

Hemnet has no public API for reading or searching listings. Its official Hemnet BostadsAPI is used by broker systems (mäklarsystem) and builders to create offices, publish and manage listings and projects, and report final prices for Hemnet's market-share statistics. In October 2026 Hemnet announced free listings and that it will itself collect listings from agencies' websites. Listingrail exposes Hemnet and 21 other property portals through one remote MCP server in a single JSON schema.

Get 250 free listingsHemnet REST APIAll 22 MCP portalsPricingMCP docsHemnet Python guide

Hemnet is a trademark of its owner. Listingrail is not affiliated with, endorsed by or sponsored by Hemnet.