shipwithmuse

№ 0903Skill

SG Bus + Train connector for Muse

MCP server built for the Muse connector directory that answers Singapore bus arrival times and MRT/LRT service questions using the official LTA DataMall API.

SG Bus + Train connector for Muse on github.com
emman27/sg-bus-mcpREADME ↗
# 🚌🚇 SG Bus + Train — a Muse connector

Real-time Singapore bus arrival times **and MRT/LRT service info** as an MCP
server, powered by the official **LTA DataMall API**. Ask in plain language:

> "When is the next bus 96 at stop 83139?"
> "Which buses stop at Buona Vista?"
> "Is the next bus 151 wheelchair accessible?"
> "What buses are near me?"
> "Is the MRT disrupted right now?"
> "How crowded is Dhoby Ghaut station?"
> "Which stations are on the Circle Line?"

Built for submission to the **Meta Muse connector directory** (muse.ai/platform).

## How it works

```
Muse ──MCP (streamable HTTP)──▶ this server ──HTTPS──▶ LTA DataMall API
                                      │                        ▲
                                      └─ forwards YOUR key ────┘
```

### Auth model (per-user keys, with a demo fallback)

This connector uses **API keys** auth:

- Each end user ideally brings **their own free LTA DataMall API key** (from
  <https://datamall.lta.gov.sg> — sign up, free).
- The user saves the key in Muse as the `x-lta-account-key` request header
  (alias `accountkey` also accepted). Own keys are **unlimited**.
- For try-before-you-commit, the server can be configured with a **demo key**
  via the `LTA_DEMO_ACCOUNT_KEY` env var (the developer's own key, shared
  quota). Callers without their own key fall back to it, rate-limited to
  **10 calls per client IP per day** (in-memory). When the budget is exhausted
  they get a friendly error pointing at the free key signup.
- The server **never stores** any key — yours or the demo one — and never logs keys.

### Tools (all read-only)

| Tool | What it does |
|---|---|
| `bus_arrivals(bus_stop_code)` | Next 3 buses per service at a 5-digit stop code: minutes until arrival, crowding in plain words (seats / standing / limited standing), wheelchair accessibility, single/double deck. Each bus is tagged with its terminating stop, resolved from LTA's per-vehicle destination code. |
| `find_bus_stops(query)` | Case-insensitive search over stop names and roads. Served from the bundled stop list (see below) — instant, no LTA call. |
| `nearby_bus_stops(latitude, longitude, max_results=5, radius_m=500)` | Stops near a location (haversine distance), nearest first, with distance in metres. Served from the bundled stop list. Enables a "buses near me" flow: resolve the user's location → this tool → `bus_arrivals

Also filed under Connectors & MCP

See all →
  1. 0842

    Muse in iMessage via BlueBubbles★

    https://github.com/mvrius/bluebubbles-muse BlueBubbles server on my Mac, Muse hook polling it every ~5s. How it works: the poll driver (bash shim + Python filter) checks for new messages and filters on an allowlist of senders, 1:1 chats, and group GUIDs. A new message from an allowlisted sender wakes Muse into a side chat with the message as context. Replies go back out as normal iMessages through the Mac. Why this instead of a messaging connector: connectors need an approval tap on every send, otherwise similar could be acheived via Messenger connector. Setup: BlueBubbles on the Mac, Tailscale so the agent VM can reach it, run the installer. Repo has the hook scripts, installer, architecture doc, and skill definition. Known issues: I am noticing that sometimes Tailscale connection drops on the Mac. I found that I need to bring down/up tailscale every hour for connection to stay up. A fun example from earlier today, I updated my calendar, moved dinner with my wife by 30 minutes - Muse mesaged the Family chat and informed my wife of the change. Cool findings: - Muse has a Tailscale option, you can connect the VM it runs on in Client model with other machines running Tailscal

    u/Gold-Entry9142

    Reddit post

    Connectors & MCP

  2. 0707

    Todo-app sync built without an official API★

    Still really enjoying @muse. I use Things.app for all of my todos, and though it has cloud sync they (still) haven’t added an official API. I told muse to build it and a minute or two later I have ongoing todo sync from my LLM across all my Apple devices. Wild.

    @holman

    X post

    Connectors & MCP

  3. 0161

    Muse connector platform portal★

    Meta's developer portal for Muse connectors: describe a connector, submit it for functional, security and legal review plus end-to-end testing, and get listed in the Muse directory.

    muse.ai

    Site

    Connectors & MCP

  4. 0152

    Muse Connectors: 150 one-paste skills★

    An open-source collection of 150 auditable connector skills for Muse that install with one pasted prompt, declare their allowed hosts and keep credentials in the user's Muse vault.

    @bluman1

    Skill

    Connectors & MCP

More Skills

See all →
  1. 1073

    Xahau skill for Muse

    Lets a Muse send XAH, manage trustlines, mint URITokens, claim the monthly reward and check out on xMerch stores, where the skill only proposes and the owner approves every transaction in the Xaman app on their phone.

    @terramike

    Skill

    Business & commerce

  2. 1068

    musebook: shared family boards for Muses

    An open protocol plus Muse skill and Cloudflare Workers reference server that lets each family member's Muse join shared boards (groceries, trips, household lists) with per-board identities and an approval card before anything is ordered.

    @amanbthakkar

    Skill

    Errands & personal agent

  3. 1062

    xrpl-muse-skill: let your Muse trade XRP

    A terminal skill for trading any XRP Ledger token pair and minting NFTs, with a hard boundary between proposing and signing; testnet by default, and mainnet needs the Muse vault signer or a protected signer with per-transaction approval.

    @terramike

    Skill

    Business & commerce

  4. 1052

    changelly-buy Muse skill

    A Muse skill that helps people buy crypto (XRP by default) with a card through Changelly, giving CoinGecko spot estimates, prefilled buy links and plain fee disclosure without any API keys.

    @terramike

    Skill

    Business & commerce

Curator picks

  1. 1046

    Medical bills audited line by line, $4,000 saved★

    Got Muse logged in to my medical provider’s portal, he pulled the itemized bills, and questioned every line. So far he’s found several times I’d been double billed, asked for some discounts and has saved me over $4,000. If your moat is bureaucracy, you’re cooked.

    @Ryan_Holdaway

    X post

    Errands & personal agent

  2. 1013

    Shop Pay agentic checkout on every Shopify store★

    We are excited to announce we are partnering deeply with Muse to enable agentic checkout with Shop Pay on all Shopify stores, offering people an easy and delightful way to shop and check out with Muse.

    @tobi

    X post

    Business & commerce

  3. 1009

    Private e-book library app from Google Drive★

    Muse built me a private library for the e-books and articles in my Google Drive. Everything is organized by topic, and each section opens onto its own subcategorized shelves. Each book opens like a real book and is readable in-app

    @chiasmus_cap

    X post

    Apps & websites

  4. 1007

    Plumbing company run by a Muse agent★

    I still can’t believe I can run my plumbing company with an agent so easily. I send this message to my Muse agent while in bed at 6am. And it: updates my job board, texts customer, updates office manager who arrives at 8am in slack Notifies technician

    @HouseHackerJon

    X post

    Agents & automation