npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@olano/mcp-rail-sg

v0.4.1

Published

MCP server for authoritative Singapore MRT and LRT station, exit, line, and network data

Readme

@olano/mcp-rail-sg

Read-only MCP tools for Singapore MRT and LRT stations, station exits, line codes, interchanges, nearest-location lookup, and historical network counts.

Fourteen tools are offline-first and require no API key. The optional rail_nearest_stations_to_address tool uses live OneMap geocoding and requires ONEMAP_TOKEN. The package bundles normalized snapshots from official LTA and data.gov.sg sources so its core station queries are fast and deterministic.

Run

npx @olano/mcp-rail-sg

Streamable HTTP is also supported:

npx @olano/mcp-rail-sg --transport http --port 3000

Tools

  • rail_source_metadata
  • rail_network_summary
  • rail_list_stations
  • rail_search_stations
  • rail_get_station
  • rail_get_station_connections
  • rail_list_exits
  • rail_get_station_exits
  • rail_nearest_stations
  • rail_nearest_exits
  • rail_nearest_stations_to_address (requires ONEMAP_TOKEN)
  • rail_list_lines
  • rail_list_stations_by_line
  • rail_list_interchanges
  • rail_historical_station_counts

Example questions

  • “What are the MRT and LRT codes for Choa Chu Kang?”
  • “Find the five nearest rail stations to latitude 1.29027, longitude 103.851959.”
  • “Find the nearest MRT stations to 1 Fullerton Road.”
  • “Which City Hall exit is nearest to these coordinates?”
  • “List every station on the Thomson-East Coast Line.”
  • “Show all MRT/LRT interchange complexes.”
  • “How did Singapore’s published MRT and LRT station counts change from 2004 to 2017?”

Source coverage and limitations

| Source | Coverage used | What it provides | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | -------------------------------------------- | | LTA Train Station Codes and Chinese Names | Jan 2025 | Codes, names, Chinese names, line membership | | LTA Train Station Exit Point | Aug 2025 | 613 official exit coordinates | | LTA Train Lines Codes | Feb 2024 | Official line-code and direction records | | data.gov.sg Number of MRT and LRT Stations | 2004–2017 | Historical station counts |

Use rail_source_metadata for official URLs and complete caveats. In particular:

  • these are dated snapshots, not live service status;
  • the exit mirror describes data from August 2025; July 2026 is its publisher-page update, not data coverage;
  • station coordinates are averages of official exit positions, not platform centroids;
  • nearest-distance tools calculate straight-line distance, not walking routes;
  • the line-direction file predates later extensions;
  • the historical series ends in 2017 and omits 2015 and 2016.