Vilnius Transport MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

维尔纽斯运输 MCP 服务器

模型上下文协议 (MCP) 服务器实现,为大型语言模型 (LLM) 提供维尔纽斯公共交通数据访问功能。该项目演示了如何使用 MCP 标准扩展 LLM 的功能,使其能够处理实时交通数据。

模型上下文协议 (MCP)是一项标准,它使大型语言模型 (LLM) 能够安全地访问外部工具和数据。MCP 允许 LLM 实现以下功能:

该项目实施了一个 MCP 服务器,为 LLM 提供维尔纽斯公共交通数据工具,使他们能够回答有关公共交通站点和路线的查询。

该服务器公开以下 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

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

使大型语言模型能够通过模型上下文协议访问维尔纽斯公共交通站点和路线的实时数据。

ID: ns9bycn485