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

koleobun-mcp

v0.1.3

Published

Bun-based MCP server for the [Koleo](https://koleo.pl) Polish train timetable API.

Readme

koleobun-mcp

Bun-based MCP server for the Koleo Polish train timetable API.

It exposes the same 14 tools as the Python MCP, including stations, boards, connections, train routes, seat data, and realtime timetable.

Inspired by the original Python implementation: MBratkowski/koleo-mcp.

Requirements

  • Supported Bun: 1.3.x (tested on 1.3.11)

Quick start

Run directly from npm with bunx:

bunx koleobun-mcp

If the command starts without crashing, the MCP server is ready.

Local development

bun install
bun run start

Quality checks

bun run format
bun run lint
bun run typecheck

Test with MCP Inspector

bunx @modelcontextprotocol/inspector bunx koleobun-mcp

Then call these tools:

  1. tool_search_stations with query = "Krakow"
  2. tool_get_departures with station = "Krakow Glowny"
  3. tool_search_connections with start = "Krakow", end = "Warszawa", length = 3
  4. tool_get_brands
  5. tool_get_realtime_timetable with any train_id

Claude Desktop config

Add this to claude_desktop_config.json:

{
  "mcpServers": {
    "koleo": {
      "command": "bunx",
      "args": ["koleobun-mcp"]
    }
  }
}

Authentication (optional, needed for realtime)

Create ~/.config/koleo-mcp/config.json:

{
  "email": "[email protected]",
  "password": "yourpassword"
}

You can override the config path with KOLEO_MCP_CONFIG.

Available tools

| Tool | Description | | ----------------------------- | ----------------------------------------------- | | tool_search_stations | Search stations by name | | tool_get_station_info | Station address, opening hours, facilities | | tool_get_departures | Departures from a station | | tool_get_arrivals | Arrivals at a station | | tool_get_all_trains | All trains (departures + arrivals) at a station | | tool_search_connections | Find connections A->B | | tool_get_train_route | Train route by brand + number | | tool_get_train_by_id | Train route by Koleo train ID | | tool_get_train_calendar | Operating dates for a train | | tool_get_realtime_timetable | Live timetable (auth required) | | tool_get_seat_stats | Seat occupancy stats on a route | | tool_get_seat_availability | Raw seat map by connection ID | | tool_get_brands | List train brands | | tool_get_carriers | List carriers |