Carris Metropolitana
PYPI · CARRIS-METROPOLITANA-MCP
Greater Lisbon buses: stops, real-time arrivals, lines, alerts and live vehicles.
Available components
Last scanned (9 hours ago)
Scores higher than 81% of PyPI servers
Category Maps and Location
Deprecated
This server is marked deprecated in the MCP registry.
The registry records this reason: Deprecated: now part of portugal-mcp (io.github.ThiagoJacobLannes/portugal-mcp).
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security100
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- Runs setuptools.build_meta at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
- 0 of 29 dependencies flagged as unhealthy. View diagnostics → Pass
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to ThiagoJacobLannes/carris-metropolitana-mcp). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 2 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability68
- AI-judged instruction clarity (excellent).Pass
- Context-footprint check failed: tool/resource definitions use about 943 tokens (~188/item across 5 items; 5 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management17
- Stability observed for 5 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage71
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 0% of tool parameters carry a description.Fail
- Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- We read all 5 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 5 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 5 Nov 26 +16
- Malware scan: unverified → pass ▲ security
- 4 Nov 26 −15
- Malware scan: pass → unverified ▼ security
- 3 Nov 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 7 to 10. That category is still filling its 30-day observation window: 2 days of observed history at the previous scan, 3 at this one. The score rises as the window fills, whether or not the server changes.
- 2 Nov 26 +1
- Stability: unverified → 0.07 ▲ functional
- Package version: 0.1.0 → 0.1.1 functional
- 1 Nov 26 +15
- Malware scan: unverified → pass ▲ security
- 31 Oct 26 62
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 5 Nov 2026 · Analysed pypi/carris-metropolitana-mcp@0.1.1
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | pypi |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | ThiagoJacobLannes/carris-metropolitana-mcp |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/ThiagoJacobLannes/carris-metropolitana-mcp/.github/workflows/publish.yml@refs/tags/v0.1.1 |
| Rekor log index | 3641895125 |
| Predicate type | PyPI publish attestation https://docs.pypi.org/attestations/publish/v1 |
| Subject digest | sha256:36a38ed6eecb296a7a689e3649cd37ffe0fd4d377c3df8e48b0535f70e758d02 |
Background: How many MCP packages publish verified provenance →
Install scripts 1 script
| Hook | Tier | Command |
|---|---|---|
| build_backend | allowlisted | setuptools.build_meta |
Background: Why install scripts are a supply-chain risk →
Dependencies 29 packages
| Packages resolved | 29 |
|---|---|
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
find_stops ~242
Find Carris Metropolitana bus stops by name and/or near a coordinate. Use this first whenever the user names a place, street, station or gives a location, to get the stop_id needed by next_arrivals. Results include the lines serving each stop. Args: query: Text to match in the stop name (accent/case-insensitive, all words must match), e.g. "Gare do Oriente", "Cacilhas terminal". A 6-digit stop id also works. lat, lon: A coordinate (WGS84). Results are sorted by straight-line distance from it. Note: buses inside Lisbon city are mostly run by Carris (a different company, not covered here); Carris Metropolitana serves the wider region. radius_m: Only stops within this many metres of lat/lon. Default 500 when no query is given; unlimited when a query is given. limit: Max stops to return (default 10, max 50).
| Name | Type | Req | Description |
|---|---|---|---|
| lat | – | – | – |
| limit | integer | – | – |
| lon | – | – | – |
| query | – | – | – |
| radius_m | – | – | – |
Structured output declared, but exposes no named fields.
No examples provided.
line_info ~200
Details of a Carris Metropolitana line: name, route ends, directions, municipalities. Use for "where does line 4715 go?", "which bus goes from Cacilhas to Almada?", or to check whether a line passes a stop (include_stops=True). If `line` is not an exact line number it is treated as text (e.g. "Oriente Setubal") and the matching lines are listed instead. trips_today = 0 means the line does not run today (some lines are seasonal or weekday-only). Departure times past midnight are written "24:30", "25:10" (same service day). Args: line: 4-digit line number ("4715") or free text matched against line names. include_stops: Also list every stop (id + name) in order for each direction.
| Name | Type | Req | Description |
|---|---|---|---|
| include_stops | boolean | – | – |
| line | string | yes | – |
Structured output declared, but exposes no named fields.
No examples provided.
next_arrivals ~197
Upcoming buses at a Carris Metropolitana stop, real-time where available. Use for "when is the next bus at X?" (get stop_id from find_stops first). Each arrival says whether it is "realtime" (live GPS estimate) or "scheduled" (timetable only: the bus may not have started its trip yet). minutes_from_now uses the real-time estimate when present. Times are Europe/Lisbon. Only today's operational day is covered, so late at night the list may be short or empty. Args: stop_id: 6-digit stop id, e.g. "060361". line_id: Optional 4-digit line number to keep only that line, e.g. "2794". limit: Max arrivals to return (default 10, max 50).
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | – | – |
| line_id | – | – | – |
| stop_id | string | yes | – |
Structured output declared, but exposes no named fields.
No examples provided.
service_alerts ~202
Service alerts (detours, works, strikes, stops not served) for Carris Metropolitana. Use before recommending a trip, or when the user asks "is line X disrupted?". Filter by line and/or stop; with no filter, returns all current alerts (there are often ~100). Alerts are mostly published in Portuguese only. Args: line_id: 4-digit line number, e.g. "4407". stop_id: 6-digit stop id, e.g. "160584". include_upcoming: Also return alerts that start in the future (default True). language: Preferred language ("pt" or "en"); falls back to what exists. limit: Max alerts to return (default 20, max 100).
| Name | Type | Req | Description |
|---|---|---|---|
| include_upcoming | boolean | – | – |
| language | string | – | – |
| limit | integer | – | – |
| line_id | – | – | – |
| stop_id | – | – | – |
Structured output declared, but exposes no named fields.
No examples provided.
vehicle_positions ~102
Live GPS positions of the buses currently running on a Carris Metropolitana line. Use for "where is the 3508 right now?" or to see how many buses are out on a line. Each vehicle includes its position, heading, speed, the stop it is at / heading to, and how many seconds old the fix is. Args: line_id: 4-digit line number, e.g. "3508".
| Name | Type | Req | Description |
|---|---|---|---|
| line_id | string | yes | – |
Structured output declared, but exposes no named fields.
No examples provided.
How do I install the Carris Metropolitana MCP server?
Carris Metropolitana runs locally as a PyPI package, launched with uvx carris-metropolitana-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
pypi · carris-metropolitana-mcp
claude mcp add thiagojacoblannes-carris-metropolitana-mcp -- uvx carris-metropolitana-mcp
What is the Carris Metropolitana MCP server?
Carris Metropolitana is an MCP server listed in the public MCP registry as io.github.ThiagoJacobLannes/carris-metropolitana-mcp. Greater Lisbon buses: stops, real-time arrivals, lines, alerts and live vehicles. This page covers its PyPI package (carris-metropolitana-mcp).
Is the Carris Metropolitana MCP server safe to use?
Carris Metropolitana scores 80 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the Carris Metropolitana MCP server expose?
Carris Metropolitana exposes 5 tools: find_stops, next_arrivals, line_info, service_alerts, vehicle_positions. Their descriptions and schemas cost roughly 943 tokens of context every time the server is loaded.
Is the Carris Metropolitana MCP server still maintained?
Carris Metropolitana is marked deprecated in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the Carris Metropolitana MCP server under?
Carris Metropolitana declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.