# Portugal Data API

> Portuguese open data: real-estate listings, public procurement tenders, Porto agency leads.

- name: io.github.y0shkill/portugal-data-mcp
- version: 1.0.0
- connection class: R0 (autonomous)
- trust: 97/100
- quality: 82/100 (new)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.y0shkill%2Fportugal-data-mcp
- tools: https://api.protogrid.dev/v1/servers/io.github.y0shkill%2Fportugal-data-mcp/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "portugal-data-mcp": {
      "type": "http",
      "url": "https://hermesportugal.duckdns.org/mcp-ptdata/"
    }
  }
}
```


## Trust

- hygiene: 100
- liveness: 100
- freshness: 100
- provenance: 90
- drivers: +repository +namespace-matches-repo +website +reachable +uptime-100% +updated-1d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 82/100 (new)

### protocol: 88 (weight 25)

- pass `protocol.modern`: supports 2026-07-28 (server/discover)
- pass `protocol.stateless`: answers without a session
- pass `protocol.transport`: streamable HTTP
- warn `protocol.list_ttl`: tools/list declares ttlMs 0, so clients re-fetch it on every use

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 78 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: get_porto_agency_leads (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_procurement_tenders (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_porto_agency_phones (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 400 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations
- pass `tools.poisoning`: no instructions aimed at the model in tool definitions

### stability: n/a (weight 15)

- n/a `stability.changes`, `stability.rug_pull`, `stability.new_links`: tool history recorded for 0 of the 7 days needed

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 5, about 400 tokens to load them all
- tool set hash: c793c24953d83ce30cabdbeb6ac447c8
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.y0shkill/portugal-data-mcp.svg)](https://protogrid.dev/servers/io.github.y0shkill/portugal-data-mcp)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

_No changes to tool, prompt or resource template definitions recorded._

## Remotes

- https://hermesportugal.duckdns.org/mcp-ptdata/ (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (5)

- `get_api_status`: Check the underlying Portugal Data API health and pricing configuration.

Returns status, payment wallet, network, facilitator URL and per-endpoint
prices. Use this to diagnose connectivity before calling data tools.
- `get_porto_agency_leads`: Fetch verified Porto estate-agency leads sourced from casa.sapo listings.

Returns one page of rows (agency name, city, source URL) plus pagination
metadata. Phone numbers are only included in the full phone variant
(get_porto_agency_phones). Ideal for building prospect lists for
Portuguese proptech, SaaS or marketing outreach.
- `get_porto_agency_phones`: Fetch Porto estate-agency leads including full phone numbers.

Same dataset as get_porto_agency_leads but with the ``phone`` field
populated for every row, enabling direct cold-outreach workflows against
Portuguese real-estate agencies.
- `get_procurement_tenders`: Fetch Portuguese public procurement tenders published on base.gov.pt.
- `get_real_estate_listings`: Fetch the latest daily Portuguese real-estate listings scraped from Imovirtual-style portals.
