Real Estate Capitale
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., "@Real Estate Capitalefind 3-bedroom apartments in Rabat under 1.5M MAD"
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.
Real Estate Capitale — MCP Server
MCP server for real estate search, property valuation, market analysis, and lead management in Rabat, Salé, and Témara, Morocco.
Quick Start
# Install
npm install
# Set database URL
cp .env.example .env
# Edit .env with your PostgreSQL connection string
# Start stdio server (for Claude Desktop, opencode, Cursor)
npm start
# Or start HTTP/SSE server
npm start:httpRelated MCP server: pdf-mcp
17 Tools
Tool | Description |
| Search properties with filters (type, location, budget, surface, rooms) |
| Get full listing details by ID |
| Estimate property value by quartier and surface |
| Price trends over time by quartier |
| Aggregated stats per quartier (price/m², count) |
| List all available quartiers |
| List all available cities |
| Create a lead (contact client) |
| Find similar listings for valuation |
| Identify undervalued properties |
| Price/m² analysis with distribution |
| Rental yield by quartier |
| 90-day price predictions |
| Compare two quartiers side-by-side |
| Detect outlier pricing |
| Market liquidity index |
| Agency ranking by volume |
Transports
stdio (local)
node bin/mcp-serverFor Claude Desktop, opencode, Cursor — reads JSON-RPC from stdin, writes to stdout.
HTTP/SSE (remote)
node bin/mcp-server-http
# Listens on port 3001Endpoints:
GET /— Server info (Streamable HTTP discovery)POST /— Synchronous JSON-RPCGET /sse— SSE streamPOST /messages?sessionId=...— SSE session messagesGET /health— Health check
Configuration
Claude Desktop
Copy config/claude-desktop.json to your Claude Desktop MCP config, or add to claude_desktop_config.json:
{
"mcpServers": {
"realestatecapitale": {
"command": "node",
"args": ["/path/to/rabatrealestate/bin/mcp-server"],
"env": {
"DATABASE_URL": "postgresql://user:pass@localhost:5432/mubawab"
}
}
}
}opencode
{
"mcp": {
"realestatecapitale": {
"type": "local",
"command": ["node", "bin/mcp-server"],
"env": { "DATABASE_URL": "..." }
}
}
}Remote (HTTP)
{
"mcp": {
"realestatecapitale": {
"type": "remote",
"url": "https://realestatecapitale.ma/mcp"
}
}
}Query Tool
# List tools
node bin/query "tools/list"
# Call a tool
node bin/query 'tools/call {"name":"list_villes","arguments":{}}'
# Query remote server
MCP_URL=https://realestatecapitale.ma/mcp node bin/query "tools/list"Testing
npm testArchitecture
┌─────────────┐ stdio ┌──────────────┐
│ Claude Desktop│ ◄──────────── │ bin/mcp-server│
│ opencode │ │ (stdio) │
└─────────────┘ └──────┬───────┘
│
┌─────────────┐ HTTP/SSE ┌──────┴───────┐
│ Remote AI │ ◄──────────── │ bin/mcp- │
│ clients │ │ server-http │
└─────────────┘ │ (port 3001) │
└──────┬───────┘
│
┌──────┴───────┐
│ src/core/ │
│ mcp-core.js │
│ (17 tools) │
└──────┬───────┘
│
┌──────┴───────┐
│ PostgreSQL │
│ (mubawab) │
└──────────────┘License
MIT
This server cannot be installed
Maintenance
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceMCP server for querying Israeli government real estate data, enabling property deal searches, market trend analysis, and address retrieval.4MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for generating PDF reports on real estate properties. Supports location analysis, market reports, and project summaries.Mozilla Public 2.0
- FlicenseNot gradedqualityDmaintenanceRemote MCP server for Saudi real estate data, giving AI assistants access to 65,000+ rental and sale property listings across 5 Saudi cities with market analytics and price trends.1
- AlicenseNot gradedqualityCmaintenanceMCP server for real estate agents with 12 tools covering floor plans, virtual tours, property descriptions (EN/FR), price estimation, property comparison, staging suggestions, neighborhood analysis, 3D previews, French DPE energy diagnostic, and live DVF transaction data.10MIT
Related MCP Connectors
RealEstateAPI MCP — property search, detail, and skip-trace (realestateapi.com)
MCP Server for agents to onboard, pay, and provision services autonomously with InFlow
MCP server for ScanMalware.com URL scanning, malware detection, and analysis.
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/allamiwayl-27/rabatrealestate'
If you have feedback or need assistance with the MCP directory API, please join our Discord server