# Magicbricks Scraper MCP server

> Extracts Indian property listings including price, area, BHK, and locality from Magicbricks as JSON data.

- Repository: https://github.com/datadmon/apify-data-actors-examples
- Page: https://hostedmcp.org/servers/datadmon/magicbricks-property-scraper
- Transport: remote
- Stars: 0
- Latest version: 1.0.1

## Install

### Claude Code

```sh
claude mcp add --transport http magicbricks-property-scraper 'https://mcp.apify.com/?tools=data_daemon/magicbricks-property-scraper'
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "magicbricks-property-scraper": {
      "url": "https://mcp.apify.com/?tools=data_daemon/magicbricks-property-scraper"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "magicbricks-property-scraper": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=data_daemon/magicbricks-property-scraper"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"magicbricks-property-scraper","type":"http","url":"https://mcp.apify.com/?tools=data_daemon/magicbricks-property-scraper"}'
```

### Codex

```sh
codex mcp add magicbricks-property-scraper --url 'https://mcp.apify.com/?tools=data_daemon/magicbricks-property-scraper'
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.magicbricks-property-scraper]
url = "https://mcp.apify.com/?tools=data_daemon/magicbricks-property-scraper"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http magicbricks-property-scraper 'https://mcp.apify.com/?tools=data_daemon/magicbricks-property-scraper'
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "magicbricks-property-scraper": {
      "url": "https://mcp.apify.com/?tools=data_daemon/magicbricks-property-scraper",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `APIFY_TOKEN` | no | no |  |

## Tools (5)

- `get-actor-run`: Get detailed information about a specific Actor run. Returns run result: status, storages (datasets/keyValueStores alias map), stats, summary, nextStep. - summary describes the past (e.g. "SUCCEEDED in 22s. 47 items; 3 fields available."). - nextStep prescribes one primary follow-up action with identifiers interpolated (e.g. "Use get-dataset-items with datasetId=..."). - waitSecs (0–45, default 30) waits up to that many seconds for terminal status before returning. USAGE: - Use to check the status of a run started by any Actor-running tool. - Pass waitSecs > 0 to block until terminal (or until the cap elapses). USAGE EXAMPLES: - user_input: Show details of run y2h7sK3Wc - user_input: Wait for run y2h7sK3Wc to finish (read-only)
- `get-dataset-items`: Get items (rows) from a dataset — the output/results produced by an Actor run. Returns the rows themselves, not dataset metadata, counts, or a schema. When the user provides a datasetId and asks to retrieve results, output, data, or rows, call this tool directly. Default limit is 20. Use clean=true to skip empty items and hidden fields. USAGE: - Use when you need to read data from a dataset (all items or only selected fields). USAGE EXAMPLES: - user_input: Retrieve results from dataset abc123 - user_input: Get only metadata.url and title from dataset username~my-dataset (read-only)
- `get-key-value-store-record`: Get the value stored under a specific key in a key-value store — a single record, not a listing of all keys. Requires the exact key name. The response preserves the original Content-Encoding; most clients handle decompression automatically. A record over 262144 bytes is returned as a link to download it, not as its value. USAGE: - Use when you need to retrieve a specific record (JSON, text, or binary) from a store. USAGE EXAMPLES: - user_input: Get record INPUT from store abc123 - user_input: Get record data.json from store username~my-store (read-only)
- `abort-actor-run`: Abort an Actor run that is currently starting or running. For runs with status SUCCEEDED, FAILED, ABORTING, ABORTED, or TIMED-OUT, this call has no effect. The results will include the updated run details after the abort request. USAGE: - Use when you need to stop a run that is taking too long or misconfigured. USAGE EXAMPLES: - user_input: Abort run y2h7sK3Wc - user_input: Gracefully abort run y2h7sK3Wc
- `data_daemon--magicbricks-property-scraper`: This tool calls the Actor "data_daemon/magicbricks-property-scraper" and retrieves its output results. Actor description: $1 per 1,000 listings | Scrape Magicbricks (India) property listings: price, price per sq ft, carpet and covered area, BHK, bathrooms, furnishing, locality, project, developer, possession date, posted date, lat/long. Sale or rent, any city. Only-new mode. No login.

## FAQ

### What data can I extract from Magicbricks?

You can retrieve price, price per sq ft, carpet area, BHK, furnishing, locality, project, and coordinates.

### How does the scraper work?

The actor reads the site's own JSON endpoints, meaning it runs quickly without needing a proxy or login.

### What programming languages are supported for this scraper?

The scraper provides ready-to-run examples for Python, Node.js, curl, and n8n.
