# Italian Bus and Rail Search MCP Server

> Italian Bus and Rail Search MCP Server is an open-source MCP server for maps and travel. Search Italian coach and train journeys, prices and live status from one MCP server. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted, API
- **Repository:** https://github.com/alexxanddr/italian-bus-search
- **MCP Registry name:** io.github.Alexxanddr/italian-bus-search
- **Categories:** [maps and travel](https://ai-powered.com/categories/maps-and-travel)
- **Listing updated:** 2026-11-23

## About

The service wraps several Italian booking systems behind a single response model, so an assistant can compare journeys without learning each provider's station catalogue or request format. It is described as unofficial and read-only, and customer login, fare selection, seat reservation and payment are excluded.

Bus coverage is five operators: Itabus, Autoservizi Salemi, Autolinee Federico, MarinoBus and FlixBus. Rail coverage is Trenitalia and Italo, with stations, journeys, availability and nullable prices queried live. If one provider fails, its error is returned next to the other providers' results. Official links let the user continue the booking on the provider's own site.

It runs over local stdio or as a stateless Streamable HTTP endpoint at `/mcp`, and the same core also serves an HTTP API and an Italian-language web frontend. Requests are limited to 60 per minute per client, and journey results can be paged. The README asks users to check provider terms before enabling a live adapter; it needs Node.js 22.18 or newer.

## Features

- **Five bus operators:** Searches Itabus, Salemi, Federico, MarinoBus and FlixBus with one response format.
- **Live rail search:** Queries Trenitalia and Italo for stations, journeys, availability and prices.
- **Partial results:** Returns provider-scoped errors alongside successful results when one operator fails.
- **Journey pagination:** Offers opt-in paging over immutable snapshots held for five minutes.
- **Caching and limits:** Caches locations for an hour and journeys for 60 seconds, with a 60 requests per minute limit.
- **Booking hand-off links:** Gives official links for completing a search on the provider's site.

## Good for

- Compare coach and train options between two Italian cities
- Look up live departures and arrivals at a station
- Check train status from an assistant
- Find which operators serve a route before booking elsewhere

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add italian-bus-search -- npx -y italian-bus-search
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "italian-bus-search": {
      "command": "npx",
      "args": [
        "-y",
        "italian-bus-search"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "italian-bus-search": {
      "command": "npx",
      "args": [
        "-y",
        "italian-bus-search"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "italian-bus-search": {
      "command": "npx",
      "args": [
        "-y",
        "italian-bus-search"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "italian-bus-search": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "italian-bus-search"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add italian-bus-search -- npx -y italian-bus-search
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.italian-bus-search]
command = "npx"
args = ["-y", "italian-bus-search"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "italian-bus-search": {
      "command": "npx",
      "args": [
        "-y",
        "italian-bus-search"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user italian-bus-search npx -- -y italian-bus-search

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "italian-bus-search": {
      "command": "npx",
      "args": [
        "-y",
        "italian-bus-search"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "italian-bus-search": {
      "command": "npx",
      "args": [
        "-y",
        "italian-bus-search"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "italian-bus-search": {
      "command": "npx",
      "args": [
        "-y",
        "italian-bus-search"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "italian-bus-search": {
      "command": "npx",
      "args": [
        "-y",
        "italian-bus-search"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "italian-bus-search": {
      "command": "npx",
      "args": [
        "-y",
        "italian-bus-search"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "italian-bus-search": {
      "command": "npx",
      "args": [
        "-y",
        "italian-bus-search"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "italian-bus-search": {
      "command": "npx",
      "args": [
        "-y",
        "italian-bus-search"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "italian-bus-search": {
      "command": "npx",
      "args": [
        "-y",
        "italian-bus-search"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, all 8 tools only read data. From the server's own tool labels and tool names; not verified by us.

- `list_providers` (name suggests: reads): Lists bus providers
- `search_locations` (name suggests: reads): Searches bus locations
- `search_journeys` (name suggests: reads): Searches bus journeys
- `list_train_providers` (name suggests: reads): Lists train operators
- `search_train_locations` (name suggests: reads): Searches train stations
- `search_train_journeys` (name suggests: reads): Searches live train journeys
- `get_train_status` (name suggests: reads): Gets live train status
- `get_station_board` (name suggests: reads): Gets station arrivals and departures

## FAQ

### Can Italian Bus and Rail Search MCP Server book or pay for tickets?

No. Login, fare selection, seat reservation and payment are excluded; it links to official provider sites.

### Is Italian Bus and Rail Search MCP Server affiliated with the transport operators?

No. The README says it is unofficial and not endorsed by Itabus, Salemi, Federico, MarinoBus or FlixBus.

### How do I run Italian Bus and Rail Search MCP Server?

Run the published package with npx over stdio, or build the repository and start the HTTP server, which also serves /mcp. Node.js 22.18 or newer is required.

### Which MCP tools exist?

Bus tools for providers, locations and journeys, and rail tools for providers, stations, journeys, train status and station boards.

### Is Italian Bus and Rail Search MCP Server free?

Yes. Italian Bus and Rail Search MCP Server is open source, so you can use and self-host it for free.

### How do I add Italian Bus and Rail Search MCP Server to Claude Code?

Run this command in your terminal: claude mcp add italian-bus-search -- npx -y italian-bus-search

### What are the best alternatives to Italian Bus and Rail Search MCP Server?

The closest alternatives to Italian Bus and Rail Search MCP Server are Atli, CAD2GIS, Mighty Travels historical deals, DACHmap Geo & Routing and City Contacts.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Atli](https://ai-powered.com/mcp/atli): Atli is a free MCP server for maps and travel.
- [CAD2GIS](https://ai-powered.com/mcp/cad2gis): CAD2GIS is an open-source MCP server for engineering simulation.
- [Mighty Travels historical deals](https://ai-powered.com/mcp/mighty-travels-historical-deals): Mighty Travels historical deals is a free MCP server for maps and travel.
- [DACHmap Geo & Routing](https://ai-powered.com/mcp/dachmap-geo-and-routing): DACHmap Geo & Routing is an MCP server for maps and travel.
- [City Contacts](https://ai-powered.com/mcp/city-contacts): City Contacts is a freemium MCP server for maps and travel.
- [Parking MCP](https://ai-powered.com/mcp/parking-mcp): Parking MCP is an MCP server for maps and travel.
- [CTC Stays](https://ai-powered.com/mcp/ctc-stays): CTC Stays is a free MCP server for maps and travel.
- [Keyset booking pages](https://ai-powered.com/mcp/keyset-booking-pages): Keyset booking pages is a free MCP server for maps and travel.

---
Source: https://ai-powered.com/mcp/italian-bus-and-rail-search-mcp-server
