Skip to content

MDRealty MCP server

The Model Context Protocol (MCP) lets AI assistants call external tools. Our MCP server gives them direct access to the MDRealty catalog of real estate in Montenegro, so an assistant can answer questions about properties with current listings instead of guessing.

The server exposes 13 read-only tools: property search with filters and natural-language queries, full listing details, similar listings, cities, property and deal types, thematic collections and our articles about buying property in Montenegro. Every answer links back to the listing page on mdrealty.me.

How to connect

Server URL

https://mdrealty.me/api/mcp/mcp

Transport: Streamable HTTP. Protocol versions up to 2025-11-25 are supported.

Authorization

OAuth 2.1 with dynamic client registration and PKCE. Your client registers itself, opens our consent page and you click Allow — no account or password is needed. The client then receives its own key.

Clients

  • Claude (web and desktop): open Settings → Connectors, add a custom connector and paste the server URL.
  • ChatGPT: turn on developer mode in the connector settings, create a connector with the server URL and choose OAuth.
  • Claude Code: run the command below in a terminal.
    claude mcp add --transport http mdrealty https://mdrealty.me/api/mcp/mcp
  • Cursor and other clients: add the server to the MCP configuration file.
    {
      "mcpServers": {
        "mdrealty": {
          "url": "https://mdrealty.me/api/mcp/mcp"
        }
      }
    }

Tools

This list is generated from the server itself, so it always matches what your client sees.

Search properties

search_propertiesRead-only

Search real estate properties in Montenegro. Supports natural language queries like "apartment in Budva near the sea under 200k" or structured filters. Returns up to 20 properties with key details. Prices in EUR.

Parameters

querystring
Natural language search, e.g. "villa with pool in Tivat"
citySlugstring
City name or slug, e.g. "budva", "tivat", "kotor", "herceg-novi". Supports partial matching.
listingType"sale" | "rent" | "daily-rent"
Listing type: sale, rent (long-term), daily-rent (short-term). Default: sale
propertyTypestring
Type slug: apartments, houses, villas, land, business, offices, hotels, residential-complexes, luxury-complexes, exclusive
minPricenumber
Min price in EUR
maxPricenumber
Max price in EUR
bedroomsinteger
Minimum bedrooms
bathroomsinteger
Minimum bathrooms
minAreanumber
Min area in m²
maxAreanumber
Max area in m²
maxDistanceToSeanumber
Max distance to sea in meters
limitinteger
Results per page (max 20). Default: 10
offsetinteger
Skip N results for pagination. Default: 0
sort"relevance" | "price_asc" | "price_desc" | "area_asc" | "area_desc" | "newest" | "sea_distance"
Sort order. Default: relevance
locale"ru" | "en" | "sr" | "de" | "fr" | "tr" | "pl"
Response language. Default: en

Returns: totalCount, properties, hasMore, searchTip

Get property details

get_propertyRead-only

Get full details of a specific property by internal ID or slug. "propertyId" is the internal database ID, NOT the property number shown in titles (e.g. "Apartment in Budva No. 2584" has propertyId=2473, propertyNumber="2584"). Use slug for reliable lookups.

Parameters

propertyIdinteger
Internal database ID (the "id" field in search results), not the number shown in the title
slugstring
Property URL slug
locale"ru" | "en" | "sr" | "de" | "fr" | "tr" | "pl"
Response language. Default: en
includeImageboolean
Also return the main photo inline as an image block. Default: false (photo URLs are always included)

Returns: id, propertyNumber, slug, title, url, canonicalUrl, price, currency, priceFormatted, propertyType, listingType, city, district, area, bedrooms, bathrooms, distanceToSea, imageUrl, isVerified, excerpt, contactUrl, description, address, latitude, longitude, landArea, rooms, floor, totalFloors, yearBuilt, furnished, parking, features, galleryUrls, totalPhotos, virtualTourUrl, videoUrl, agent, pricePerSqm, isSuperPrice, isUrgent, isNew

Find similar properties

find_similar_propertiesRead-only

Find properties similar to a given one. Uses AI embeddings to find visually and semantically similar listings. Great for "show me more like this" scenarios.

Parameters

propertyIdintegerrequired
Reference property ID
limitinteger
Number of similar properties (max 12). Default: 6
locale"ru" | "en" | "sr" | "de" | "fr" | "tr" | "pl"
Response language. Default: en

Returns: totalCount, properties, hasMore, searchTip

List cities

list_citiesRead-only

Get list of all cities where MDRealty has properties. Use city slugs from this list for the citySlug filter in search_properties.

Parameters

locale"ru" | "en" | "sr" | "de" | "fr" | "tr" | "pl"
Response language. Default: en

Returns: cities

List property types

list_property_typesRead-only

Get available property types (apartment, house, villa, land, etc.) with slugs for search filters.

Parameters

locale"ru" | "en" | "sr" | "de" | "fr" | "tr" | "pl"
Response language. Default: en

Returns: propertyTypes

List listing types

list_listing_typesRead-only

Get available listing types (sale, rent) with slugs for search filters.

Parameters

locale"ru" | "en" | "sr" | "de" | "fr" | "tr" | "pl"
Response language. Default: en

Returns: listingTypes

List thematic collections

list_collectionsRead-only

List available thematic property collections, e.g. "Beachfront Villas", "Investment Apartments". Curated groups of properties organized by theme.

Parameters

locale"ru" | "en" | "sr" | "de" | "fr" | "tr" | "pl"
Response language. Default: en
limitinteger
Max results. Default: 10

Returns: collections

List articles

list_articlesRead-only

List blog articles about Montenegro real estate. Covers buying guides, investment tips, area overviews, and market analysis.

Parameters

categorystring
Category slug to filter by
limitinteger
Max results. Default: 10
offsetinteger
Skip N results. Default: 0
locale"ru" | "en" | "sr" | "de" | "fr" | "tr" | "pl"
Response language. Default: en

Returns: totalCount, articles, hasMore

Get article

get_articleRead-only

Get a blog article by slug or ID. Articles include guides about Montenegro locations, buying process, and investment advice.

Parameters

slugstring
Article URL slug
idinteger
Article ID
locale"ru" | "en" | "sr" | "de" | "fr" | "tr" | "pl"
Response language. Default: en

Returns: id, slug, title, url, canonicalUrl, excerpt, category, imageUrl, publishedAt, content, relatedProperties

Estimate purchase costs

estimate_deal_costRead-only

Authoritative purchase-cost calculator for Montenegro, the same as /tools/deal-cost-calculator on mdrealty.me: property transfer tax (PROGRESSIVE — 3% up to €150,000, 5% for €150,000–500,000, 6% above; a new build from a VAT-registered developer is exempt) and the notary fee by the official tariff (Sl. list CG 49/2026; +5% of the tariff per party beyond two, +€15 per court interpreter, cadastre filing, 21% VAT). Also returns the agency fee: none for a listing from the MDRealty catalog, a separate deal-support fee for a property found elsewhere. Pass a price, or propertyId/slug of a catalog listing to use its price. Always use this instead of computing taxes or fees yourself.

Parameters

pricenumber
Property price in EUR. Not needed when propertyId or slug is given.
propertyIdinteger
Internal ID of a catalog listing (the "id" field of search results) — its price is used
slugstring
Slug of a catalog listing — its price is used
dealSupportboolean
The property was found elsewhere and MDRealty is asked to handle the purchase. Ignored for catalog listings.
newBuildFromVatPayerboolean
New build bought from a VAT-registered developer — no transfer tax. Default: the listing's own exemption for a catalog listing, otherwise false
buyersinteger
People buying (spouses = 2, a company = 1). Default: 1
sellersinteger
People selling, same rule. Default: 1
interpretersinteger
Court interpreters at the signing, one per language. Default: 0
cadastreFilingboolean
The notary files the cadastre application. Default: true
locale"ru" | "en" | "sr" | "de" | "fr" | "tr" | "pl"
Language of the links. Default: en

Returns: price, currency, property, transferTax, notary, extraFees, agencyFee, totalCosts, totalWithProperty, totalWithDealSupport, calculatorUrl, notes

Mortgage calculator

mortgage_calculatorRead-only

Monthly mortgage payment for a property price in EUR — the same annuity calculation and defaults as /tools/mortgage-calculator on mdrealty.me: down payment 30%, 20 years, and unless a rate is given, the cheapest current bank rate for the borrower segment (5% when no bank rate is on file). Indicative only: bank terms in Montenegro differ.

Parameters

pricenumberrequired
Property price in EUR
downPaymentPctnumber
Down payment as % of the price. Default: 30
downPaymentnumber
Down payment in EUR — overrides downPaymentPct
termYearsinteger
Loan term in years. Default: 20
annualRatePctnumber
Annual interest rate, %. Default: the cheapest current bank rate for the segment
segment"resident" | "non_resident_permit" | "non_resident" | "young" | "diaspora"
Borrower: resident, non_resident_permit (has a residence permit), non_resident, young, diaspora. Default: resident
locale"ru" | "en" | "sr" | "de" | "fr" | "tr" | "pl"
Language of the link. Default: en

Returns: price, downPayment, downPaymentPct, loan, termYears, annualRatePct, rateSource, bank, monthlyPayment, totalPaid, totalInterest, calculatorUrl, note

Market price statistics

get_market_statsRead-only

Asking-price statistics of real estate in Montenegro from the MDRealty catalog: number of active listings, price and price-per-m² quartiles (25th percentile, median, 75th) and median area — for the whole country, a city or a region, a property type and a deal type (sale, monthly rent, nightly rent). A region (e.g. budvanskaya-rivera) covers every town in it; city.isRegion marks it. Groups with fewer than 5 listings are not shown. Refreshed daily; computedAt says when. Use it to answer "how much does an apartment in Budva cost per m²" instead of guessing from search results.

Parameters

citySlugstring
City or region slug from list_cities ("budva" works too); omit for the whole country and every city
propertyTypestring
Property type slug from list_property_types, e.g. apartments; omit for all types
listingType"sale" | "rent" | "daily-rent"
sale, rent (monthly) or daily-rent (nightly). Default: all three
limitinteger
Groups to return, 1–200. Default: 50
locale"ru" | "en" | "sr" | "de" | "fr" | "tr" | "pl"
Language of city and type names. Default: en

Returns: computedAt, currency, minGroupSize, totalGroups, groups, hasMore, note, searchTip

Compare properties

compare_propertiesRead-only

Side-by-side comparison of 2–4 MDRealty listings: price, price per m², area, bedrooms, bathrooms, distance to the sea, city, year built and the listing page, plus how each price per m² compares with the market median for similar listings (the same figures as get_market_stats). Pass the ids from search results, or slugs.

Parameters

propertyIdsinteger[]
Internal IDs (the "id" field of search results), not the listing number in the title
slugsstring[]
Listing slugs
locale"ru" | "en" | "sr" | "de" | "fr" | "tr" | "pl"
Language of titles, names and links. Default: en

Returns: properties, notFound, summary, marketComputedAt, note

Partner and staff keys unlock additional tools, such as search by photo and duplicate review. Contact us to get a partner key.

JSON API without MCP

Agents that cannot use MCP — GPT Actions, LangChain tools, plain HTTP clients — can read the same catalog over a JSON API. No key or registration is needed; the answers are the same as from the MCP tools.

  • GET /api/ai/properties — search listings, with the same filters as search_properties
  • GET /api/ai/properties/{slug} — one listing by its slug, as get_property
  • GET /api/ai/cities — cities with listings, as list_cities

Example

curl "https://mdrealty.me/api/ai/properties?citySlug=budva&query=sea%20view&limit=5"

OpenAPI 3.1 description/api/ai/openapi.json

Limits

  • 60 requests per minute per key. Above that the server answers 429 with a Retry-After header.
  • All public keys used from one IP address share 300 requests per minute.
  • Connecting a client is limited per IP address: 20 registrations and 20 token requests per hour.
  • JSON API without a key: 60 requests per minute per IP address, up to 20 listings per page (a larger limit is capped), offset at most 200.
  • Up to 20 listings per page; use offset to page through results.
  • Prices are in euros. Listings change daily — check availability with the agent before relying on a price.

Terms of use

  • Use the data to answer the questions of your users about property in Montenegro.
  • Attribute MDRealty and link to the listing: show the url field to the user and cite canonicalUrl.
  • Do not copy the catalog in bulk, resell the data or build a competing database from it.
  • The content may not be used to train AI models (robots.txt: Content-Signal ai-train=no).
  • We may limit or revoke keys that are used abusively.
  • Tool calls are logged for 90 days to run and protect the service: tool name, parameters with email addresses and phone numbers masked, and a shortened IP address. Keys that were never used are deleted after 30 days.

Machine-readable discovery

Agents can find and configure the server without this page:

Contact

Questions, partner keys or a tool you are missing — write to sales@mdrealty.me.