Listed from the MCP registry; nobody on Odel publishes it.
Is this yours? Claim itStockholm public transport (SL): live departures, trips to addresses with exits, disruptions.
One address for any MCP client. No sign-in needed on this server.
3 read1 other
Grouped by tool name. At most: only reads or looks up information.
Odel charges nothing per call. The publisher may charge for its own service.
An MCP server for Stockholm public transport (SL). Connect it to Claude or another MCP client and ask about departures, disruptions and trips in plain Swedish or English.
När går nästa tunnelbana från Slussen mot Ropsten?
Är det några störningar på röda linjen?
How do I get from Odenplan to Arlanda?
Hur tar jag mig från Sundbyberg till Götgatan 76?
It uses SL's open APIs, which don't need an API key.
An answer looks like this:
Gå 08:31 från Sundbybergs centrum, så är du framme på Götgatan 76 kl 08:58.
- 08:31 Tunnelbana 10 mot Kungsträdgården från spår 2. Åk 7 stationer till T-Centralen.
- 08:47 Byt till tunnelbana 17 mot Skarpnäck från spår 4. Åk 3 stationer till Medborgarplatsen.
- 08:52–08:58 Gå ut via uppgång Folkungagatan Götgatan och gå 6 min till Götgatan 76.
A hosted server runs on Cloudflare Workers. No API key or login is needed:
https://sl-mcp.miltonlindblad.workers.dev/mcp
Add it as a custom connector in claude.ai or ChatGPT, or in any MCP client that supports Streamable HTTP. In Claude Code:
claude mcp add --transport http sl https://sl-mcp.miltonlindblad.workers.dev/mcp
find_stop: search for a stop by name, typos are fine, and get its idget_departures: live departures from a stop with platform or bus stop letter, delays and cancellations.
Filter by mode, line or destinationget_disruptions: announced disruptions such as track work, broken lifts and replacement buses, by line,
mode or metro colour ("grön linje")plan_trip: up to 3 trips between stops or street addresses, leaving or arriving at a given time. Each ride
shows platform, stops, crowding and delay, and each walk shows minutes and which station exit to use.
You can ask for only some modes (e.g. boat) and for fewest changes or least walkingReady-made questions to pick in your client, e.g. as slash commands:
trip: how to get from one place to another, optionally arriving by a given timedepartures: the next departures from a stopRequires Node.js 20 or later.
git clone https://github.com/Hashtagsmile/sl-mcp.git
cd sl-mcp
npm install
npm run build
claude mcp add sl -- node /path/to/sl-mcp/dist/index.js
Add this to claude_desktop_config.json and restart Claude Desktop:
{
"mcpServers": {
"sl": {
"command": "node",
"args": ["/path/to/sl-mcp/dist/index.js"]
}
}
}
npm run dev # compile on save
npm test # run the tests
npm run inspect # try the tools in the MCP Inspector
The tests use recorded API responses in test/fixtures/, so they don't call SL.
src/worker.ts serves the same tools over HTTP at /mcp.
npx wrangler dev # run it locally on http://localhost:8787/mcp
npx wrangler deploy # deploy to your Cloudflare account
plan_trip with a time.Data from SL via Trafiklab.
MIT