home / mcp / izmir ulaşım mcp server
Provides live İzmir transit data and actions to query buses, lines, stops, schedules, and more.
Configuration
View docs{
"mcpServers": {
"ogulcanakca-izmir-ulasim-mcp": {
"command": "npx",
"args": [
"-y",
"izmir-ulasim-mcp"
]
}
}
}This MCP server provides live İzmir public transit data to AI assistants, enabling natural language queries about real-time bus positions, routes, stops, and related travel information. It connects to the city’s open data sources and exposes a set of tools you can use through compatible MCP clients to ask questions and receive actionable results.
You interact with the İzmir Ulaşım MCP Server through an MCP client such as Claude Desktop or Cursor. Use the available tools to query real-time transit data, filter results by line or stop, search for stops or stations, and retrieve schedules. Each tool is designed to answer a concrete question, like which buses are approaching a given stop, where all buses on a line currently are, or when a specific line will next reach a particular stop.
To perform common tasks, call the corresponding tools through your MCP client. For example, you can ask the assistant to pull the approaching buses for a stop, find all lines that serve a stop name, or fetch IZBAN and metro schedules. The tools are meant to integrate with natural language prompts, returning structured information you can act on.
Prerequisites: You need Python 3.11 or newer and a working runtime for the following dependencies.
Install Python packages and run required setup steps as follows. Ensure you run these commands in a terminal with appropriate permissions.
Clone or download the MCP server package and navigate into its directory.
Install dependencies and set up the environment by running the following commands in order.
uv syncpip install -r requirements.txtConfigure your MCP client to connect to the İzmir Ulaşım MCP Server using one of the provided runtime options. You can run the server locally via Python or use NPX to run a packaged MCP client.
{
"mcpServers": {
"izmir_ulasim": {
"command": "python",
"args": ["path\\to\\izmir_ulasim_main.py"]
}
}
}{
"mcpServers": {
"izmir_ulasim_npm": {
"command": "npx",
"args": ["-y", "izmir-ulasim-mcp"]
}
}
}Returns information about all buses that are currently approaching a specified bus stop by stop_id.
Retrieves the real-time location data for all buses on a given line identified by line_id.
Fetches buses that are approaching a specific stop on a particular line (line_id, stop_id).
Searches for bus stops whose names contain the provided text fragment.
Searches IZBAN stations by a text match in the station name.
Provides IZBAN departure times between two specified stations.
Calculates IZBAN journey cost using the Gittiğin Kadar Öde system given start, end, and transfers.
Finds bus lines whose names or routes match the given text fragment.
Retrieves the timetable for a specific bus line.
Returns the route coordinates (latitude/longitude) for a given bus line.
Fetches detailed information about lines, including operation hours for those matching the given text.
Finds the nearest bus stops or IZBAN stations to a given latitude/longitude and distance type.
Obtains the user’s precise geographic location from the browser.
Lists all stations of the İzmir metro network.
Retrieves all scheduled metro times.
Calculates the distance in meters between two metro stations.
Lists all tram lines for İzmir tram system.
Gets all stations for a specified tram line.
Fetches tram departures for a given tram line.
Calculates distance in meters between two Karşıyaka tram stations.
Calculates distance between two Konak tram stations on the land side.
Calculates distance between two Konak tram stations on the sea side.
Calculates distance between two Çiğli tram stations.