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.
Available components
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
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 24 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
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
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
claude mcp add hei33enberg-marocain-mcp-server -- npx -y @marocain/mcp-server
codex mcp add hei33enberg-marocain-mcp-server -- npx -y @marocain/mcp-server
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"hei33enberg-marocain-mcp-server": {
"type": "local",
"command": [
"npx",
"-y",
"@marocain/mcp-server"
],
"enabled": true
}
}
} openclaw mcp add hei33enberg-marocain-mcp-server --command npx --arg -y --arg @marocain/mcp-server
mcp_servers:
hei33enberg-marocain-mcp-server:
command: "npx"
args: ["-y", "@marocain/mcp-server"] {
"mcpServers": {
"hei33enberg-marocain-mcp-server": {
"command": "npx",
"args": [
"-y",
"@marocain/mcp-server"
]
}
}
} 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.
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.
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.
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.
| Name | Type | Req | Description |
|---|---|---|---|
| id | string | yes | Listing 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.
| Name | Type | Req | Description |
|---|---|---|---|
| id | string | yes | Listing 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.
| Name | Type | Req | Description |
|---|---|---|---|
| scope | string | yes | City 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.
| Name | Type | Req | Description |
|---|---|---|---|
| q | string | yes | Natural-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.
| Name | Type | Req | Description |
|---|---|---|---|
| listing_id | string | yes | Listing 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.
| Name | Type | Req | Description |
|---|---|---|---|
| lang | string | — | Locale: en, fr, es, de, pl, ar (default en). |
| listing_id | string | yes | Listing 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`.
| Name | Type | Req | Description |
|---|---|---|---|
| buyer_email | string | yes | Buyer's email (required). |
| buyer_name | string | — | Buyer's name. |
| buyer_phone | string | — | Optional buyer phone. |
| listing_id | string | — | Listing id (UUID) the service applies to. |
| message | string | — | Optional note / scope (request-only products). |
| product_type | string | yes | From list_services, e.g. staging, viral, reservation, appraiser, visaitation, commercialization_plan, lawyer, financing, listing_boost, photo_relight. |
| variant | string | yes | The 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.
| Name | Type | Req | Description |
|---|---|---|---|
| buyer_email | string | yes | The buyer's email for the agent to reply to. |
| buyer_name | string | yes | The enquiring buyer's name. |
| buyer_phone | string | — | Optional buyer phone. |
| listing_id | string | yes | Listing id (UUID) to enquire about. |
| message | string | — | Optional message — what they're looking for / questions. |
| service_interest | string | — | Optional: 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.
| Name | Type | Req | Description |
|---|---|---|---|
| city | string | — | City name, e.g. Marrakech, Casablanca, Tangier. |
| limit | number | — | Max results (default 20, max 50). |
| max_price_usd | number | — | Maximum asking price in USD. |
| min_price_usd | number | — | Minimum asking price in USD. |
| min_rooms | number | — | Minimum number of rooms. |
| q | string | — | Free-text query. |
| typology | string | — | Property 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.
| Name | Type | Req | Description |
|---|---|---|---|
| k | number | — | Max results (default 8, max 20). |
| q | string | yes | Natural-language / conceptual query. |
| types | string | — | Optional comma-separated doc kinds to search: listing, district, investment, knowledge, essay. |
No output schema declared.
No examples provided.