Bus Nearby MCP(以色列交通MCP) logo

Bus Nearby MCP(以色列交通MCP)

Community
Shmuelmb

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

PublisherShmuelmb
Repositorybusnearby-mcp
LanguageTypeScript
Forks
2
Stars
15
Available tools
0
Transport typestdio
Categories
Links
  • Connect tools to AI workflows

    Bus Nearby MCP(以色列交通MCP) exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    15 stars and 2 forks from the linked repository.

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

https://github.com/user-attachments/assets/147ee388-e9c0-4f97-82e7-71d4d6534de0

  • 🚍 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:

    json
    {
      "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:

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

    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:

    bash
    npm install
  2. Build the project:

    bash
    npm run build
  3. Test the MCP server:

    bash
    npm start
  4. Add to your Cursor MCP configuration:

    json
    {
      "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:

json
{
  "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

bash
# 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

bash
npm install
npm run dev

Build and Test

bash
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!

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "shmuelmb-busnearby-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "busnearby-mcp"
      ]
    }
  }
}

Use Bus Nearby MCP(以色列交通MCP) MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Bus Nearby MCP(以色列交通MCP) is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Bus Nearby MCP(以色列交通MCP) as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Bus Nearby MCP(以色列交通MCP) MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "shmuelmb-busnearby-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "busnearby-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Bus Nearby MCP(以色列交通MCP) MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Bus Nearby MCP(以色列交通MCP) MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Bus Nearby MCP(以色列交通MCP) to help me with this task?
Bus Nearby MCP(以色列交通MCP)
Sure. I read it.
Here is what I found using Bus Nearby MCP(以色列交通MCP).

Frequently asked questions

What is the Bus Nearby MCP(以色列交通MCP) MCP server used for?

Bus Nearby MCP(以色列交通MCP) is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Bus Nearby MCP(以色列交通MCP) MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Bus Nearby MCP(以色列交通MCP) with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Bus Nearby MCP(以色列交通MCP) MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Bus Nearby MCP(以色列交通MCP) connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Bus Nearby MCP(以色列交通MCP) MCP to TypingMind?

Bus Nearby MCP(以色列交通MCP) runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Bus Nearby MCP(以色列交通MCP) MCP provide in TypingMind?

Bus Nearby MCP(以色列交通MCP) exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Bus Nearby MCP(以色列交通MCP) MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Bus Nearby MCP(以色列交通MCP) requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇