ClaudeCodeMod

All shelves / MCP servers

Bus Nearby Mcp (israeli Transport Mcp).

Shmuelmb/busnearby-mcp Β· 15 stars Β· TypeScript

MCP server A Model Context Protocol (MCP) server that provides access to the Israeli transport api.

Install

The repo has no one-line install. Follow its README.

Open the repo

Files

README.md

Bus Nearby MCP (Israeli transport MCP).

A Model Context Protocol (MCP) server that provides access to the Israeli transport api.
This is the Unofficial MCP of Bus Nearby API, You can check this API here

Features

busnearby-demo.mp4
  • 🚍 Geocoding: Convert location queries to geographical coordinates
  • πŸ—ΊοΈ Directions: Get transit directions between locations
  • 🌐 Multi-language: Support for Hebrew and English
  • πŸ”Œ MCP Protocol: Standard MCP server implementation
  • πŸ“¦ Docker Support: Easy deployment with Docker

Quick Start with Docker + Cursor

Prerequisites

Setup Instructions

  1. Setup the MCP server:

    {
      "mcpServers": {
        "busnearby-docker": {
          "command": "docker",
          "args": ["run", "--rm", "-i", "shmuelc/busnearby-mcp:latest"]
        }
      }
    }

Connect locally with Docker

  1. Clone this repo

  2. Navigate to repo foler

  3. Build and setup the MCP server:

    docker build -t busnearby-mcp .
  4. Add this to mcp.json

    {
      "mcpServers": {
        "busnearby": {
          "command": "docker",
          "args": [
            "run",
            "--rm",
            "-i",
            "--name",
            "busnearby-mcp-cursor",
            "busnearby-mcp"
          ],
          "env": {}
        }
      }
    }

Connect locally without Docker

Prerequisites

  • Node.js 18+ installed
  • npm or yarn
  • Cursor IDE

Setup Instructions

  1. Install dependencies:

    npm install
  2. Build the project:

    npm run build
  3. Test the MCP server:

    npm start
  4. Add to your Cursor MCP configuration:

    {
      "mcpServers": {
        "busnearby": {
          "command": "node",
          "args": ["/Users/shmuel/Desktop/personal/busnearby-mcp/dist/main.js"],
          "env": {}
        }
      }
    }

    Important: Replace the path with your actual project path.

  5. Restart Cursor to load the new MCP server

Available Tools

geocode

Convert location queries to coordinates.

Parameters:

  • locale: "he" or "en" (Hebrew or English)
  • query: Location string (e.g., "Χͺל אביב" or "Tel Aviv")

Example:

{
  "locale": "he",
  "query": "Χͺל אביב"
}

directions

Get transit directions between locations.

Parameters:

  • fromPlace: Starting location ("address::lat,lng")
  • toPlace: Destination ("address::lat,lng")
  • locale: "he" or "en" (default: "he")
  • arriveBy: Optimize for arrival time (default: false)
  • wheelchair: Wheelchair accessible (default: false)
  • mode: Transport modes (default: "WALK,TRANSIT")
  • numItineraries: Number of routes (default: 3)
  • date: Trip date (YYYY-MM-DD, optional)
  • time: Trip time (HH:MM, optional)

Docker Commands

# Build the image
docker build -t busnearby-mcp .

# Run with docker-compose
docker-compose up -d

# Run interactively for testing
docker run --rm -i busnearby-mcp

# Test MCP protocol
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{"tools":{}},"clientInfo":{"name":"test","version":"1.0.0"}}}' | docker run --rm -i busnearby-mcp

Development

Local Development

npm install
npm run dev

Build and Test

npm run build
npm start
npm run test:e2e

Troubleshooting

Docker Issues

  • Ensure Docker is running
  • Try rebuilding: docker build --no-cache -t busnearby-mcp .
  • Check logs: docker logs busnearby-mcp

Cursor Connection Issues

  • Restart Cursor after configuration changes
  • Check MCP configuration path is correct
  • Verify Docker image exists: docker images | grep busnearby-mcp

MCP Protocol Issues

  • Test server directly: echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{"tools":{}},"clientInfo":{"name":"test","version":"1.0.0"}}}' | docker run --rm -i busnearby-mcp
  • Check for JSON-RPC format in responses

API Reference

This MCP server interfaces with the Bus Nearby API to provide:

  • Location geocoding in multiple languages
  • Multi-modal transit routing
  • Real-time schedule information
  • Accessibility features

All responses follow standard MCP protocol formatting with proper error handling.

Contributing

Feel free to:

  • πŸ› Report bugs or issues
  • πŸ’‘ Suggest new features or improvements
  • πŸ“– Improve documentation
  • πŸ”§ Submit pull requests

Getting Started:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

All contributions are welcome and appreciated!

Facts

Kind
MCP server
Repo
Shmuelmb/busnearby-mcp
Group
Uncategorized
Stars
15
Language
TypeScript
Last push
2025-08-12
Forks
2

More on this shelf

  1. 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
  2. 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
  3. 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
  4. 4Scrapling MCP Serverd4vinci/scraplingπŸ•·οΈ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
  5. 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
  6. 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k