MCPInstall
Vilnius Transport logo

Vilnius Transport

by sarunasdaujotis 1 stars sarunasdaujotis/vilnius-transport-mcp-server

Integrates with Vilnius public transport data sources to provide real-time transit information, enabling accurate responses about local transportation.

READMEmaster

Vilnius Transport MCP Server

A Model Context Protocol (MCP) server implementation that provides Vilnius public transport data access capabilities to Large Language Models (LLMs). This project demonstrates how to extend LLM capabilities with real-time transport data using the MCP standard.

The Model Context Protocol (MCP) is a standard that enables Large Language Models (LLMs) to securely access external tools and data. MCP allows LLMs to:

  • Access real-time or local data
  • Call external functions claude_desktop_config.json
  • Interact with system resources
  • Maintain consistent tool interfaces

This project implements an MCP server that provides Vilnius public transport data tools to LLMs, enabling them to answer queries about public transport stops and routes.

The server exposes the following MCP tools:

  • find_stops: Search for public transport stops by name
    {
      name: string;  // Full or partial name of the stop to search for
    }
    
  • find_closest_stop: Find the closest public transport stop to given coordinates
    { 
      coordinates: string;  // Format: "latitude, longitude" (e.g., "54.687157, 25.279652")
    }
    

To add the MCP server to your Claude development environment, add the following configuration to your claude_desktop_config.json file:

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

Note: Make sure to adjust the directory path to match your local installation.

To run the client:

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

More Location Services MCP servers

Similar servers from the same category.

Baidu Map

baidu-maps

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。关于MCP协议,详见MCP官方文档。 目前提供的MCP工具列表包含8个核心API接口和MCP协议的对接, 涵盖逆地理编码、地点检索、路线规划等。 依赖MCP Python SDK和MCP Typescript SDK开发,任意支持MCP协议的智能体助手(如Claude、Cursor以及千帆AppBuilder等)都可以快速接入。

maplocation

Google Maps

modelcontextprotocol

Location services, directions, and place details

location

mta-mcp

nkasmanoff

MCP server for querying NY transit data

DataQuery

Gaode Map MCP Server Based on Streamable HTTP

Map