@marocain/mcp-server
Allows ordering paid services via Stripe, generating Stripe checkout URLs for instant products and processing card payments on-platform.
Click on "Install 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., "@@marocain/mcp-serversearch for a luxury villa in Marrakech with a high GIN score"
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.
@marocain/mcp-server
The official Model Context Protocol server for marocain.investments — bringing {GIN}, our authored real-estate intelligence for Morocco, into any MCP client (Claude Desktop, IDEs, agents).
Discover, score and analyse Moroccan luxury real estate — then submit an enquiry that's routed on-platform. All the analysis is free; contact with the agent is always intermediated by the platform.
What is {GIN}?
{GIN} is the platform's proprietary scoring DNA. Instead of one blurry "AI score", it speaks with two coherent pillars fused into one honest verdict:
{GIN} Quality — how good the asset is (vision view/structural/condition + location + yield + WC 2030 catalyst + trust).
{GIN} Deal — how good the buy is (asking price vs. the M-Value AVM, adjusted for city momentum).
Fused verdict — one buy/hold/pass headline that can never disagree with the numbers ("Prime asset, priced to buy", "Cheap — verify condition", …).
It's the difference between a good property and a good deal — the question generic scores never answer. It's honest by design: an overpriced listing is told it's overpriced.
Related MCP server: Israel Real Estate MCP
Install
No install needed — run it straight from npm:
npx -y @marocain/mcp-serverClaude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"marocain": {
"command": "npx",
"args": ["-y", "@marocain/mcp-server"]
}
}
}Tools
Eleven tools — eight read-only analysis tools, a moat-safe enquiry tool, and two commerce tools (discover + order paid services).
Analyse (free)
Tool | What it does |
| Search AI-graded Moroccan listings by city, typology, price, rooms, free-text. |
| Full detail for one listing — price (USD/MAD), AI scores, M-Value AVM, trust, {GIN} pillars + verdict. |
| The {GIN} verdict: Quality + Deal pillars + the fused buy/hold/pass headline. |
| Macro market facts for a city or national scope (median price, supply, momentum, WC 2030 / TGV catalysts). |
| AI-derived one-paragraph investment memo for a listing (6 languages). |
| Conceptual / vector search across the catalogue and the authored guides (Foreign Buyer's Playbook, Morocco-vs-Dubai, AI-scoring methodology, residency, city theses). |
| Ask T{AI]GIN, the agentic investment analyst, a one-shot question — it plans, searches, scores with the {GIN} pillars and answers with citations. |
| A structured, honest investor deal memo for one listing (verdict, M-Value, yield, strengths, risks, district read, next steps). |
Enquire & transact
Tool | What it does |
| Submit a buyer enquiry / request a viewing — routed on-platform to the listing's verified agent. Returns a reference, never any contact. |
| The transactable service catalogue + EUR prices — buyer services (AI staging, viral content, reservation, appraiser, visitation — note the live API |
| Order any service. Instant products return a Stripe |
Payments: card checkout for instant products may be briefly unavailable while the platform reconnects its payment processor — request-based services and buyer enquiries work regardless.
order_servicereports this cleanly.
Discover → analyse → enquire
The model is simple and the same for everyone: all the intelligence is free (it's lead-gen), and the only way to make contact is through the platform (that's the moat, and how agents are billed).
Discover & score with
search_listings/get_gin_score/semantic_search.Go deep with
get_listing/gin_deal_memo/gin_ask.Enquire with
request_service— it routes the buyer's interest to the listing's verified agent and returns a reference. You never receive the agent's phone, email or WhatsApp; the platform intermediates contact.
Most of the catalogue is still being onboarded by agents.
request_serviceroutes to a listing's claimed, verified agent; for a listing without one yet it returns a clear note instead of routing.
Example response shapes
get_gin_score({ id }) → the authored verdict:
{
"id": "…",
"title": "…",
"price_usd": 9630000,
"gin_verdict": { "key": "prime_value", "label": "Prime asset, priced to buy", "tone": "strong" },
"gin_quality": 76,
"gin_deal": 64,
"m_value_usd": 9100000,
"trust": { "title_verified": false, "fcr_status": "unknown" }
}request_service({ listing_id, buyer_name, buyer_email, message }) → an on-platform reference, no contact:
{ "ok": true, "kind": "lead", "lead_id": "…", "status": "requested", "routed": true }Moat-safe by design
No tool ever returns an agent's or seller's contact. On top of the public API hiding the phone, this server redacts the origin-portal deep link (source_url / source_listing_id) and the agent / agency name from listing payloads — so a downstream agent can't route a user off-platform to the seller. The single conversion path is request_service, which routes a buyer enquiry through marocain's own lead flow and returns a reference, never any contact. Discover, score and analyse freely; contact is always intermediated by the platform.
Troubleshooting
Symptom | Cause | Fix |
| Upstream slow or unreachable. | Retry. Bump |
| Rare — Vercel platform-level anti-bot on very bursty traffic. | Back off and retry. |
| A buyer name + valid email are mandatory so the agent can reply. | Supply both. |
| The listing has no claimed agent yet, so the enquiry can't be routed. | Try a claimed/verified listing; check back as agents onboard. |
| You set | Leave it unset (the default is correct). |
Configuration
Env var | Default | Purpose |
|
| Override the API origin (testing only; must be HTTPS + allowlisted). |
|
| Per-request upstream timeout. |
Related
Skills catalog:
@hei33enberg/luxury-skills(npm) — the machine-readable capability catalog this server draws from.Live API:
https://marocain.investments/api/public/*· AEO manifest:/llms.txt.
Releasing
Publishing to npm is automated by a GitHub Action (publish-mcp) in the platform repo:
# bump the version, commit, push — the Action publishes @marocain/mcp-server
npm version patch # or minor / major (edits package.json)
git push --follow-tagsLocal npm test runs the unit tests (CI runs them on Node 18/20/22); CI additionally runs the black-box MCP handshake smoke (node test/smoke.mjs) on Node 20.
License
MIT © marocain.investments
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server for accessing the Fotocasa1 API to search real estate listings and retrieve detailed property information in Spain. It supports location suggestions, property filtering by type and price, and fetching specific property details.Last updated3MIT
- Alicense-qualityFmaintenanceMCP server for querying Israeli government real estate data, enabling property deal searches, market trend analysis, and address retrieval.Last updated4MIT

stream-estateofficial
Alicense-qualityDmaintenanceMCP server for the Stream.estate French real estate API. Search properties, get market statistics, manage saved searches with webhook notifications.Last updated552MIT- Alicense-qualityCmaintenanceMCP server for generating PDF reports on real estate properties. Supports location analysis, market reports, and project summaries.Last updatedMozilla Public 2.0
Related MCP Connectors
MCP server for Appcircle mobile CI/CD platform.
MCP server for ScanMalware.com URL scanning, malware detection, and analysis.
Unofficial read-only MCP server for VeryChic hotel offers
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Hei33enberg/Marocain-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server