# Carris Metropolitana (pypi · carris-metropolitana-mcp)

Greater Lisbon buses: stops, real-time arrivals, lines, alerts and live vehicles.

- Trust score: 80/100 (high trust)
- Registry status: deprecated
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-05

> **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)."

## Components

- pypi · `carris-metropolitana-mcp`: 80/100 (this document), [markdown](https://verifymcp.io/servers/thiagojacoblannes-carris-metropolitana-mcp/carris-metropolitana-mcp.md), [page](https://verifymcp.io/servers/thiagojacoblannes-carris-metropolitana-mcp/carris-metropolitana-mcp)

## Channel facts

- Registry: `pypi`
- Package: `carris-metropolitana-mcp`
- Version: `0.1.1`
- Transport: `stdio`

## Trust breakdown

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. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-05.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - Runs setuptools.build_meta at install time, a recognised build step with no custom scripting around it.
  - 0 of 29 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to ThiagoJacobLannes/carris-metropolitana-mcp).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 2 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 68/100
  - AI-judged instruction clarity (excellent).
  - 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.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 17/100
  - Stability observed for 5 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 71/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 0% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 5 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 5 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### 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.

### Claude

```bash
claude mcp add thiagojacoblannes-carris-metropolitana-mcp -- uvx carris-metropolitana-mcp
```

### Cursor

```json
{
  "mcpServers": {
    "thiagojacoblannes-carris-metropolitana-mcp": {
      "command": "uvx",
      "args": [
        "carris-metropolitana-mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "thiagojacoblannes-carris-metropolitana-mcp": {
      "command": "uvx",
      "args": [
        "carris-metropolitana-mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add thiagojacoblannes-carris-metropolitana-mcp -- uvx carris-metropolitana-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "thiagojacoblannes-carris-metropolitana-mcp": {
      "type": "local",
      "command": [
        "uvx",
        "carris-metropolitana-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add thiagojacoblannes-carris-metropolitana-mcp --command uvx --arg carris-metropolitana-mcp
```

### Hermes

```yaml
mcp_servers:
  thiagojacoblannes-carris-metropolitana-mcp:
    command: "uvx"
    args: ["carris-metropolitana-mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "thiagojacoblannes-carris-metropolitana-mcp": {
      "Transport": "stdio",
      "Command": "uvx",
      "Arguments": [
        "carris-metropolitana-mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add thiagojacoblannes-carris-metropolitana-mcp -t stdio -c uvx -a carris-metropolitana-mcp
```

### Other

```json
{
  "mcpServers": {
    "thiagojacoblannes-carris-metropolitana-mcp": {
      "command": "uvx",
      "args": [
        "carris-metropolitana-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-05 (score 80, +16)

- [security improvement] Malware scan: unverified → pass

### 2026-11-04 (score 64, −15)

- [security regression] Malware scan: pass → unverified

### 2026-11-03 (score 79, +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.

### 2026-11-02 (score 78, +1)

- [functional improvement] Stability: unverified → 0.07
- [functional] Package version: 0.1.0 → 0.1.1

### 2026-11-01 (score 77, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-10-31 (score 62)

First indexed and scored.

## MCP tools (5)

### `find_stops` (~242 tokens)

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).

Input parameters:

- `lat`
- `limit` (integer)
- `lon`
- `query`
- `radius_m`

### `next_arrivals` (~197 tokens)

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).

Input parameters:

- `limit` (integer)
- `line_id`
- `stop_id` (string, required)

### `line_info` (~200 tokens)

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.

Input parameters:

- `include_stops` (boolean)
- `line` (string, required)

### `service_alerts` (~202 tokens)

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).

Input parameters:

- `include_upcoming` (boolean)
- `language` (string)
- `limit` (integer)
- `line_id`
- `stop_id`

### `vehicle_positions` (~102 tokens)

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

Input parameters:

- `line_id` (string, required)

## Diagnostics

Captured diagnostic sections: Provenance, Install scripts, Dependencies. The full working is on the page: https://verifymcp.io/servers/thiagojacoblannes-carris-metropolitana-mcp/carris-metropolitana-mcp#diagnostics

## Score history

- 2026-11-05: 80
- 2026-11-04: 64
- 2026-11-03: 79
- 2026-11-02: 78
- 2026-11-01: 77
- 2026-10-31: 62

## Common questions

### 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.

## Links

- PyPI project: https://pypi.org/project/carris-metropolitana-mcp/
- Socket report: https://socket.dev/pypi/package/carris-metropolitana-mcp
- Repository: https://github.com/ThiagoJacobLannes/carris-metropolitana-mcp
- Website: https://thiagolannes.com/
- Changelog RSS feed: https://verifymcp.io/servers/thiagojacoblannes-carris-metropolitana-mcp/carris-metropolitana-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/thiagojacoblannes-carris-metropolitana-mcp/carris-metropolitana-mcp.json
- HTML version of this page: https://verifymcp.io/servers/thiagojacoblannes-carris-metropolitana-mcp/carris-metropolitana-mcp
