Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

marocain.investments — {GIN} real-estate intelligence (Morocco)

NPM · @MAROCAIN/MCP-SERVER · SCANNED AUG 3

{GIN} verdict, M-Value AVM, market facts + semantic search for Moroccan real estate. Moat-safe.

+23 this week 68 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security83
  • No malware found by supply-chain analysis.Pass
  • CVE check failed: a known medium-severity CVE affects @hono/node-server 1.19.17, reached via @modelcontextprotocol/sdk > @hono/node-server. A fixed version is available. View diagnostics → Fail
  • No install/post-install scripts declared.Pass
  • Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
Schema Quality & AI Usability74
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 1349 tokens (~122/item across 11 items; 11 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
  • Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · @marocain/mcp-server

# add to Claude Code
claude mcp add hei33enberg-marocain-mcp-server -- npx -y @marocain/mcp-server
# add to Codex CLI
codex mcp add hei33enberg-marocain-mcp-server -- npx -y @marocain/mcp-server
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "hei33enberg-marocain-mcp-server": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@marocain/mcp-server"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add hei33enberg-marocain-mcp-server --command npx --arg -y --arg @marocain/mcp-server
# ~/.hermes/config.yaml
mcp_servers:
  hei33enberg-marocain-mcp-server:
    command: "npx"
    args: ["-y", "@marocain/mcp-server"]
// mcp.json
{
  "mcpServers": {
    "hei33enberg-marocain-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@marocain/mcp-server"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 3 Aug 26 +4
    • Stability: unverified → 0.27 functional
  • 2 Aug 26 +44
    • GHSA-frvp-7c67-39w9 affects this package: medium security
    • Known CVEs: unverified → fail security
    • Provenance: unverified → fail security
    • Install scripts: unverified → pass security
    • Malware scan: unverified → pass security
    • Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
    • Security disclosure: fail → unverified functional
    • Tool coverage: 100 → unverified functional
    • Schema quality: unverified → excellent functional
    • License: unverified → pass functional
    • Maintenance: unverified → pass functional
    • MCP protocol: unverified → pass functional
    • Dependency health: unverified → partial functional
    • First check of Schema quality: unverified functional
    • Licence: MIT functional
  • 31 Jul 26 −25
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 27 Jul 26 45

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 3 Aug 2026 · Analysed npm/@marocain/[email protected]

Provenance none

Ecosystem: npm · Outcome: none

Vulnerabilities 1 finding
ID CVE Severity Vector Fix available
GHSA-frvp-7c67-39w9 medium CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N yes
Dependencies 94 packages

94 packages in the resolved dependency tree · 94 deprecated · 29 stale.

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools — 11 exposed · ~1,349 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
get_gin_score ~74

The {GIN} coherent verdict for a listing: the Quality pillar (asset, compute_marocain_score), the Deal pillar (price-vs-AVM + momentum) and the one fused buy/hold/pass verdict. The authored number an investor can defend.

NameTypeReqDescription
idstringyesListing id (UUID).

No output schema declared.

No examples provided.

get_listing ~65

Full detail for one listing by id: price (USD/MAD), AI scores, M-Value AVM, FCR/title trust, source provenance and the {GIN} pillars + verdict. Never returns the agent's phone.

NameTypeReqDescription
idstringyesListing id (UUID).

No output schema declared.

No examples provided.

get_market ~69

Macro market facts for a city or national scope — median price, supply, momentum and the catalysts (WC2030, TGV) the {GIN} Deal pillar is benchmarked against.

NameTypeReqDescription
scopestringyesCity slug (e.g. marrakech) or 'morocco' for national.

No output schema declared.

No examples provided.

gin_ask ~96

Ask T{AI]GIN — the {GIN} agentic investment analyst — a one-shot natural-language question. It plans, searches the catalogue + authored guides, scores with the {GIN} pillars and answers grounded with citations. Use for open questions ('which Tangier district has the best rental upside?', 'why Morocco over Dubai?'). Never returns agent contact details.

NameTypeReqDescription
qstringyesNatural-language question for the analyst.

No output schema declared.

No examples provided.

gin_deal_memo ~86

Generate a structured investor DEAL MEMO for one listing id: the {GIN} Quality + Deal verdict, M-Value AVM with value-vs-ask, gross yield, strengths, risks, district read and next steps. Honest (won't soften an overpriced verdict). Decision support, not a certified appraisal.

NameTypeReqDescription
listing_idstringyesListing id (UUID).

No output schema declared.

No examples provided.

list_services ~126

List the platform's transactable services + EUR prices — for BUYERS (AI staging, viral content, refundable reservation, bank-honored appraiser, on-site visitation, the €199 AI business-model plan, plus request-only lawyer / financing / bespoke commercialization) and for AGENTS/sellers (listing boost, photo relight). Returns each `product_type` + its `variant` ids + price, which `order_service` needs. NOTE: card checkout for instant products may be temporarily unavailable while the payment processor is being reconnected; request-based services and buyer enquiries work regardless.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

listing_derive ~75

AI-derived investor narrative for a listing — a one-paragraph thesis synthesising the {GIN} pillars, financial vision and location into a single decision memo.

NameTypeReqDescription
langstringLocale: en, fr, es, de, pl, ar (default en).
listing_idstringyesListing id (UUID).

No output schema declared.

No examples provided.

order_service ~239

Place an order for any platform service (a `product_type` + `variant` from list_services). Instant products return a Stripe `checkout_url` to complete payment on-platform; request-only products (lawyer, financing, commercialization, contact) return a tracked `order_id` with no upfront charge. Requires the buyer's email. NEVER returns agent/seller contact. For a plain buyer enquiry to a listing's agent, prefer `request_service`.

NameTypeReqDescription
buyer_emailstringyesBuyer's email (required).
buyer_namestringBuyer's name.
buyer_phonestringOptional buyer phone.
listing_idstringListing id (UUID) the service applies to.
messagestringOptional note / scope (request-only products).
product_typestringyesFrom list_services, e.g. staging, viral, reservation, appraiser, visaitation, commercialization_plan, lawyer, financing, listing_boost, photo_relight.
variantstringyesThe variant id for that product (from list_services), e.g. single / pack / deposit / essential / standard / premier.

No output schema declared.

No examples provided.

request_service ~215

Submit a buyer ENQUIRY (or request a viewing / valuation / financing / renovation / legal help) for a listing. This is the ONLY conversion path: it routes the enquiry through marocain.investments to the listing's verified agent and returns a confirmation reference — it NEVER returns the agent's contact (the platform intermediates all contact). Works for listings that have a claimed, verified agent; for not-yet-claimed scraped listings it returns a clear note instead of routing. Requires the buyer's name + email so the agent can follow up.

NameTypeReqDescription
buyer_emailstringyesThe buyer's email for the agent to reply to.
buyer_namestringyesThe enquiring buyer's name.
buyer_phonestringOptional buyer phone.
listing_idstringyesListing id (UUID) to enquire about.
messagestringOptional message — what they're looking for / questions.
service_intereststringOptional: viewing, valuation, financing, renovation, legal, etc.

No output schema declared.

No examples provided.

search_listings ~158

Search AI-graded Moroccan luxury listings by city, typology, price, rooms and a free-text query. Returns structured listings with prices and {GIN} scores. Never returns agent contact details.

NameTypeReqDescription
citystringCity name, e.g. Marrakech, Casablanca, Tangier.
limitnumberMax results (default 20, max 50).
max_price_usdnumberMaximum asking price in USD.
min_price_usdnumberMinimum asking price in USD.
min_roomsnumberMinimum number of rooms.
qstringFree-text query.
typologystringProperty type, e.g. villa, apartment, riad, land.

No output schema declared.

No examples provided.

semantic_search ~146

Semantic / conceptual vector search across the Moroccan catalogue AND the authored guides (Foreign Buyer's Playbook, Morocco-vs-Dubai thesis, AI scoring methodology, residency, city theses). Use for fuzzy / lifestyle / thesis queries that don't map to exact filters — e.g. 'quiet authentic seaside neighbourhood with rental upside' or 'why Morocco over Dubai'. Returns ranked items with a similarity score. Never returns agent contact details.

NameTypeReqDescription
knumberMax results (default 8, max 20).
qstringyesNatural-language / conceptual query.
typesstringOptional comma-separated doc kinds to search: listing, district, investment, knowledge, essay.

No output schema declared.

No examples provided.