Skip to main content
Glama
Vilnius Transport MCP Server

Vilnius Transport MCP Server

ヴィリニュス交通MCPサーバー

モデルコンテキストプロトコル(MCP)サーバー実装は、大規模言語モデル(LLM)にビリニュス公共交通データへのアクセス機能を提供します。このプロジェクトは、MCP標準を用いてリアルタイム交通データでLLM機能を拡張する方法を示します。

モデルコンテキストプロトコル(MCP)は、大規模言語モデル(LLM)が外部ツールやデータに安全にアクセスできるようにする標準です。MCPにより、LLMは以下のことが可能になります。

  • リアルタイムまたはローカルデータにアクセスする

  • 外部関数を呼び出すclaude_desktop_config.json

  • システムリソースと対話する

  • 一貫したツールインターフェースを維持する

このプロジェクトは、ビリニュスの公共交通機関データ ツールを LLM に提供し、公共交通機関の停留所やルートに関するクエリに回答できるようにする MCP サーバーを実装します。

サーバーは次の MCP ツールを公開します。

  • find_stops : 公共交通機関の停留所を名前で検索

    {
      name: string;  // Full or partial name of the stop to search for
    }
  • find_closest_stop : 指定された座標に最も近い公共交通機関の停留所を検索します

    { 
      coordinates: string;  // Format: "latitude, longitude" (e.g., "54.687157, 25.279652")
    }

MCP サーバーを Claude 開発環境に追加するには、claude_desktop_config.json ファイルに次の構成を追加します。

   {
    "mcpServers": {
      "vilnius_transport": {
        "command": "uv",
        "args": [
            "--directory",
            "path/vilnius-transport-mcp-server/src/vilnius_transport_mcp",
            "run",
            "transport.py"
        ]
      }
    }
   }

注: ローカルインストールに合わせてディレクトリ パスを調整してください。

クライアントを実行するには:

uv run client.py path/src/vilnius_transport_mcp/transport.py

Available Tools

2 tools
find_closest_stopC

Find the closest public transport stop to given coordinates

Inputs: coordinates (required).

find_stopsB

Search for public transport stops by name

Inputs: name (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: find_closest_stop locates the nearest stop based on coordinates, while find_stops searches by name. There is no overlap in functionality, making it easy for an agent to choose the right tool for each scenario.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun naming pattern (find_closest_stop, find_stops) with the same verb 'find'. The naming is predictable and readable, showing no deviations in style or convention.

    Tool Count2/5

    With only two tools, the server feels thin for a public transport domain. While the tools cover basic stop lookup, there are likely missing operations such as route planning, schedule retrieval, or real-time arrivals, which are common in transport systems. The count is too low for the apparent scope.

    Completeness2/5

    The tool surface is significantly incomplete for a transport server. It lacks core functionalities like getting routes, schedules, or vehicle positions, which are essential for comprehensive transport queries. Agents will face dead ends when trying to perform common tasks beyond stop lookup.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol server that provides real-time access to Hong Kong's KMB and Long Win Bus route information and arrival times, enabling Language Models to answer user questions about bus routes, stops, and ETAs.
      5
      4
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides real-time access to İzmir's public transportation data, including bus locations, schedules, and route information for ESHOT, İZBAN, Metro, and Tram services. It enables AI assistants to perform transit queries, calculate fares, and locate nearby stations using the Model Context Protocol.
      5 npm
      1
      ISC
    • A
      license
      A
      quality
      Not graded
      maintenance
      An MCP server exposing Greater Helsinki public transport data from Digitransit, enabling LLM hosts to answer live transit queries, plan journeys, and fetch stop departures via natural language.
      3
      9 npm
      MIT