Thiago Lannes

Projects › Portugal’s public data, inside Claude

Public contracts, inside Claude

MCP server · Personal project · portugal-mcp · 2026

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 tenders148 contracts€73.4M
Direct awards576 contracts€16.7M
Prior consultation161 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

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"].