Skip to main content

This is Vilnius transport MCP server for claude desktop proof of concept

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mseep_vilnius_transport_mcp_server-0.1.0.tar.gz (3.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file mseep_vilnius_transport_mcp_server-0.1.0.tar.gz.

File metadata

File hashes

Hashes for mseep_vilnius_transport_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2e743a7c98c2bb3723f21c2c4327e480c62eabcf06bff3d311e0947dc4484f5c
MD5 64db5c6335c73a80583933c649a228fc
BLAKE2b-256 8b5346005aa39ddccf7621df4c8800c5ba1c48dc9cdf2f777858400c078462c2

See more details on using hashes here.

File details

Details for the file mseep_vilnius_transport_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_vilnius_transport_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 374d1be4b9080245f1c3f5d850c8221e82a34e7a41bcbca2a7b84796cb20b9c3
MD5 40cd676ab8b50fd81b0f6c09ba572b1a
BLAKE2b-256 66a4ad72150c859eefbf7a7241d6757a00ee767e93fb03bd24cf8cd90a5e0883

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page