# Consulta PDM (Portugal)

> Consulta PDM (Portugal) is a freemium MCP server for legal and government. Check Portuguese municipal master plan rules for any plot: land class, index and floors. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** Web, API
- **Website:** https://pdm.xyzbim.eu/api.html
- **MCP Registry name:** eu.xyzbim/pdm
- **Categories:** legal and government, construction estimating
- **Listing updated:** 2026-11-15

## About

Portugal's municipal master plans (PDM) differ town by town, and this service reads them per plot. Give it a point or a polygon and it reports the municipality, the soil category from the official land-use chart, whether building is allowed, the construction index, number of floors and cited articles, plus RAN and REN constraints. With a plan key it also returns height, minimum area and permitted uses.

Coverage is incomplete: it does not yet include all 308 municipalities, and where a rulebook has not been extracted the answer shows the soil category with no rules. Slope from the EU-DEM terrain model is optional in the REST API.

One key covers the map, AI assistants and the API, and the quota counts distinct plots per day; returning to the same plot (within 150 m) is free. Without a key the map allows 5 plots a day, and the Claude connector shares 200 a day among all users.

## Features

- **Plot analysis:** Soil category, buildability, index and floors for a plot.
- **RAN and REN checks:** Flags agricultural and ecological reserve constraints.
- **Article citations:** Rules come with the regulation articles they cite.
- **Optional slope:** Mean and maximum slope from a terrain model via the API.
- **Three access routes:** Map, AI assistant or REST API with one shared key.

## Good for

- Pre-screen a plot before commissioning a feasibility study
- Embed buildability checks in a real-estate portal
- Compare municipal rules across two towns
- Have an assistant answer buildability questions on a parcel

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http pdm https://pdm.xyzbim.eu/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://pdm.xyzbim.eu/mcp
```

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

```json
{
  "mcpServers": {
    "pdm": {
      "url": "https://pdm.xyzbim.eu/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "pdm": {
      "type": "http",
      "url": "https://pdm.xyzbim.eu/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "pdm": {
      "serverUrl": "https://pdm.xyzbim.eu/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "pdm": {
      "type": "http",
      "url": "https://pdm.xyzbim.eu/mcp"
    }
  }
}
```

## Tools

- `pdm_terreno`: Takes a point or plot polygon and returns municipality, soil category, buildability, index, floors, articles, RAN and REN.
- `pdm_concelho`: Takes a municipality name or DICO code and returns its PDM categories with the same fields.

## FAQ

### Is there a free option?

The map allows 5 plots a day with no key.

### What do plans cost?

49 EUR a month for 25 plots a day, 149 EUR for 150 a day, and from 490 EUR for 1,000 a day (all plus VAT).

### Does it cover all of Portugal?

Not yet; some municipalities lack a chart, rules or RAN and REN data.

### Can I resell the data?

Bulk copying, resale or redistribution is not included in any plan.

### Is Consulta PDM (Portugal) free?

Consulta PDM (Portugal) has a free plan, with paid plans for more usage or features.

### How do I add Consulta PDM (Portugal) to Claude Code?

Run this command in your terminal: claude mcp add --transport http pdm https://pdm.xyzbim.eu/mcp

### What are the best alternatives to Consulta PDM (Portugal)?

The closest alternatives to Consulta PDM (Portugal) are NY LLC Publication (FileMyPublication), TribuJus, SupplyClub Catalog, SynomosAI Governance MCP and MedXpert 标准检索连接器.

## Alternatives

- [NY LLC Publication (FileMyPublication)](https://ai-powered.com/mcp/ny-llc-publication-filemypublication): NY LLC Publication (FileMyPublication) is a free MCP server for legal and government.
- [TribuJus](https://ai-powered.com/mcp/tribujus): TribuJus is an open-source MCP server for legal and government.
- [SupplyClub Catalog](https://ai-powered.com/mcp/supplyclub-catalog): SupplyClub Catalog is a free MCP server for legal and government.
- [SynomosAI Governance MCP](https://ai-powered.com/mcp/synomosai-governance-mcp-2): SynomosAI Governance MCP is an open-source MCP server for security.
- [MedXpert 标准检索连接器](https://ai-powered.com/mcp/medxpert-2): MedXpert 标准检索连接器 is a free MCP server for legal and government.
- [SigPen](https://ai-powered.com/mcp/sigpen): SigPen is a freemium MCP server for files and documents.
- [SOMMON Office](https://ai-powered.com/mcp/sommon-office): SOMMON Office is a paid MCP server for communication.
- [MedXpert 全球法规连接器 (reg-connector)](https://ai-powered.com/mcp/medxpert-reg-connector): MedXpert 全球法规连接器 (reg-connector) is a free MCP server for legal and government.

---
Source: https://ai-powered.com/mcp/consulta-pdm-portugal
