Skip to main content
Glama
virail-mcp

virail-mcp

Official
by viraildev

virail-mcp

An MCP server for Virail transport search — trains, buses, flights, ferries, and carpooling across Europe and beyond. Gives any MCP-compatible AI agent (Claude Desktop, Cursor, Claude.ai, etc.) the ability to search real, live travel connections with real prices, schedules, and booking links.

Hosted endpoint

Virail runs this server for you at:

https://virail.ai/mcp

No install, no API key — just point your MCP client at that URL. For clients that support remote MCP servers via a config file, the shape typically looks like:

{
  "mcpServers": {
    "virail": {
      "url": "https://virail.ai/mcp"
    }
  }
}

The exact config key/format for adding a remote MCP server varies by client and changes over time — check your client's own docs for "remote MCP server" or "custom connector" setup if the snippet above doesn't match what it expects. Claude.ai / Claude Desktop, for instance, let you add one directly from Settings without editing a config file at all.

This HTTP endpoint is the only supported way to use virail-mcp right now — there's no local/CLI install.

Step-by-step setup for Claude.ai, Claude Desktop, Cursor, and other clients: virail.ai/mcp-setup.

Related MCP server: swisstrip-mcp

Tools

search_transport

Search for connections between two places on a date.

Argument

Type

Required

Description

departure

string

yes

Origin city or station name

arrival

string

yes

Destination city or station name

date

string

yes

Travel date, YYYY-MM-DD

adults

number

no

Number of adult passengers (default 1)

tld

string

no

Virail market, e.g. com, it, fr, de, es (default com)

locale

string

no

Response language, e.g. en, it, fr (default en)

currency

string

no

Price currency, e.g. EUR, USD (default EUR)

Returns a list of trip options, each with departure/arrival times and stations, duration, number of transfers, total price, carrier(s), transport mode(s), and a booking link.

Development

npm install
npm run build   # compile to dist/
npm test        # run unit tests

License

MIT

Available Tools

1 tool
search_transportSearch Virail transportA

Search real train, bus, flight, ferry, and carpool connections between two places on a date via Virail. Returns real prices, schedules, and booking links — never invent this data yourself.

Inputs: date (required), arrival (required), departure (required), tld, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 1 tool

    Disambiguation5/5

    只有一个工具,因此不存在工具之间混淆的可能性。该工具具有清晰、唯一的用途,即搜索交通连接。

    Naming Consistency5/5

    该工具遵循清晰的动词_名词模式,易于阅读和预测。由于只有一个工具,没有冲突或混合约定。

    Tool Count3/5

    单个工具令人感觉单薄,对于交通搜索服务器而言尤其如此,该服务器可能还需要位置查找或行程详情等辅助工具。然而,该工具本身作为一个综合搜索入口,属于边缘情况。

    Completeness4/5

    该工具满足了其声明的目的:提供连接、价格、时刻表和预订链接。缺少诸如获取可用路线或筛选运输方式的辅助操作,但这些可能超出了单一搜索工具的范围。

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides real-time Belgian rail (SNCB/NMBS) data via the iRail API, enabling AI agents to query train schedules and live information.
      78 npm
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Connects AI assistants to Swiss Federal Railways (SBB/CFF/FFS) data: train schedules, station search, ticket prices, and direct ticket purchase links.
      6
      64 npm
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Provides real travel search for AI assistants, enabling flight, hotel, car rental, and ground transportation searches through a single MCP tool, with no API keys required.
      95
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to access Swiss public transport data including journey planning, real-time departures, disruptions, occupancy forecasts, ticket prices, and train formations via a standardized MCP interface.
      11
      67 PyPI
      7
      MIT