Skills/PyPI/swiss-transport-mcp

swiss-transport-mcp@0.5.0

VERIFIED· not started

Publisher claims: "MCP server for Swiss public transport – OJP journey planner, real-time departures, disruptions, occupancy, ticket prices, train formations and open data from opentransportdata.swiss" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry PyPI (MCP server)Publisher malkreide · publishing for 242 daysInstalls 227Last detonated 19 h ago
$claude mcp add swiss-transport-mcp -- uvx swiss-transport-mcp
WatchReport an issue

Coverage

Not started: dependency install failed; the server itself was not observed.
Tested
the dependency install step · every file read, file written and host contacted by what ran
Not tested
server startup · the tool list · tool behavior

What this means for the label: Verified here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Before you give it your token

It will ask for
FORMATION_API_KEYOCCUPANCY_API_KEYOJP_FARE_API_KEYSIRI_SX_API_KEYTRANSPORT_API_KEYConfiguration, not credentials: GITHUB_OUTPUT, TRANSPORT_CKAN_URL
Where it talks to
no vendor host named in the codeAlso opentransportdata.swiss, siri.org.uk, vdv.de, shields.io, githubusercontent.com, claude.ai — not the publisher's domain; check what for before connecting.
What we saw when it ran
no credential files read · no network
What we could not test
server startup · the tool list · tool behavior

Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names opentransportdata.swiss, siri.org.uk, vdv.de, shields.io, githubusercontent.com, claude.ai as well as its own vendor. The guard injects FORMATION_API_KEY, OCCUPANCY_API_KEY, OJP_FARE_API_KEY, SIRI_SX_API_KEY, TRANSPORT_API_KEY only into requests to the host you bind (and its subdomains) and refuses the rest.

$vet-skills run --net declared -- uvx swiss-transport-mcp

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-19 and scored it 83/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 0 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.1sprocessdependency install exit 1 ·
0.1sclaimednot started: dependency install failed (exit 1); the server itself was not observed
0.1sprocessscript backend runs setup only
0.1sprocessno install scripts to re-run

Static findings

HIGH
Hidden zero-width characters detectedsrc/swiss_transport_mcp/formation.py:66 · Hidden zero-width characters detected — may conceal content"FZ": "👨‍👩‍👧 Familienzone",Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST07
HIGH
Hidden zero-width characters detectedsrc/swiss_transport_mcp/formation.py:50 · Hidden zero-width characters detected — may conceal content"FA": "👨‍👩‍👧 Familienwagen",Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST07
MEDIUM
Python subprocess execution detectedscripts/check_ruff_pin.py:71 · Python subprocess execution detecteddone = subprocess.run(call, capture_output=True, text=True, check=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Access to sensitive file pathsdocker-compose.yml:20 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# API keys – supply via your shell / .env (never commit them).Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Process kill command.claude/hooks/check-clone-freshness.sh:52 · Process kill command — agent can terminate processeswhile kill -0 "$pid" 2>/dev/null; doFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Dynamic module loadingtests/test_ruff_pin_doku.py:57 · Dynamic module loading (importlib.loader.exec_module via provenance)spec.loader.exec_module(modul)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill command.claude/hooks/check-clone-freshness.sh:56 · Process kill command — agent can terminate processeskill -KILL "$pid" 2>/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
URL to a private-network addresstests/test_net_security.py:46 · URL to a private-network address — a LAN or development target"https://10.0.0.5/internal", # private rangeFix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
MEDIUM
URL to the cloud instance metadata addresstests/test_net_security.py:44 · URL to the cloud instance metadata address — reads the VM's credentials"https://169.254.169.254/latest/meta-data/", # cloud metadataFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST07
MEDIUM
File type combined with upload action.github/workflows/live-tests.yml:128 · File type combined with upload action — agent may exfiltrate local data filespytest tests/ -m live -v --junitxml=live-report.xml 2>&1 | tee live-output.txtFix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
LOW
Dynamic module loadingtests/test_ruff_pin_doku.py:56 · Dynamic module loadingmodul = importlib.util.module_from_spec(spec)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
MCP server using network transport (SSE/HTTP)tests/test_cache_hints.py:86 · MCP server using network transport (SSE/HTTP) — data sent over network"""`MCPServer` lehnt einen unbekannten Schluessel schon im Konstruktor ab;Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.
AST04
MEDIUM
Access to sensitive file pathstests/test_net_security.py:36 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesvalidate_egress_url("file:///etc/passwd")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
LOW
Dynamic module loadingtests/test_tracing.py:56 · Dynamic module loadingsdk_present = importlib.util.find_spec("opentelemetry.sdk") is not NoneFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill command.claude/hooks/check-clone-freshness.sh:54 · Process kill command — agent can terminate processeskill -TERM "$pid" 2>/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05

Cost to the agent

Instructions loaded
≈3,987 tok
2 files · 81 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

No advisories in OSV for swiss-transport-mcp@0.5.0 as of 18 h ago. This is the package itself, not its dependencies.