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.pyAvailable Tools
2 toolsfind_closest_stopC
Find the closest public transport stop to given coordinates
| Name | Required | Description | Default |
|---|---|---|---|
| coordinates | Yes | Coordinates as 'latitude, longitude' (e.g., '54.687157, 25.279652') |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions 'find' but doesn't clarify if this is a read-only operation, how results are returned (e.g., distance, stop details), potential errors (e.g., invalid coordinates), or performance aspects like rate limits. The description lacks critical behavioral traits needed for safe and effective invocation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence that directly states the tool's function without unnecessary words or fluff. It is front-loaded with the core action and resource, making it efficient and easy to parse, which is ideal for conciseness in tool descriptions.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of annotations and output schema, the description is incomplete for a tool that likely returns complex data (e.g., stop names, distances). It doesn't explain what the output includes, how 'closest' is determined (e.g., walking distance, straight-line), or error handling. For a tool with one parameter but potentially rich behavior, more context is needed to guide an agent effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, with the 'coordinates' parameter well-documented in the schema (e.g., format 'latitude, longitude'). The description adds no additional parameter semantics beyond what the schema provides, such as coordinate range limits or examples of valid inputs. Given the high schema coverage, a baseline score of 3 is appropriate as the schema handles the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'find' and the resource 'closest public transport stop' with the condition 'to given coordinates', making the purpose specific and actionable. However, it doesn't explicitly differentiate from the sibling tool 'find_stops', which might handle multiple stops or different criteria, leaving some ambiguity in sibling differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'find_stops', nor does it mention any prerequisites, exclusions, or contextual factors (e.g., transport modes, time of day). It only states the basic function without usage context, which limits its helpfulness for an agent selecting between tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_stopsB
Search for public transport stops by name
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Full or partial name of the stop to search for |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. The description states it's a search operation, implying it's likely read-only and non-destructive, but it doesn't confirm this or provide details on permissions, rate limits, response format, or error handling. For a tool with zero annotation coverage, this leaves significant gaps in understanding its behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence: 'Search for public transport stops by name'. It's front-loaded with the core purpose, has zero wasted words, and is appropriately sized for a simple search tool. Every part of the sentence earns its place by specifying the action, target, and method.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (1 parameter, no output schema, no annotations), the description is minimally complete. It states what the tool does but lacks details on behavioral traits, usage context, and output expectations. With no output schema, the description doesn't explain return values, which is a gap. However, for a simple search tool, it provides enough to understand the basic function.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, with the parameter 'name' fully documented in the schema as 'Full or partial name of the stop to search for'. The description adds no additional parameter information beyond what the schema provides, such as examples or edge cases. According to the rules, with high schema coverage (>80%), the baseline score is 3 when no param info is added in the description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Search for public transport stops by name' specifies the verb (search), resource (public transport stops), and mechanism (by name). It's not tautological and distinguishes itself from the sibling tool 'find_closest_stop' by focusing on name-based search rather than proximity. However, it doesn't explicitly differentiate from potential other search methods beyond the sibling.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention the sibling tool 'find_closest_stop' or any other potential tools, nor does it specify contexts where name-based search is preferred over proximity-based search. Usage is implied by the description but not explicitly stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
2 tool updates
v1.0.0- First observed
find_closest_stop - First observed
find_stops
TDQS
Scored across 2 tools
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.
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.
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.
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
Related MCP Connectors
The Ferryhopper MCP server is a connector for LLMs and AI Agents in maritime travel that exposes ferry routes, schedules, and booking options. It enables AI assistants to search ports and connections across 33 countries and 190+ ferry operators, provide real-time ferry itineraries with indicative prices, and assist users with planning island-hopping or multi-leg journeys by processing natural language queries about ferry times, passenger counts, and travel durations.
A Model Context Protocol server for Wix AI tools
The official Model Context Protocol server for Ambee. It gives any MCP-compatible AI assistant — Claude, ChatGPT, Cursor, VS Code, Ollama, and more direct access to live air quality, pollen, and weather data. To get started, including information on signing up and obtaining your Ambee key, check out the Ambee documentation on https://docs.ambeedata.com
Public Data Ukraine Mcp connects AI agents to real public APIs via MCP. Tools include
Related MCP Servers
- AlicenseAqualityDmaintenanceA 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.54Apache 2.0
- AlicenseNot gradedqualityDmaintenanceProvides 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.6 npm1ISC
- AlicenseAqualityBmaintenanceExposes Victoria's public transport (PTV) GTFS timetable data as MCP tools, allowing LLMs to answer natural-language questions about routes, stops, and departure times.4MIT
- AlicenseAqualityBmaintenanceAn 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.35 npmMIT