Spring Boot app integrating GTFS Realtime & Static data for Kraków transit · REST API · MCP endpoint · SQLite · Protobuf
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"gtfs-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Nasza aplikacja udostępnia MCP po HTTP, dlatego skorzystaliśmy z MCP Inspector.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in developer-tools / data
Query and manage PostgreSQL databases directly from AI assistants
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Manage Supabase projects — databases, auth, storage, and edge functions
MCP Security Weekly
Get CVE alerts and security updates for Gtfs Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Nasza aplikacja udostępnia MCP po HTTP, dlatego skorzystaliśmy z MCP Inspector.
Po włączeniu aplikacji należy w terminalu, w folderze projektu, wykonać:
npx -y @modelcontextprotocol/inspector
owtorzy się w przeglądarce mcp inspector.
Należy uzupełnić:
Następnie należy w Tools wybrać "List tools"
Aplikacja Spring Boot integrująca dane GTFS Realtime (położenie pojazdów) oraz GTFS Static (rozkłady jazdy) komunikacji miejskiej w Krakowie. Udostępnia API REST do pobierania losowych odjazdów oraz wyszukiwania najszybszych połączeń bezpośrednich.
Aplikacja realizuje dwa główne zadania:
TripUpdates.pb (Protobuf) z API ZTP Kraków.@Cacheable, @CachePut) dla wydajności i odciążenia serwera ZTP.GTFS_KRK.zip (dane statyczne: przystanki, trasy, kalendarz, czasy przejazdów).calendar_dates.txt).graph LR
%% Aktorzy i Systemy Zewnętrzne
Client((Użytkownik))
AI_Client((Klient AI / MCP))
ZTP_Real[("ZTP API<br/>(Realtime PB)")]
ZTP_Static[("ZTP API<br/>(Static ZIP)")]
DB[("Baza SQLite<br/>(trams.db)")]
%% Aplikacja
subgraph "Aplikacja: trams_web"
style Client fill:#1e88e5,color:white
style AI_Client fill:#9c27b0,color:white
style ZTP_Real fill:#546e7a,color:white
style ZTP_Static fill:#546e7a,color:white
style DB fill:#546e7a,color:white
%% 1. Warstwa Prezentacji
subgraph "Warstwa Prezentacji"
DepController["DepartureController<br/>(/departure)"]
ConnController["DirectConnectionController<br/>(/connections)"]
McpTools["TramsMcpTools<br/>(MCP Server)"]
end
%% 2. Warstwa Biznesowa
subgraph "Warstwa Biznesowa"
RealService["GtfsRealtimeService"]
ConnService["DirectConnectionService"]
NextService["NextDepartureService"]
CalendarService["GtfsCalendarService"]
StopService["StopQueryService"]
subgraph "Logika wyboru"
PickerInt("«interface»<br/>DeparturePicker")
PickerImpl["RandomDeparturePicker"]
end
end
%% 3. Warstwa Dostępu do Danych
subgraph "Warstwa Danych"
GtfsClient["GtfsClient<br/>(Cache Realtime)"]
StaticLoader["GtfsStaticLoader"]
ImportService["GtfsStaticImportService"]
Repositories["JPA Repositories"]
end
%% Relacje
Client --> ConnController
ConnController --> ConnService
Client --> DepController
DepController --> RealService
AI_Client --> McpTools
McpTools --> ConnService
McpTools --> NextService
McpTools --> RealService
McpTools --> StopService
ConnService --> Repositories
ConnService --> CalendarService
ConnService --> RealService
NextService --> Repositories
NextService --> CalendarService
NextService --> RealService
StopService --> Repositories
RealService --> GtfsClient
RealService --> PickerInt
PickerInt -.-> PickerImpl
Repositories -.-> DB
GtfsClient -.-> ZTP_Real
StaticLoader
... [View full README on GitHub](https://github.com/mateunow/gtfs-mcp-server#readme)