Portugal Data API
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
Portugal Data API
One MCP server for Portuguese open datasets: real-estate listings, public procurement tenders and verified Porto estate-agency leads.
The Portugal Data API is a remote MCP server. It runs at
https://hermesportugal.duckdns.org/mcp-ptdata/ and speaks MCP Streamable
HTTP — point any MCP client at the URL and the five tools are available.
There is nothing to install, no API key and no account: the MCP responses are
returned in full, without per-call payment setup.
Marketplace listing: https://mcp-marketplace.io/server/portugal-data-api (security score 8.0 — Low Risk)
Health check:
GET https://hermesportugal.duckdns.org/x402/health→HTTP 200
Tools
Tool | What it returns |
| Latest daily Portuguese real-estate listings scraped from Imovirtual-style portals. |
| Portuguese public procurement tenders published on |
| Verified Porto estate-agency leads (agency name, city, source URL) with pagination metadata. |
| The same Porto agency dataset with the |
| Health and pricing configuration: status, payment wallet, network, facilitator URL, per-endpoint prices. |
Tool schemas
// get_real_estate_listings / get_procurement_tenders
{ "page": 1 } // 1-based result page, up to 100 rows per page
// get_porto_agency_leads / get_porto_agency_phones / get_api_status
{}Related MCP server: MCP Public Data
Configuration
Claude Desktop (remote, Streamable HTTP)
{
"mcpServers": {
"portugal-data-api": {
"type": "http",
"url": "https://hermesportugal.duckdns.org/mcp-ptdata/"
}
}
}Cursor / Windsurf / VS Code (remote, Streamable HTTP)
{
"mcpServers": {
"portugal-data-api": {
"url": "https://hermesportugal.duckdns.org/mcp-ptdata/"
}
}
}Claude Desktop (local stdio, via this repo)
Runs the same five tools locally by forwarding to the hosted endpoint:
{
"mcpServers": {
"portugal-data-api": {
"command": "python3",
"args": ["/absolute/path/to/portugal-data-mcp/server.py"]
}
}
}Docker (local stdio)
docker build -t portugal-data-mcp .
docker run -i --rm portugal-data-mcpExample session
// → initialize
{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"demo","version":"1.0"}}}
// ← serverInfo
{"serverInfo":{"name":"portugal-data-api","version":"4.1.8"}}
// → tools/call
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_api_status","arguments":{}}}
// ← result
{"status":"ok","payTo":"0xEd7872b633F78673cbc9d5294acc5a833346dc3f","network":"eip155:8453","facilitator":"https://facilitator.payai.network","price_realestate":"$0.02","price_tenders":"$0.02","price_leads":"$0.05"}Pricing
The backing Portugal Data API is pay-per-call over x402 on Base
(eip155:8453). Current per-call prices, as reported by get_api_status:
Endpoint | Price |
Real-estate listings | $0.02 |
Procurement tenders | $0.02 |
Agency leads / phones | $0.05 |
MCP clients connected to the MCP endpoint receive responses in full — no per-call payment setup is required from the client side.
Repository layout
portugal-data-mcp/
├── server.py # MCP stdio transport: advertises the 5 tools, forwards calls upstream
├── Dockerfile # Minimal image running the stdio server
└── README.mdserver.py is a thin transport only. The datasets, the scraping and the
payment rail live behind the hosted Streamable HTTP endpoint, so no scraped
data and no API keys are stored in this repository. Python 3.8+ standard
library only — no dependencies.
License
MIT — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Portugal public data: weather, INE, Parliament, contracts, SNS, fuel, transit, power cuts.
UK public data tools for agents: companies, tenders, property, stats, documents. No key to start
An open MCP server for the Portuguese housing market, run by flatin.pt. No API key, no registration, no rate-limit negotiation. Twelve tools: • imt_calculate — IMT and Imposto do Selo on a purchase, 2026 tables, including the reduced table, the relief for buyers aged 35 or under and the flat rate for non-residents • imi_rate / imi_annual_cost — the IMI rate of any of the 308 municipalities for 2023–2025, and the annual bill for a given VPT • construction_barometer — how many building-permit cases enter a town hall each month (our own indicator: monthly for three municipalities, annual for eight, method and revision policy published) • search_newbuilds / get_newbuild — 250 new developments, 53 municipalities, 71 developers, with stage and, where published, price • where_to_live / municipality_stats / compare_municipalities — municipal comparisons • glossary_lookup — Portuguese property and tax terms • request_consultation / subscribe_digest — reaching a human The data behind the tax tools is published as open data under CC BY 4.0 on the Portuguese national portal (dados.gov.pt) and archived on Zenodo with a permanent DOI. Anyone may reuse it. Humans, not bots, answer the people who get in touch: a home purchase involves personal data under the GDPR and decisions that cannot be refunded.
Portugal PDM zoning with official sources. One free query per account; no purchases.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables querying Portugal's national open data portal (dados.gov.pt) through natural language.83 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables querying, sampling, and exporting datasets from over twenty keyless free public data sources spanning the EU, Switzerland, Germany, the US, and global providers through one uniform set of tools. A single consistent interface lets users list databases and tables, inspect schemas and query guides, run queries, and export results as CSV or JSON without per-API clients.Apache 2.0
- AlicenseAqualityCmaintenanceEnables AI agents to search, count, and validate EU public-procurement notices from the Tenders Electronic Daily database through read-only, keyless queries using keyword, country, CPV, date-range, and expert-syntax filters. It can run locally over stdio or as a token-protected HTTPS connector, returning notice titles, buyers, values, and links.4MIT
- AlicenseBqualityBmaintenanceEnables clients to discover data sources, search properties and unified records, and query counts and listings for trustee sales, sheriff sales, tax sales, tax delinquency, and early filings through a hosted Streamable HTTP endpoint or local stdio bridge.15MIT