Projects › Portugal’s public data, inside Claude
Public contracts, inside Claude
Every public contract published on Portal BASE since 2012: who bought what, from whom, for how much and by which procedure, with totals for any buyer or supplier.
Example conversation
“How much did Lisbon’s city council contract this year?”
public_contracts_summary
| Public tenders | 148 contracts | €73.4M |
| Direct awards | 576 contracts | €16.7M |
| Prior consultation | 161 contracts | €9.3M |
906 contracts worth €114.5M in 2026 so far. Most are direct awards, but most of the money went through public tenders.
What it can do
public_contractsContracts by words, buyer, supplier, value or procedure, for any yearpublic_contracts_summaryTotals for one buyer or supplier: by procedure and top partners
The clever bit
The yearly files run to 365 MB each. It streams them instead of loading them whole, and hides the tax number of any individual person, while companies and public bodies keep theirs.
Install it
In Claude Code: claude mcp add portugal -- uvx portugal-mcp. In Claude Desktop or Codex: command "uvx", args ["portugal-mcp"].