mcp-pt
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-ptWhich fuel station has the cheapest diesel in Lisbon?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
[!IMPORTANT] This is an unofficial community project. It is not affiliated with the data providers (DGEG, IPMA, INE, GeoAPI.pt, AMA/dados.gov.pt). Respect each provider's terms — in particular, DGEG fuel data is for non-commercial use.
What it does
Ask your AI assistant things like:
"What's the cheapest diesel station in the Lisbon district?"
"Will it rain tomorrow in Porto? Are there active weather warnings?"
"Which locality has the postal code 1990-096?"
"How many inhabitants did Portugal have in the 2021 Census?"
"Search dados.gov.pt for datasets about the environment."
…and it will call the right tool, hit the public API, and answer with real data.
Related MCP server: IPMA MCP Server
Install
Run it with npx (no install needed) — just point your MCP host at it.
Claude Desktop
Add to claude_desktop_config.json (~/Library/Application Support/Claude/ on macOS, %APPDATA%\Claude\ on Windows):
{
"mcpServers": {
"pt": {
"command": "npx",
"args": ["-y", "mcp-pt"]
}
}
}Cursor
Add to ~/.cursor/mcp.json (or the project's .cursor/mcp.json):
{
"mcpServers": {
"pt": { "command": "npx", "args": ["-y", "mcp-pt"] }
}
}Any MCP host
The server speaks MCP over stdio. Launch npx -y mcp-pt (or node dist/index.js from a clone) as the server command.
Tools
Tool | What it does | Source |
| Cheapest fuel stations in a district (petrol / diesel / LPG) | DGEG |
| 5-day forecast for a location | IPMA |
| Active meteorological warnings | IPMA |
| Look up a postal code | GeoAPI.pt |
| Coordinate → district / municipality / parish | GeoAPI.pt |
| Municipality details | GeoAPI.pt |
| Fetch an INE statistics indicator by | INE |
| Search datasets on dados.gov.pt | dados.gov.pt |
All tools call free, public APIs and need no API keys.
Example (raw MCP)
# List the tools over stdio
printf '%s\n' \
'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"x","version":"0"}}}' \
'{"jsonrpc":"2.0","method":"notifications/initialized"}' \
'{"jsonrpc":"2.0","id":2,"method":"tools/list"}' | npx -y mcp-ptHow it relates to the SDKs
mcp-pt is the AI-facing layer over a family of standalone, multi-language SDKs
for the same data — precos-combustiveis-pt,
ipma-api,
geoapi-pt-sdk,
ine-pt and
dados-gov-pt. The server is
self-contained (it calls the APIs directly), so it has no dependency on those
packages.
Develop
npm install
npm test # vitest
npm run build # tsup → dist/index.js (executable)
node dist/index.jsFAQ
No. Every tool uses a free, public Portuguese API.
No — it's an independent community project. Please respect each provider's terms (DGEG fuel data is non-commercial).
Anything that speaks MCP over stdio — Claude Desktop, Cursor, Continue, and custom clients using the MCP SDK.
License
MIT © Marcelo Domingues
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceProvides access to Portuguese meteorological data from IPMA (Instituto Português do Mar e da Atmosfera), including weather forecasts, warnings, UV index, seismic data, and weather station observations for cities in Portugal.6
- FlicenseAqualityDmaintenanceProvides access to Portuguese weather data from IPMA (Instituto Português do Mar e da Atmosfera), including weather forecasts, meteorological warnings, seismic data, UV index, and real-time observations from weather stations across Portugal.6
- AlicenseAqualityDmaintenanceProvides comprehensive access to Portuguese weather data from IPMA, including forecasts, warnings, sea state, fire risk, UV index, seismic activity, and weather station observations for all Portuguese cities and islands.10MIT
- AlicenseAqualityBmaintenanceEnables lookup of Brazilian public data including companies (CNPJ), postal codes (CEP), banking, economy, geography, and more through 15 tools and 2 guided prompts, powered by BrasilAPI with no API key required.15MIT
Related MCP Connectors
Real-world data for agents: air quality, geocoding, quakes, holidays, web search
15 media & data tools for AI agents: search, transcribe, subtitles, voiceover, translate & more.
Give your agent live data from Twitter, Reddit, the web and GitHub. No API keys, no scraping stack.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/marcelogdomingues/mcp-pt'
If you have feedback or need assistance with the MCP directory API, please join our Discord server