Skip to main content
Glama

SL – Stockholm public transport

Server Details

Stockholm public transport (SL): live departures, trips to addresses with exits, disruptions.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
Hashtagsmile/sl-mcp
GitHub Stars
0
Server Listing
sl-mcp
ChatGPT
–
Claude
–

TDQS

A4.6/5.0

Scored across 4 tools

Disambiguation5/5

Each tool covers a distinct query type: stop lookup, live departures from a stop, disruption notices, and A-to-B trip planning. The descriptions explicitly fence off overlaps (find_stop says not for addresses; get_departures says use plan_trip for A-to-B and get_disruptions for track work), leaving little room for misselection.

Naming Consistency5/5

All four names follow a consistent snake_case verb_noun pattern (find_stop, get_departures, get_disruptions, plan_trip). Verb choice is meaningful: 'find' for search, 'get' for retrieval, 'plan' for computation.

Tool Count5/5

Four tools map cleanly onto the four things a rider asks: where is my stop, when does it leave, what's broken, how do I get there. Nothing appears redundant and no obvious operation is missing from this scoped surface.

Completeness4/5

The stop→departure→trip→disruption lifecycle is fully covered, including edge cases like fuzzy addresses and step-free caveats. Minor gaps remain: no way to list stops or lines for a given route/line, and no fare or accessibility-route data beyond the 'least walking' preference.

Available Tools

4 tools
find_stopFind stopA
Read-only
Inspect

Find Stockholm public transport (SL) stops by name and return their ids, names and transport modes. Use it to get the siteId for get_departures, or a stop id for plan_trip. Not for street addresses: pass those to plan_trip as text instead. A name can match several stops ('Arlanda' gives the train station and bus stops): pick by name and modes, or ask the user. Typos are fine, abbreviations are not: write 'Tekniska högskolan', not 'KTH'. Returns one line per stop: ': , ()'.

Inputs: query (required), limit.

get_departuresGet departuresA
Read-only
Inspect

List live departures from one SL stop, soonest first: line, mode, final destination, direction (1 or 2), platform or bus stop letter, minutes or clock time, delay, cancellation and SL's notes. Use it for 'when does the next X leave from Y'. To get from A to B, use plan_trip; for announced track work or broken lifts, use get_disruptions. Real-time data from SL: at most 3 departures per line and direction, up to 3 hours ahead. towards matches the final destination only: for a station on the way (e.g. 'mot T-Centralen' from Slussen), leave it out and pick the direction from the results. An unknown siteId gives no departures, not an error.

Inputs: siteId (required), line, limit, minutes, +2 more.

get_disruptionsGet disruptionsA
Read-only
Inspect

List disruptions SL has announced: track work, closed entrances, broken lifts and replacement buses, with the lines affected and until when. Use it to check a line or the stops of a trip before travelling, e.g. lifts for a wheelchair. For live delays and cancelled departures, use get_departures instead. The text is in Swedish, so translate it if needed, and is cut at 800 characters. Results are cached for 1 minute, as SL asks. Leave both filters out to list everything.

Inputs: lines, transportMode.

plan_tripPlan tripA
Read-only
Inspect

Plan trips by SL public transport between two stops or street addresses, leaving or arriving at a given time. Returns up to 3 trips, plus walking all the way when that takes at most 30 min. Each ride lists line, direction, platform, stops, crowding and delay; each walk lists minutes and the station exit (uppgång). Use it for 'how do I get to X' and 'when must I leave'; for departures from one stop, use get_departures. Addresses are fuzzy matched, so the result starts with what each one matched. Times are Stockholm time. Unknown stops, the same stop twice and times outside the timetable give a clear error. SL cannot plan step-free trips: for a wheelchair or pram, use prefer 'least walking' and check get_disruptions for broken lifts at the stops.

Inputs: to (required), from (required), time, modes, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to search for stops and stations across all Norwegian public transport and to fetch real-time departure data — planned versus expected times, delays, platform, operator, and disruption messages — with no API key required. Covers bus, tram, metro, train, and ferry nationwide through Entur's open APIs, with filtering by line, destination, and future departure time.
      2
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Provides real-time access to Swedish road weather, traffic cameras, road conditions, and traffic flow data from Trafikverket (Swedish Transport Administration). Enables users to query weather stations, cameras, traffic situations, and flow data through natural language.
      10
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.