{"at":"2026-11-22T23:35:59.952Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-22T23:36:00.465Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"hemnet-mcp","version":"1.2.0"}},"cacheScope":"private","capabilities":{"tools":{"listChanged":true}},"resultType":"complete","supportedVersions":["2026-07-28"],"ttlMs":0}}}
{"at":"2026-11-22T23:36:00.465Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-22T23:36:00.471Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"hemnet-mcp","version":"1.2.0"}},"cacheScope":"private","resultType":"complete","tools":[{"_meta":{"mint":{"domain":"home","intent":"lookup"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Resolve a place name to Hemnet location ids"},"description":"Look up Hemnet location ids for a free-text place name (municipality, district, or area). Returns ranked hits with `location_id`, `full_name`, and `parent_full_name`. Feed a `location_id` into hemnet_search_listings / hemnet_search_sold. Read-only.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"limit":{"description":"Default 10.","maximum":20,"minimum":1,"type":"integer"},"query":{"description":"Place name, e.g. \"Vasastan\" or \"Malmö\".","minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"hemnet_autocomplete_location","title":"Resolve a place name to Hemnet location ids"},{"_meta":{"mint":{"aliases":["for sale","house hunting","apartment","bostad","lägenhet","villa","till salu"],"domain":"home","intent":"lookup"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Search Hemnet for-sale listings"},"description":"Search active for-sale property listings on hemnet.se by location and optional filters (price band in SEK, rooms, living area in m², property-type groups, keywords). Returns listing summaries with price, fee, m², rooms, price-per-m², and coordinates. Provide `location_ids` (from hemnet_autocomplete_location) or a free-text `location`. Read-only.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"housing_form_groups":{"description":"Property-type groups: HOUSES (villa), APARTMENTS (lägenhet/bostadsrätt), ROW_HOUSES (radhus/parhus), VACATION_HOMES (fritidshus), PLOTS (tomt), OTHERS.","items":{"enum":["HOUSES","APARTMENTS","ROW_HOUSES","VACATION_HOMES","PLOTS","OTHERS"],"type":"string"},"type":"array"},"keywords":{"description":"Free-text keyword filter (e.g. \"sjönära\", \"balkong\").","type":"string"},"limit":{"description":"Default 25, max 50.","maximum":50,"minimum":1,"type":"integer"},"living_area_max":{"description":"m²","exclusiveMinimum":0,"type":"number"},"living_area_min":{"description":"m²","exclusiveMinimum":0,"type":"number"},"location":{"description":"Free-text place name (e.g. \"Vasastan\", \"Göteborg\") resolved to its top Hemnet location. Ignored when `location_ids` is set.","type":"string"},"location_ids":{"description":"Numeric Hemnet location ids (from hemnet_autocomplete_location). Provide this OR `location`.","items":{"type":"string"},"type":"array"},"offset":{"description":"Pagination offset.","maximum":9007199254740991,"minimum":0,"type":"integer"},"price_max":{"description":"SEK","maximum":9007199254740991,"minimum":0,"type":"integer"},"price_min":{"description":"SEK","maximum":9007199254740991,"minimum":0,"type":"integer"},"rooms_max":{"exclusiveMinimum":0,"type":"number"},"rooms_min":{"exclusiveMinimum":0,"type":"number"},"sort":{"description":"NEWEST (default) or OLDEST.","enum":["NEWEST","OLDEST"],"type":"string"}},"type":"object"},"name":"hemnet_search_listings","title":"Search Hemnet for-sale listings"},{"_meta":{"mint":{"domain":"home","intent":"lookup"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Get a Hemnet for-sale listing by id or URL"},"description":"Fetch the full detail of a single active for-sale listing by its Hemnet id or a /bostad/ URL. Returns price, monthly fee, yearly running costs, living/land area in m², rooms, tenure, construction year, energy class, broker, description, status labels, coordinates, and gallery photo URLs. For a SOLD listing use hemnet_get_sold_listing instead. Read-only.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"description":"Hemnet listing id, or a full hemnet.se /bostad/ URL.","minLength":1,"type":"string"},"photo_limit":{"description":"Max gallery photos to include. Default 50.","maximum":300,"minimum":0,"type":"integer"}},"required":["id"],"type":"object"},"name":"hemnet_get_listing","title":"Get a Hemnet for-sale listing by id or URL"},{"_meta":{"mint":{"domain":"home","intent":"lookup"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Get photo URLs for a Hemnet listing"},"description":"Return the gallery photo URLs for an active for-sale Hemnet listing by id or /bostad/ URL. Read-only.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"description":"Hemnet listing id, or a full hemnet.se /bostad/ URL.","minLength":1,"type":"string"},"limit":{"description":"Max photos to return. Default 50.","maximum":300,"minimum":1,"type":"integer"}},"required":["id"],"type":"object"},"name":"hemnet_get_listing_photos","title":"Get photo URLs for a Hemnet listing"},{"_meta":{"mint":{"aliases":["sold price","what it sold for","slutpris","slutpriser","comps","house prices"],"domain":"home","intent":"lookup"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Search Hemnet sold listings (slutpriser)"},"description":"Search SOLD property listings (\"slutpriser\") on hemnet.se by location and optional filters. Each result carries the achieved final price, the asking price, and the over/under-asking percentage — the core comps signal for valuation. Provide `location_ids` (from hemnet_autocomplete_location) or a free-text `location`. Read-only.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"housing_form_groups":{"description":"Property-type groups: HOUSES (villa), APARTMENTS (lägenhet/bostadsrätt), ROW_HOUSES (radhus/parhus), VACATION_HOMES (fritidshus), PLOTS (tomt), OTHERS.","items":{"enum":["HOUSES","APARTMENTS","ROW_HOUSES","VACATION_HOMES","PLOTS","OTHERS"],"type":"string"},"type":"array"},"keywords":{"description":"Free-text keyword filter (e.g. \"sjönära\", \"balkong\").","type":"string"},"limit":{"description":"Default 25, max 50.","maximum":50,"minimum":1,"type":"integer"},"living_area_max":{"description":"m²","exclusiveMinimum":0,"type":"number"},"living_area_min":{"description":"m²","exclusiveMinimum":0,"type":"number"},"location":{"description":"Free-text place name (e.g. \"Vasastan\", \"Göteborg\") resolved to its top Hemnet location. Ignored when `location_ids` is set.","type":"string"},"location_ids":{"description":"Numeric Hemnet location ids (from hemnet_autocomplete_location). Provide this OR `location`.","items":{"type":"string"},"type":"array"},"offset":{"description":"Pagination offset.","maximum":9007199254740991,"minimum":0,"type":"integer"},"price_max":{"description":"SEK","maximum":9007199254740991,"minimum":0,"type":"integer"},"price_min":{"description":"SEK","maximum":9007199254740991,"minimum":0,"type":"integer"},"rooms_max":{"exclusiveMinimum":0,"type":"number"},"rooms_min":{"exclusiveMinimum":0,"type":"number"},"sort":{"description":"NEWEST (default) or OLDEST.","enum":["NEWEST","OLDEST"],"type":"string"}},"type":"object"},"name":"hemnet_search_sold","title":"Search Hemnet sold listings (slutpriser)"},{"_meta":{"mint":{"domain":"home","intent":"lookup"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Get a Hemnet sold listing by id or URL"},"description":"Fetch the full detail of a single SOLD listing by its Hemnet id or a /salda/ URL. Returns final price, asking price, price change, m², rooms, tenure, broker, and coordinates. Read-only.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"description":"Hemnet sold-listing id, or a full hemnet.se /salda/ URL.","minLength":1,"type":"string"}},"required":["id"],"type":"object"},"name":"hemnet_get_sold_listing","title":"Get a Hemnet sold listing by id or URL"},{"_meta":{"mint":{"domain":"home","intent":"lookup"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Compare several Hemnet listings"},"description":"Fetch and normalise multiple active for-sale Hemnet listings at once (by id or /bostad/ URL) for side-by-side comparison. Up to 20 targets; input order preserved; per-row errors captured. Read-only.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"ids":{"description":"Hemnet listing ids or /bostad/ URLs (max 20).","items":{"minLength":1,"type":"string"},"maxItems":20,"minItems":1,"type":"array"}},"required":["ids"],"type":"object"},"name":"hemnet_compare_listings","title":"Compare several Hemnet listings"},{"_meta":{"mint":{"domain":"home","intent":"lookup"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Resolve a street address to a Hemnet listing"},"description":"Resolve a free-text Swedish street address to a live Hemnet for-sale listing. Give the `address` (street + number) and a `location` (city/area/municipality). Returns the matched listing with a `matched: true`, the match `score`, and `matched_via`, or `{ resolved: false }` when nothing matches. Scans up to 500 listings in the location; a miss with `truncated: true` is not definitive — pass price_min/price_max or a smaller location to narrow it. Read-only.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"address":{"description":"Street address incl. number, e.g. \"Gäddstigen 1\".","minLength":1,"type":"string"},"location":{"description":"City / area / municipality, e.g. \"Södertälje\" or \"Vasastan\".","minLength":1,"type":"string"},"price_max":{"description":"SEK, narrows the search rung.","maximum":9007199254740991,"minimum":0,"type":"integer"},"price_min":{"description":"SEK, narrows the search rung.","maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["address","location"],"type":"object"},"name":"hemnet_get_by_address","title":"Resolve a street address to a Hemnet listing"},{"_meta":{"mint":{"aliases":["sold price","what it sold for","slutpris","slutpriser","comps","house prices"],"domain":"home","intent":"lookup"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Hemnet sold-price market statistics"},"description":"Aggregate median/average statistics from recent SOLD listings for a location (and optional property-type/size filters): median & average final price, median & average price-per-m², and average over/under-asking percentage. The stats cover the most recent `max_sales` sales (default 200, max 500), not necessarily every match — compare `sampled_sales` with `total_matching_sales`. Provide `location_ids` or a free-text `location`. Read-only.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"housing_form_groups":{"description":"Property-type groups: HOUSES (villa), APARTMENTS (lägenhet/bostadsrätt), ROW_HOUSES (radhus/parhus), VACATION_HOMES (fritidshus), PLOTS (tomt), OTHERS.","items":{"enum":["HOUSES","APARTMENTS","ROW_HOUSES","VACATION_HOMES","PLOTS","OTHERS"],"type":"string"},"type":"array"},"keywords":{"description":"Free-text keyword filter (e.g. \"sjönära\", \"balkong\").","type":"string"},"limit":{"description":"Deprecated: use `max_sales`. Read as `max_sales` when that is not given.","maximum":500,"minimum":1,"type":"integer"},"living_area_max":{"description":"m²","exclusiveMinimum":0,"type":"number"},"living_area_min":{"description":"m²","exclusiveMinimum":0,"type":"number"},"location":{"description":"Free-text place name (e.g. \"Vasastan\", \"Göteborg\") resolved to its top Hemnet location. Ignored when `location_ids` is set.","type":"string"},"location_ids":{"description":"Numeric Hemnet location ids (from hemnet_autocomplete_location). Provide this OR `location`.","items":{"type":"string"},"type":"array"},"max_sales":{"description":"How many sold listings to aggregate, newest first by default (paged 50 at a time). Default 200, max 500.","maximum":500,"minimum":1,"type":"integer"},"offset":{"description":"Deprecated and ignored: the stats always start from the first matching sale.","maximum":9007199254740991,"minimum":0,"type":"integer"},"price_max":{"description":"SEK","maximum":9007199254740991,"minimum":0,"type":"integer"},"price_min":{"description":"SEK","maximum":9007199254740991,"minimum":0,"type":"integer"},"rooms_max":{"exclusiveMinimum":0,"type":"number"},"rooms_min":{"exclusiveMinimum":0,"type":"number"},"sort":{"description":"NEWEST (default) or OLDEST.","enum":["NEWEST","OLDEST"],"type":"string"}},"type":"object"},"name":"hemnet_get_market_stats","title":"Hemnet sold-price market statistics"},{"_meta":{"mint":{"aliases":["mortgage","home loan","bolån","monthly cost","amortization"],"domain":"home","intent":"other"}},"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Calculate a Swedish monthly mortgage cost"},"description":"Local-only Swedish mortgage calculator (all amounts SEK). Returns the monthly cost broken into interest, mandated amortisation (amorteringskrav from LTV, rules as of 1 April 2026), BRF fee (avgift), and operating cost — with both gross and after-tax (ränteavdrag) totals. Provide `down_payment` OR `down_payment_percent` (defaults to the legal 10% minimum). No network call.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"amortization_rate":{"description":"Override the computed amortisation rate (annual % of loan).","minimum":0,"type":"number"},"down_payment":{"description":"SEK","minimum":0,"type":"number"},"down_payment_percent":{"description":"Percent of price; defaults to the legal 10% minimum.","maximum":100,"minimum":0,"type":"number"},"gross_yearly_income":{"description":"Deprecated and ignored: income no longer affects amortisation (the debt-ratio rule was abolished 1 April 2026).","minimum":0,"type":"number"},"interest_rate":{"description":"Annual interest rate %, e.g. 3.5","minimum":0,"type":"number"},"monthly_fee":{"description":"BRF monthly fee (avgift) in SEK — for bostadsrätt apartments.","minimum":0,"type":"number"},"monthly_operating_cost":{"description":"Monthly operating cost (driftkostnad) in SEK — typically houses.","minimum":0,"type":"number"},"price":{"description":"Purchase price in SEK.","exclusiveMinimum":0,"type":"number"}},"required":["price","interest_rate"],"type":"object"},"name":"hemnet_calculate_mortgage","title":"Calculate a Swedish monthly mortgage cost"},{"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Verify the ContextMint Bridge connection end-to-end"},"description":"Round-trips a small public www.hemnet.se URL (/graphql) through ContextMint Bridge (your signed-in browser tab) and returns diagnostics: the bridge's role (host/peer/null), port, version, the extension link (linked / pair pending / not attached / never answered), the elapsed round-trip time, and a plain-English hint distinguishing 'bridge never came up' from 'extension not connected' from 'this browser can't serve a capability' from 'real www.hemnet.se-side problem'. Read-only, no auth required. Call this when a real tool fails and you want to know which hop broke.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"type":"object"},"name":"hemnet_healthcheck","title":"Verify the ContextMint Bridge connection end-to-end"}],"ttlMs":0}}}
{"at":"2026-11-22T23:36:00.572Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-22T23:36:01.029Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"hemnet-mcp","version":"1.2.0"}}}}
{"at":"2026-11-22T23:36:01.029Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-22T23:36:01.029Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-22T23:36:01.034Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"_meta":{"mint":{"domain":"home","intent":"lookup"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Resolve a place name to Hemnet location ids"},"description":"Look up Hemnet location ids for a free-text place name (municipality, district, or area). Returns ranked hits with `location_id`, `full_name`, and `parent_full_name`. Feed a `location_id` into hemnet_search_listings / hemnet_search_sold. Read-only.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"limit":{"description":"Default 10.","maximum":20,"minimum":1,"type":"integer"},"query":{"description":"Place name, e.g. \"Vasastan\" or \"Malmö\".","minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"hemnet_autocomplete_location","title":"Resolve a place name to Hemnet location ids"},{"_meta":{"mint":{"aliases":["for sale","house hunting","apartment","bostad","lägenhet","villa","till salu"],"domain":"home","intent":"lookup"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Search Hemnet for-sale listings"},"description":"Search active for-sale property listings on hemnet.se by location and optional filters (price band in SEK, rooms, living area in m², property-type groups, keywords). Returns listing summaries with price, fee, m², rooms, price-per-m², and coordinates. Provide `location_ids` (from hemnet_autocomplete_location) or a free-text `location`. Read-only.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"housing_form_groups":{"description":"Property-type groups: HOUSES (villa), APARTMENTS (lägenhet/bostadsrätt), ROW_HOUSES (radhus/parhus), VACATION_HOMES (fritidshus), PLOTS (tomt), OTHERS.","items":{"enum":["HOUSES","APARTMENTS","ROW_HOUSES","VACATION_HOMES","PLOTS","OTHERS"],"type":"string"},"type":"array"},"keywords":{"description":"Free-text keyword filter (e.g. \"sjönära\", \"balkong\").","type":"string"},"limit":{"description":"Default 25, max 50.","maximum":50,"minimum":1,"type":"integer"},"living_area_max":{"description":"m²","exclusiveMinimum":0,"type":"number"},"living_area_min":{"description":"m²","exclusiveMinimum":0,"type":"number"},"location":{"description":"Free-text place name (e.g. \"Vasastan\", \"Göteborg\") resolved to its top Hemnet location. Ignored when `location_ids` is set.","type":"string"},"location_ids":{"description":"Numeric Hemnet location ids (from hemnet_autocomplete_location). Provide this OR `location`.","items":{"type":"string"},"type":"array"},"offset":{"description":"Pagination offset.","maximum":9007199254740991,"minimum":0,"type":"integer"},"price_max":{"description":"SEK","maximum":9007199254740991,"minimum":0,"type":"integer"},"price_min":{"description":"SEK","maximum":9007199254740991,"minimum":0,"type":"integer"},"rooms_max":{"exclusiveMinimum":0,"type":"number"},"rooms_min":{"exclusiveMinimum":0,"type":"number"},"sort":{"description":"NEWEST (default) or OLDEST.","enum":["NEWEST","OLDEST"],"type":"string"}},"type":"object"},"name":"hemnet_search_listings","title":"Search Hemnet for-sale listings"},{"_meta":{"mint":{"domain":"home","intent":"lookup"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Get a Hemnet for-sale listing by id or URL"},"description":"Fetch the full detail of a single active for-sale listing by its Hemnet id or a /bostad/ URL. Returns price, monthly fee, yearly running costs, living/land area in m², rooms, tenure, construction year, energy class, broker, description, status labels, coordinates, and gallery photo URLs. For a SOLD listing use hemnet_get_sold_listing instead. Read-only.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"description":"Hemnet listing id, or a full hemnet.se /bostad/ URL.","minLength":1,"type":"string"},"photo_limit":{"description":"Max gallery photos to include. Default 50.","maximum":300,"minimum":0,"type":"integer"}},"required":["id"],"type":"object"},"name":"hemnet_get_listing","title":"Get a Hemnet for-sale listing by id or URL"},{"_meta":{"mint":{"domain":"home","intent":"lookup"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Get photo URLs for a Hemnet listing"},"description":"Return the gallery photo URLs for an active for-sale Hemnet listing by id or /bostad/ URL. Read-only.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"description":"Hemnet listing id, or a full hemnet.se /bostad/ URL.","minLength":1,"type":"string"},"limit":{"description":"Max photos to return. Default 50.","maximum":300,"minimum":1,"type":"integer"}},"required":["id"],"type":"object"},"name":"hemnet_get_listing_photos","title":"Get photo URLs for a Hemnet listing"},{"_meta":{"mint":{"aliases":["sold price","what it sold for","slutpris","slutpriser","comps","house prices"],"domain":"home","intent":"lookup"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Search Hemnet sold listings (slutpriser)"},"description":"Search SOLD property listings (\"slutpriser\") on hemnet.se by location and optional filters. Each result carries the achieved final price, the asking price, and the over/under-asking percentage — the core comps signal for valuation. Provide `location_ids` (from hemnet_autocomplete_location) or a free-text `location`. Read-only.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"housing_form_groups":{"description":"Property-type groups: HOUSES (villa), APARTMENTS (lägenhet/bostadsrätt), ROW_HOUSES (radhus/parhus), VACATION_HOMES (fritidshus), PLOTS (tomt), OTHERS.","items":{"enum":["HOUSES","APARTMENTS","ROW_HOUSES","VACATION_HOMES","PLOTS","OTHERS"],"type":"string"},"type":"array"},"keywords":{"description":"Free-text keyword filter (e.g. \"sjönära\", \"balkong\").","type":"string"},"limit":{"description":"Default 25, max 50.","maximum":50,"minimum":1,"type":"integer"},"living_area_max":{"description":"m²","exclusiveMinimum":0,"type":"number"},"living_area_min":{"description":"m²","exclusiveMinimum":0,"type":"number"},"location":{"description":"Free-text place name (e.g. \"Vasastan\", \"Göteborg\") resolved to its top Hemnet location. Ignored when `location_ids` is set.","type":"string"},"location_ids":{"description":"Numeric Hemnet location ids (from hemnet_autocomplete_location). Provide this OR `location`.","items":{"type":"string"},"type":"array"},"offset":{"description":"Pagination offset.","maximum":9007199254740991,"minimum":0,"type":"integer"},"price_max":{"description":"SEK","maximum":9007199254740991,"minimum":0,"type":"integer"},"price_min":{"description":"SEK","maximum":9007199254740991,"minimum":0,"type":"integer"},"rooms_max":{"exclusiveMinimum":0,"type":"number"},"rooms_min":{"exclusiveMinimum":0,"type":"number"},"sort":{"description":"NEWEST (default) or OLDEST.","enum":["NEWEST","OLDEST"],"type":"string"}},"type":"object"},"name":"hemnet_search_sold","title":"Search Hemnet sold listings (slutpriser)"},{"_meta":{"mint":{"domain":"home","intent":"lookup"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Get a Hemnet sold listing by id or URL"},"description":"Fetch the full detail of a single SOLD listing by its Hemnet id or a /salda/ URL. Returns final price, asking price, price change, m², rooms, tenure, broker, and coordinates. Read-only.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"description":"Hemnet sold-listing id, or a full hemnet.se /salda/ URL.","minLength":1,"type":"string"}},"required":["id"],"type":"object"},"name":"hemnet_get_sold_listing","title":"Get a Hemnet sold listing by id or URL"},{"_meta":{"mint":{"domain":"home","intent":"lookup"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Compare several Hemnet listings"},"description":"Fetch and normalise multiple active for-sale Hemnet listings at once (by id or /bostad/ URL) for side-by-side comparison. Up to 20 targets; input order preserved; per-row errors captured. Read-only.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"ids":{"description":"Hemnet listing ids or /bostad/ URLs (max 20).","items":{"minLength":1,"type":"string"},"maxItems":20,"minItems":1,"type":"array"}},"required":["ids"],"type":"object"},"name":"hemnet_compare_listings","title":"Compare several Hemnet listings"},{"_meta":{"mint":{"domain":"home","intent":"lookup"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Resolve a street address to a Hemnet listing"},"description":"Resolve a free-text Swedish street address to a live Hemnet for-sale listing. Give the `address` (street + number) and a `location` (city/area/municipality). Returns the matched listing with a `matched: true`, the match `score`, and `matched_via`, or `{ resolved: false }` when nothing matches. Scans up to 500 listings in the location; a miss with `truncated: true` is not definitive — pass price_min/price_max or a smaller location to narrow it. Read-only.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"address":{"description":"Street address incl. number, e.g. \"Gäddstigen 1\".","minLength":1,"type":"string"},"location":{"description":"City / area / municipality, e.g. \"Södertälje\" or \"Vasastan\".","minLength":1,"type":"string"},"price_max":{"description":"SEK, narrows the search rung.","maximum":9007199254740991,"minimum":0,"type":"integer"},"price_min":{"description":"SEK, narrows the search rung.","maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["address","location"],"type":"object"},"name":"hemnet_get_by_address","title":"Resolve a street address to a Hemnet listing"},{"_meta":{"mint":{"aliases":["sold price","what it sold for","slutpris","slutpriser","comps","house prices"],"domain":"home","intent":"lookup"}},"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Hemnet sold-price market statistics"},"description":"Aggregate median/average statistics from recent SOLD listings for a location (and optional property-type/size filters): median & average final price, median & average price-per-m², and average over/under-asking percentage. The stats cover the most recent `max_sales` sales (default 200, max 500), not necessarily every match — compare `sampled_sales` with `total_matching_sales`. Provide `location_ids` or a free-text `location`. Read-only.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"housing_form_groups":{"description":"Property-type groups: HOUSES (villa), APARTMENTS (lägenhet/bostadsrätt), ROW_HOUSES (radhus/parhus), VACATION_HOMES (fritidshus), PLOTS (tomt), OTHERS.","items":{"enum":["HOUSES","APARTMENTS","ROW_HOUSES","VACATION_HOMES","PLOTS","OTHERS"],"type":"string"},"type":"array"},"keywords":{"description":"Free-text keyword filter (e.g. \"sjönära\", \"balkong\").","type":"string"},"limit":{"description":"Deprecated: use `max_sales`. Read as `max_sales` when that is not given.","maximum":500,"minimum":1,"type":"integer"},"living_area_max":{"description":"m²","exclusiveMinimum":0,"type":"number"},"living_area_min":{"description":"m²","exclusiveMinimum":0,"type":"number"},"location":{"description":"Free-text place name (e.g. \"Vasastan\", \"Göteborg\") resolved to its top Hemnet location. Ignored when `location_ids` is set.","type":"string"},"location_ids":{"description":"Numeric Hemnet location ids (from hemnet_autocomplete_location). Provide this OR `location`.","items":{"type":"string"},"type":"array"},"max_sales":{"description":"How many sold listings to aggregate, newest first by default (paged 50 at a time). Default 200, max 500.","maximum":500,"minimum":1,"type":"integer"},"offset":{"description":"Deprecated and ignored: the stats always start from the first matching sale.","maximum":9007199254740991,"minimum":0,"type":"integer"},"price_max":{"description":"SEK","maximum":9007199254740991,"minimum":0,"type":"integer"},"price_min":{"description":"SEK","maximum":9007199254740991,"minimum":0,"type":"integer"},"rooms_max":{"exclusiveMinimum":0,"type":"number"},"rooms_min":{"exclusiveMinimum":0,"type":"number"},"sort":{"description":"NEWEST (default) or OLDEST.","enum":["NEWEST","OLDEST"],"type":"string"}},"type":"object"},"name":"hemnet_get_market_stats","title":"Hemnet sold-price market statistics"},{"_meta":{"mint":{"aliases":["mortgage","home loan","bolån","monthly cost","amortization"],"domain":"home","intent":"other"}},"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Calculate a Swedish monthly mortgage cost"},"description":"Local-only Swedish mortgage calculator (all amounts SEK). Returns the monthly cost broken into interest, mandated amortisation (amorteringskrav from LTV, rules as of 1 April 2026), BRF fee (avgift), and operating cost — with both gross and after-tax (ränteavdrag) totals. Provide `down_payment` OR `down_payment_percent` (defaults to the legal 10% minimum). No network call.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"amortization_rate":{"description":"Override the computed amortisation rate (annual % of loan).","minimum":0,"type":"number"},"down_payment":{"description":"SEK","minimum":0,"type":"number"},"down_payment_percent":{"description":"Percent of price; defaults to the legal 10% minimum.","maximum":100,"minimum":0,"type":"number"},"gross_yearly_income":{"description":"Deprecated and ignored: income no longer affects amortisation (the debt-ratio rule was abolished 1 April 2026).","minimum":0,"type":"number"},"interest_rate":{"description":"Annual interest rate %, e.g. 3.5","minimum":0,"type":"number"},"monthly_fee":{"description":"BRF monthly fee (avgift) in SEK — for bostadsrätt apartments.","minimum":0,"type":"number"},"monthly_operating_cost":{"description":"Monthly operating cost (driftkostnad) in SEK — typically houses.","minimum":0,"type":"number"},"price":{"description":"Purchase price in SEK.","exclusiveMinimum":0,"type":"number"}},"required":["price","interest_rate"],"type":"object"},"name":"hemnet_calculate_mortgage","title":"Calculate a Swedish monthly mortgage cost"},{"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true,"title":"Verify the ContextMint Bridge connection end-to-end"},"description":"Round-trips a small public www.hemnet.se URL (/graphql) through ContextMint Bridge (your signed-in browser tab) and returns diagnostics: the bridge's role (host/peer/null), port, version, the extension link (linked / pair pending / not attached / never answered), the elapsed round-trip time, and a plain-English hint distinguishing 'bridge never came up' from 'extension not connected' from 'this browser can't serve a capability' from 'real www.hemnet.se-side problem'. Read-only, no auth required. Call this when a real tool fails and you want to know which hop broke.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"type":"object"},"name":"hemnet_healthcheck","title":"Verify the ContextMint Bridge connection end-to-end"}]}}}
